ConnectionsZone 클래스

정의

사용자가 WebPartZoneBase 영역에 있는 기타 서버 컨트롤과 WebPart 사이에 연결을 형성하는 데 사용할 수 있는 UI(사용자 인터페이스)를 제공합니다.

public ref class ConnectionsZone : System::Web::UI::WebControls::WebParts::ToolZone
public class ConnectionsZone : System.Web.UI.WebControls.WebParts.ToolZone
type ConnectionsZone = class
    inherit ToolZone
Public Class ConnectionsZone
Inherits ToolZone
상속

예제

다음 코드 예제에서는 사용 하는 ConnectionsZone 방법에 설명 합니다 웹 파트 페이지에서 컨트롤입니다. 이 예제에는 네 부분으로 구성합니다.

  • 웹 페이지에서 표시 모드를 전환할 수 있는 사용자 컨트롤입니다.

  • 우편 번호 인터페이스에 대한 코드와 연결에 대한 공급자 및 소비자 역할을 하는 두 개의 WebPart 컨트롤이 포함된 소스 파일입니다.

  • 모든 컨트롤을 호스트하고, 요소를 선언 <asp:connectionszone> 하는 방법을 보여 주는 웹 페이지이며, 연결 영역에서 선언적 및 프로그래밍 방식으로 여러 속성을 설정합니다.

  • 예제가 브라우저에서 작동하는 방식에 대한 설명입니다.

이 코드 예제의 첫 번째 부분은 사용자가 웹 페이지에서 표시 모드를 전환할 수 있도록 하는 사용자 컨트롤입니다. 표시 모드 및 이 컨트롤의 소스 코드에 대한 설명에 대한 자세한 내용은 연습: 웹 파트 페이지에서 디스플레이 모드 변경을 참조하세요.

<%@ control language="C#" classname="DisplayModeMenuCS"%>
<script runat="server">
  
 // Use a field to reference the current WebPartManager.
  WebPartManager _manager;

  void Page_Init(object sender, EventArgs e)
  {
    Page.InitComplete += new EventHandler(InitComplete);
  }  

  void InitComplete(object sender, System.EventArgs e)
  {
    _manager = WebPartManager.GetCurrentWebPartManager(Page);

    String browseModeName = WebPartManager.BrowseDisplayMode.Name;

    // Fill the dropdown with the names of supported display modes.
    foreach (WebPartDisplayMode mode in _manager.SupportedDisplayModes)
    {
      String modeName = mode.Name;
      // Make sure a mode is enabled before adding it.
      if (mode.IsEnabled(_manager))
      {
        ListItem item = new ListItem(modeName, modeName);
        DisplayModeDropdown.Items.Add(item);
      }
    }

    // If shared scope is allowed for this user, display the scope-switching
    // UI and select the appropriate radio button for the current user scope.
    if (_manager.Personalization.CanEnterSharedScope)
    {
      Panel2.Visible = true;
      if (_manager.Personalization.Scope == PersonalizationScope.User)
        RadioButton1.Checked = true;
      else
        RadioButton2.Checked = true;
    }
    
  }
 
  // Change the page to the selected display mode.
  void DisplayModeDropdown_SelectedIndexChanged(object sender, EventArgs e)
  {
    String selectedMode = DisplayModeDropdown.SelectedValue;

    WebPartDisplayMode mode = _manager.SupportedDisplayModes[selectedMode];
    if (mode != null)
      _manager.DisplayMode = mode;
  }

  // Set the selected item equal to the current display mode.
  void Page_PreRender(object sender, EventArgs e)
  {
    ListItemCollection items = DisplayModeDropdown.Items;
    int selectedIndex = 
      items.IndexOf(items.FindByText(_manager.DisplayMode.Name));
    DisplayModeDropdown.SelectedIndex = selectedIndex;
  }

  // Reset all of a user's personalization data for the page.
  protected void LinkButton1_Click(object sender, EventArgs e)
  {
    _manager.Personalization.ResetPersonalizationState();
  }

  // If not in User personalization scope, toggle into it.
  protected void RadioButton1_CheckedChanged(object sender, EventArgs e)
  {
    if (_manager.Personalization.Scope == PersonalizationScope.Shared)
      _manager.Personalization.ToggleScope();
  }

  // If not in Shared scope, and if user is allowed, toggle the scope.
  protected void RadioButton2_CheckedChanged(object sender, EventArgs e)
  {
    if (_manager.Personalization.CanEnterSharedScope && 
        _manager.Personalization.Scope == PersonalizationScope.User)
      _manager.Personalization.ToggleScope();
  }
</script>
<div>
  <asp:Panel ID="Panel1" runat="server" 
    Borderwidth="1" 
    Width="230" 
    BackColor="lightgray"
    Font-Names="Verdana, Arial, Sans Serif" >
    <asp:Label ID="Label1" runat="server" 
      Text=" Display Mode" 
      Font-Bold="true"
      Font-Size="8"
      Width="120" 
      AssociatedControlID="DisplayModeDropdown"/>
    <asp:DropDownList ID="DisplayModeDropdown" runat="server"  
      AutoPostBack="true" 
      Width="120"
      OnSelectedIndexChanged="DisplayModeDropdown_SelectedIndexChanged" />
    <asp:LinkButton ID="LinkButton1" runat="server"
      Text="Reset User State" 
      ToolTip="Reset the current user's personalization data for the page."
      Font-Size="8" 
      OnClick="LinkButton1_Click" />
    <asp:Panel ID="Panel2" runat="server" 
      GroupingText="Personalization Scope"
      Font-Bold="true"
      Font-Size="8" 
      Visible="false" >
      <asp:RadioButton ID="RadioButton1" runat="server" 
        Text="User" 
        AutoPostBack="true"
        GroupName="Scope" OnCheckedChanged="RadioButton1_CheckedChanged" />
      <asp:RadioButton ID="RadioButton2" runat="server" 
        Text="Shared" 
        AutoPostBack="true"
        GroupName="Scope" 
        OnCheckedChanged="RadioButton2_CheckedChanged" />
    </asp:Panel>
  </asp:Panel>
</div>
<%@ control language="vb" classname="DisplayModeMenuVB"%>
<script runat="server">
  ' Use a field to reference the current WebPartManager.
  Dim _manager As WebPartManager

  Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs)
    AddHandler Page.InitComplete, AddressOf InitComplete
  End Sub

  Sub InitComplete(ByVal sender As Object, ByVal e As System.EventArgs)
    _manager = WebPartManager.GetCurrentWebPartManager(Page)
      
    Dim browseModeName As String = WebPartManager.BrowseDisplayMode.Name
      
    ' Fill the dropdown with the names of supported display modes.
    Dim mode As WebPartDisplayMode
    For Each mode In _manager.SupportedDisplayModes
      Dim modeName As String = mode.Name
      ' Make sure a mode is enabled before adding it.
      If mode.IsEnabled(_manager) Then
        Dim item As New ListItem(modeName, modeName)
        DisplayModeDropdown.Items.Add(item)
      End If
    Next mode
      
    ' If shared scope is allowed for this user, display the scope-switching
    ' UI and select the appropriate radio button for the current user scope.
    If _manager.Personalization.CanEnterSharedScope Then
      Panel2.Visible = True
      If _manager.Personalization.Scope = PersonalizationScope.User Then
        RadioButton1.Checked = True
      Else
        RadioButton2.Checked = True
      End If
    End If
   
  End Sub

  ' Change the page to the selected display mode.
  Sub DisplayModeDropdown_SelectedIndexChanged(ByVal sender As Object, _
    ByVal e As EventArgs)
    
    Dim selectedMode As String = DisplayModeDropdown.SelectedValue   
    Dim mode As WebPartDisplayMode = _
      _manager.SupportedDisplayModes(selectedMode)
    If Not (mode Is Nothing) Then
      _manager.DisplayMode = mode
    End If

  End Sub
   
  ' Set the selected item equal to the current display mode.
  Sub Page_PreRender(ByVal sender As Object, ByVal e As EventArgs)
    Dim items As ListItemCollection = DisplayModeDropdown.Items
    Dim selectedIndex As Integer = _
      items.IndexOf(items.FindByText(_manager.DisplayMode.Name))
    DisplayModeDropdown.SelectedIndex = selectedIndex

  End Sub

  ' Reset all of a user's personalization data for the page.
  Protected Sub LinkButton1_Click(ByVal sender As Object, _
    ByVal e As EventArgs)
    
    _manager.Personalization.ResetPersonalizationState()
    
  End Sub

  ' If not in User personalization scope, toggle into it.
  Protected Sub RadioButton1_CheckedChanged(ByVal sender As Object, _
    ByVal e As EventArgs)
    
    If _manager.Personalization.Scope = PersonalizationScope.Shared Then
      _manager.Personalization.ToggleScope()
    End If

  End Sub
   
  ' If not in Shared scope, and if user is allowed, toggle the scope.
  Protected Sub RadioButton2_CheckedChanged(ByVal sender As Object, _
    ByVal e As EventArgs)
    
    If _manager.Personalization.CanEnterSharedScope AndAlso _
      _manager.Personalization.Scope = PersonalizationScope.User Then
      _manager.Personalization.ToggleScope()
    End If

  End Sub

</script>
<div>
  <asp:Panel ID="Panel1" runat="server" 
    Borderwidth="1" 
    Width="230" 
    BackColor="lightgray"
    Font-Names="Verdana, Arial, Sans Serif" >
    <asp:Label ID="Label1" runat="server" 
      Text=" Display Mode" 
      Font-Bold="true"
      Font-Size="8"
      Width="120" 
      AssociatedControlID="DisplayModeDropdown"/>
    <asp:DropDownList ID="DisplayModeDropdown" runat="server"  
      AutoPostBack="true" 
      Width="120"
      OnSelectedIndexChanged="DisplayModeDropdown_SelectedIndexChanged" />
    <asp:LinkButton ID="LinkButton1" runat="server"
      Text="Reset User State" 
      ToolTip="Reset the current user's personalization data for the page."
      Font-Size="8" 
      OnClick="LinkButton1_Click" />
    <asp:Panel ID="Panel2" runat="server" 
      GroupingText="Personalization Scope"
      Font-Bold="true"
      Font-Size="8" 
      Visible="false" >
      <asp:RadioButton ID="RadioButton1" runat="server" 
        Text="User" 
        AutoPostBack="true"
        GroupName="Scope" OnCheckedChanged="RadioButton1_CheckedChanged" />
      <asp:RadioButton ID="RadioButton2" runat="server" 
        Text="Shared" 
        AutoPostBack="true"
        GroupName="Scope" 
        OnCheckedChanged="RadioButton2_CheckedChanged" />
    </asp:Panel>
  </asp:Panel>
</div>

예제의 두 번째 부분은 인터페이스 및 사용자 지정 컨트롤이 있는 원본 파일입니다. 컨트롤이 ZipCodeWebPart 인터페이스를 IZipCode 구현하여 컨트롤이 연결 공급자 역할을 할 수 있도록 특성을 추가 ConnectionProvider 합니다. 컨트롤에는 WeatherWebPart 인터페이스를 사용하는 특성으로 ConnectionConsumer 표시된 메서드가 IZipCode 있으므로 연결에서 소비자 역할을 할 수 있습니다.

코드 예제를 실행하려면 이 소스 코드를 컴파일해야 합니다. 명시적으로 컴파일하고 결과 어셈블리를 웹 사이트의 Bin 폴더 또는 전역 어셈블리 캐시에 넣을 수 있습니다. 또는 런타임에 동적으로 컴파일되는 사이트의 App_Code 폴더에 소스 코드를 배치할 수 있습니다. 이 예제에서는 동적 컴파일을 사용합니다. 컴파일 방법을 보여 주는 연습은 연습: 사용자 지정 웹 서버 컨트롤 개발 및 사용을 참조하세요.

namespace Samples.AspNet.CS.Controls
{
  using System;
  using System.Web;
  using System.Web.Security;
  using System.Security.Permissions;
  using System.Web.UI;
  using System.Web.UI.WebControls;
  using System.Web.UI.WebControls.WebParts;

  [AspNetHostingPermission(SecurityAction.Demand,
    Level = AspNetHostingPermissionLevel.Minimal)]
  [AspNetHostingPermission(SecurityAction.InheritanceDemand,
    Level = AspNetHostingPermissionLevel.Minimal)]
  public interface IZipCode
  {
    string ZipCode { get; set;}
  }

  [AspNetHostingPermission(SecurityAction.Demand,
    Level = AspNetHostingPermissionLevel.Minimal)]
  [AspNetHostingPermission(SecurityAction.InheritanceDemand,
    Level = AspNetHostingPermissionLevel.Minimal)]
  public class ZipCodeWebPart : WebPart, IZipCode
  {
    string zipCodeText = String.Empty;
    TextBox input;
    Button send;

    public ZipCodeWebPart()
    {
    }

    // Make the implemented property personalizable to save 
    // the Zip Code between browser sessions.
    [Personalizable()]
    public virtual string ZipCode
    {
      get { return zipCodeText; }
      set { zipCodeText = value; }
    }

    // This is the callback method that returns the provider.
    [ConnectionProvider("Zip Code Provider", "ZipCodeProvider")]
    public IZipCode ProvideIZipCode()
    {
      return this;
    }

    protected override void CreateChildControls()
    {
      Controls.Clear();
      input = new TextBox();
      this.Controls.Add(input);
      send = new Button();
      send.Text = "Enter 5-digit Zip Code";
      send.Click += new EventHandler(this.submit_Click);
      this.Controls.Add(send);
    }

    private void submit_Click(object sender, EventArgs e)
    {
      if (!string.IsNullOrEmpty(input.Text))
      {
        zipCodeText = Page.Server.HtmlEncode(input.Text);
        input.Text = String.Empty;
      }
    }
  }

  [AspNetHostingPermission(SecurityAction.Demand,
    Level = AspNetHostingPermissionLevel.Minimal)]
  [AspNetHostingPermission(SecurityAction.InheritanceDemand,
    Level = AspNetHostingPermissionLevel.Minimal)]
  public class WeatherWebPart : WebPart
  {
    private IZipCode _provider;
    string _zipSearch;
    Label DisplayContent;

    // This method is identified by the ConnectionConsumer 
    // attribute, and is the mechanism for connecting with 
    // the provider. 
    [ConnectionConsumer("Zip Code Consumer", "ZipCodeConsumer")]
    public void GetIZipCode(IZipCode Provider)
    {
      _provider = Provider;
    }
    
    protected override void OnPreRender(EventArgs e)
    {
      EnsureChildControls();

      if (this._provider != null)
      {
        _zipSearch = _provider.ZipCode.Trim();
        DisplayContent.Text = "My Zip Code is:  " + _zipSearch;
      }
    }

    protected override void CreateChildControls()
    {
      Controls.Clear();
      DisplayContent = new Label();
      this.Controls.Add(DisplayContent);
    }
  }
}
Imports System.Web
Imports System.Web.Security
Imports System.Security.Permissions
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts

Namespace Samples.AspNet.VB.Controls

  <AspNetHostingPermission(SecurityAction.Demand, _
    Level:=AspNetHostingPermissionLevel.Minimal)> _
  <AspNetHostingPermission(SecurityAction.InheritanceDemand, _
    Level:=AspNetHostingPermissionLevel.Minimal)> _
  Public Interface IZipCode

    Property ZipCode() As String

  End Interface

  <AspNetHostingPermission(SecurityAction.Demand, _
    Level:=AspNetHostingPermissionLevel.Minimal)> _
  <AspNetHostingPermission(SecurityAction.InheritanceDemand, _
    Level:=AspNetHostingPermissionLevel.Minimal)> _
  Public Class ZipCodeWebPart
    Inherits WebPart
    Implements IZipCode
    Private zipCodeText As String = String.Empty
    Private input As TextBox
    Private send As Button

    Public Sub New()
    End Sub

    ' Make the implemented property personalizable to save 
    ' the Zip Code between browser sessions.
    <Personalizable()> _
    Public Property ZipCode() As String _
      Implements IZipCode.ZipCode

      Get
        Return zipCodeText
      End Get
      Set(ByVal value As String)
        zipCodeText = value
      End Set
    End Property

    ' This is the callback method that returns the provider.
    <ConnectionProvider("Zip Code Provider", "ZipCodeProvider")> _
    Public Function ProvideIZipCode() As IZipCode
      Return Me
    End Function


    Protected Overrides Sub CreateChildControls()
      Controls.Clear()
      input = New TextBox()
      Me.Controls.Add(input)
      send = New Button()
      send.Text = "Enter 5-digit Zip Code"
      AddHandler send.Click, AddressOf Me.submit_Click
      Me.Controls.Add(send)

    End Sub


    Private Sub submit_Click(ByVal sender As Object, _
      ByVal e As EventArgs)

      If input.Text <> String.Empty Then
        zipCodeText = Page.Server.HtmlEncode(input.Text)
        input.Text = String.Empty
      End If

    End Sub

  End Class

  <AspNetHostingPermission(SecurityAction.Demand, _
    Level:=AspNetHostingPermissionLevel.Minimal)> _
  <AspNetHostingPermission(SecurityAction.InheritanceDemand, _
    Level:=AspNetHostingPermissionLevel.Minimal)> _
  Public Class WeatherWebPart
    Inherits WebPart
    Private _provider As IZipCode
    Private _zipSearch As String
    Private DisplayContent As Label

    ' This method is identified by the ConnectionConsumer 
    ' attribute, and is the mechanism for connecting with 
    ' the provider. 
    <ConnectionConsumer("Zip Code Consumer", "ZipCodeConsumer")> _
    Public Sub GetIZipCode(ByVal Provider As IZipCode)
      _provider = Provider
    End Sub


    Protected Overrides Sub OnPreRender(ByVal e As EventArgs)
      EnsureChildControls()

      If Not (Me._provider Is Nothing) Then
        _zipSearch = _provider.ZipCode.Trim()
                DisplayContent.Text = "My Zip Code is:  " + _zipSearch
      End If

    End Sub

    Protected Overrides Sub CreateChildControls()
      Controls.Clear()
      DisplayContent = New Label()
      Me.Controls.Add(DisplayContent)

    End Sub

  End Class

End Namespace

예제 코드의 세 번째 부분은 웹 페이지입니다. 위쪽 근처에는 Register 사용자 컨트롤 및 연결에 사용되는 사용자 지정 컨트롤에 대한 지시문이 있습니다. <asp:connectionszone> 요소는 선언적으로 컨트롤을 사용 ConnectionsZone 하는 예제로 페이지에 선언 됩니다. 요소 내에서 여러 속성이 선언적으로 설정됩니다. 연결 영역의 다른 속성은 페이지의 섹션에서 프로그래밍 방식으로 <script> 설정됩니다.

<%@ Page Language="C#" %>
<%@ register tagprefix="uc1" 
    tagname="DisplayModeMenuCS"
    src="~/displaymodemenucs.ascx" %>
<%@ Register TagPrefix="aspSample" 
    Namespace="Samples.AspNet.CS.Controls" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

  protected void Page_PreRender(object sender, EventArgs e)
  {
     // Set properties on verbs.
     connectionsZone1.CancelVerb.Description = 
       "Terminates the connection process";
     connectionsZone1.CloseVerb.Description = 
       "Closes the connections UI";
     connectionsZone1.ConfigureVerb.Description =
       "Configure the transformer for the connection";
     connectionsZone1.ConnectVerb.Description =
       "Connect two WebPart controls";
     connectionsZone1.DisconnectVerb.Description =
       "End the connection between two controls";
    
     // Set properties for UI text strings.
     connectionsZone1.ConfigureConnectionTitle = 
       "Configure";
     connectionsZone1.ConnectToConsumerInstructionText = 
       "Choose a consumer connection point";
     connectionsZone1.ConnectToConsumerText = 
       "Select a consumer for the provider to connect with";
     connectionsZone1.ConnectToConsumerTitle = 
       "Send data to this consumer";
     connectionsZone1.ConnectToProviderInstructionText =
       "Choose a provider connection point";
     connectionsZone1.ConnectToProviderText =
       "Select a provider for the consumer to connect with";
     connectionsZone1.ConnectToProviderTitle =
       "Get data from this provider";
     connectionsZone1.ConsumersInstructionText = 
       "WebPart controls that receive data from providers";
     connectionsZone1.ConsumersTitle = "Consumer Controls";
     connectionsZone1.GetFromText = "Receive from";
     connectionsZone1.GetText = "Retrieve";
     connectionsZone1.HeaderText = 
      "Create and Manage Connections";
     connectionsZone1.InstructionText = 
      "Manage connections for the selected WebPart control";
     connectionsZone1.InstructionTitle = 
       "Manage connections for consumers or providers";
     connectionsZone1.NoExistingConnectionInstructionText = 
       "No connections exist. Click the above link to create "
       + "a connection.";
     connectionsZone1.NoExistingConnectionTitle = 
       "No current connections";
     connectionsZone1.ProvidersInstructionText =
       "WebPart controls that send data to consumers";
     connectionsZone1.ProvidersTitle = "Provider controls";
     
  }
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Connection Zone Sample</title>
</head>
<body>
  <form id="form1" runat="server">
  <asp:webpartmanager runat="server" id="mgr">
    <staticconnections>
      <asp:webpartconnection id="connection1" 
        consumerconnectionpointid="ZipCodeConsumer"
        consumerid="zipConsumer"
        providerconnectionpointid="ZipCodeProvider" 
        providerid="zipProvider" />
    </staticconnections>
  </asp:webpartmanager>
  <uc1:displaymodemenucs id="menu1" runat="server" />
  <div>
  <asp:webpartzone id="WebPartZone1" runat="server">
    <zonetemplate>
      <aspsample:zipcodewebpart id="zipProvider" runat="server" 
        Title="Zip Code Provider"  />
      <aspsample:weatherwebpart id="zipConsumer" runat="server" 
        Title="Zip Code Consumer" />
    </zonetemplate>
  </asp:webpartzone>
  <asp:connectionszone id="connectionsZone1" runat="server" >
    <cancelverb text="Terminate" />
    <closeverb text="Close Zone" />
    <configureverb text="Configure" />
    <connectverb text="Connect Controls" />
    <disconnectverb text="End Connection" />
  </asp:connectionszone>
  </div>
  </form>
</body>
</html>
<%@ Page Language="VB" %>
<%@ register tagprefix="uc1" 
    tagname="DisplayModeMenuVB"
    src="~/displaymodemenuvb.ascx" %>
<%@ Register TagPrefix="aspSample" 
    Namespace="Samples.AspNet.VB.Controls" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

  Protected Sub Page_PreRender(ByVal sender As Object, _
    ByVal e As System.EventArgs)
    
    ' Set properties for verbs.
    connectionsZone1.CancelVerb.Description = _
      "Terminates the connection process"
    connectionsZone1.CloseVerb.Description = _
      "Closes the connections UI"
    connectionsZone1.ConfigureVerb.Description = _
      "Configure the transformer for the connection"
    connectionsZone1.ConnectVerb.Description = _
      "Connect two WebPart controls"
    connectionsZone1.DisconnectVerb.Description = _
      "End the connection between two controls"
    
    ' Set properties for UI text strings.
    connectionsZone1.ConfigureConnectionTitle = _
      "Configure a new connection"
    connectionsZone1.ConnectToConsumerInstructionText = _
      "Choose a consumer connection point"
    connectionsZone1.ConnectToConsumerText = _
      "Select a consumer for the provider to connect with"
    connectionsZone1.ConnectToConsumerTitle = _
      "Send data to this consumer"
    connectionsZone1.ConnectToProviderInstructionText = _
      "Choose a provider connection point"
    connectionsZone1.ConnectToProviderText = _
      "Select a provider for the consumer to connect with"
    connectionsZone1.ConnectToProviderTitle = _
      "Get data from this provider"
    connectionsZone1.ConsumersInstructionText = _
      "WebPart controls that receive data from providers"
    connectionsZone1.ConsumersTitle = "Consumer Controls"
    connectionsZone1.GetFromText = "Receive from"
    connectionsZone1.GetText = "Retrieve"
    connectionsZone1.HeaderText = _
      "Create and Manage Connections"
    connectionsZone1.InstructionText = _
      "Manage connections for the selected WebPart control"
    connectionsZone1.InstructionTitle = _
      "Manage connections for consumers or providers"
    connectionsZone1.NoExistingConnectionInstructionText = _
      "No connections exist. Click the above link to create " _
      & "a connection."
    connectionsZone1.NoExistingConnectionTitle = _
      "No current connections"
    connectionsZone1.ProvidersInstructionText = _
      "WebPart controls that send data to consumers"
    connectionsZone1.ProvidersTitle = "Provider controls"

  End Sub

</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Connection Zone Sample</title>
</head>
<body>
  <form id="form1" runat="server">
  <asp:webpartmanager runat="server" id="mgr">
    <staticconnections>
      <asp:webpartconnection id="connection1" 
        consumerconnectionpointid="ZipCodeConsumer"
        consumerid="zipConsumer"
        providerconnectionpointid="ZipCodeProvider" 
        providerid="zipProvider" />
    </staticconnections>
  </asp:webpartmanager>
  <uc1:displaymodemenuvb id="menu1" runat="server" />
  <div>
  <asp:webpartzone id="WebPartZone1" runat="server">
    <zonetemplate>
      <aspsample:zipcodewebpart id="zipProvider" runat="server" 
        Title="Zip Code Provider" />
      <aspsample:weatherwebpart id="zipConsumer" runat="server" 
        Title="Zip Code Consumer" />
    </zonetemplate>
  </asp:webpartzone>
  <asp:connectionszone id="connectionsZone1" runat="server" >
    <cancelverb text="Terminate" />
    <closeverb text="Close Zone" />
    <configureverb text="Configure" />
    <connectverb text="Connect Controls" />
    <disconnectverb text="End Connection" />
  </asp:connectionszone>
  </div>
  </form>
</body>
</html>

브라우저에서 웹 페이지를 로드합니다. 디스플레이 모드 드롭다운 목록 컨트롤을 사용하여 페이지를 연결 모드로 전환합니다. 우편 번호 공급자 컨트롤의 동사 메뉴(동사 메뉴는 컨트롤의 제목 표시줄에서 아래쪽 화살표로 표시됨)에서 연결 동사를 클릭합니다. 컨트롤이 ConnectionsZone 나타납니다. 연결 UI에는 연결 종료 단추가 나타납니다. 연결이 페이지의 태그에 이미 선언되었으므로 컨트롤이 이미 연결되어 있습니다. 연결 종료를 클릭한 다음 디스플레이 모드 컨트롤을 다시 사용하여 페이지를 찾아보기 모드로 반환합니다. 그런 다음, 페이지를 다시 연결 모드로 반환하고, 컨트롤 중 하나에서 연결 동사를 클릭하고, 이제 연결 UI에 컨트롤 간의 연결을 형성할 수 있는 하이퍼링크가 표시됩니다. 링크를 클릭하고 연결 UI를 사용하여 연결 지점을 선택하고 연결을 설정합니다.

설명

웹 파트 컨트롤 집합을 사용하여 두 개의 서버 컨트롤이 연결을 형성하고 데이터를 공유하도록 설정할 수 있습니다. 한 컨트롤은 공급자 역할을 하고 다른 하나는 데이터의 소비자 역할을 합니다. 두 컨트롤은 연결을 처리하도록 설계되었으며 영역에 있는 WebPartZoneBase 경우 컨트롤 또는 다른 유형의 서버 컨트롤일 수 WebPart 있습니다. 웹 파트 연결에 대한 자세한 내용은 및 ConnectionPoint 클래스 개요 및 웹 파트 연결 개요를 참조 WebPartConnection 하세요.

필수 컨트롤과 조건이 웹 파트 연결을 형성하기 위해 존재하는 경우 실제로 컨트롤을 연결해야 합니다. 서버 컨트롤 간에 연결을 형성하는 세 가지 방법은 웹 페이지에서 연결을 선언하거나, 코드에서 연결을 만들거나, 사용자가 요청 시 컨트롤을 연결할 수 있도록 컨트롤을 페이지에 추가하는 ConnectionsZone 것입니다. 컨트롤은 ConnectionsZone 사용자가 연결을 형성하는 데 필요한 조건을 충족하는 페이지의 서버 컨트롤에 연결하거나 연결을 끊을 수 있는 UI를 생성합니다. 연결을 형성하는 데 필요하지 않은 선택적 컨트롤이지만 사용자에게 연결되거나 연결이 끊어진 서버 컨트롤을 제어하도록 하려는 경우에 유용합니다.

컨트롤은 ConnectionsZone 기본 클래스에서 ToolZone 상속되는 웹 파트 도구 영역 컨트롤 중 하나입니다. 도구 영역 ConnectionsZone 으로서 컨트롤은 웹 페이지가 특정 표시 모드에 있을 때만 표시되도록 설계되었습니다. 이 경우 표시 모드의 이름은 연결 모드입니다(페이지의 컨트롤에 속성 값이 로 설정된 ConnectDisplayMode경우 WebPartManager 페이지가 DisplayMode 이 모드에 있습니다). 사용자가 페이지를 연결 모드로 전환한 후 서버 컨트롤 중 하나의 동사 메뉴에서 연결 동사를 클릭해야 하며 연결 UI가 표시됩니다.

웹 파트 영역 컨트롤로서 컨트롤은 다른 컨트롤 ConnectionsZone 을 포함하도록 설계된 영역 형식 WebZone (클래스에서 CompositeControl 상속됨)입니다. 일반적으로 영역에는 머리글, ConnectionsZone 본문 또는 내용 영역, 바닥글 등 다른 웹 파트 도구 영역과 동일한 요소가 대부분 있습니다. 웹 파트 영역이란 무엇이며 영역의 여러 부분에 대한 자세한 내용은 클래스 개요를 WebZone 참조하세요.

중요

대부분의 다른 웹 파트 영역과 달리 영역에는 ConnectionsZone 연결된 고유한 유형의 서버 컨트롤이 포함되어 있지 않습니다. 영역 목록 및 해당 영역에 포함된 연결된 컨트롤은 클래스 개요의 차트를 WebZone 참조하세요. 그러나 영역에는 ConnectionsZone 컨트롤이 포함되어 WebPartConnection 있지 않습니다. 대신, 사용자가 페이지의 일부 WebPartZoneBase 영역에 있는 서버 컨트롤을 연결하거나 연결을 끊을 수 있는 UI를 제공하는 매우 제한된 목적을 제공합니다. 컨트롤에 ConnectionsZone 포함된 유일한 컨트롤은 연결을 형성하기 위해 UI의 일부로 생성하는 표준 ASP.NET 서버 컨트롤입니다.

컨트롤이 ConnectionsZone 렌더링되면 연결을 형성할 수 있는 페이지의 서버 컨트롤을 기반으로 UI를 생성합니다. 컨트롤은 ConnectionsZone 페이지의 영역에서 공급자인 서버 컨트롤, 소비자, 사용 가능한 연결 지점, 서버 컨트롤 WebPartZoneBase 이 현재 연결되어 있는지 또는 연결이 끊어지는지를 확인한 다음 그에 따라 UI를 생성합니다.

예를 들어 공급자가 될 수 있는 컨트롤이 하나 WebPart 있고, 소비자가 될 수 있는 컨트롤이 하나 WebPart 있고, 페이지의 에서 WebPartZone 선언되고, 현재 연결이 끊어진 경우를 가정해 보겠습니다. 사용자가 연결 모드로 페이지를 전환하고 컨트롤 중 하나에서 연결 동사를 클릭하면 컨트롤 ConnectionsZone 이 링크가 있는 UI를 생성합니다. 이 링크는 클릭할 때 사용자가 연결을 만드는 옵션을 선택할 수 있는 양식을 표시합니다. (컨트롤이 이전에 연결된 경우 초기 보기는 사용자에게 컨트롤의 연결을 끊는 단추를 제공합니다.) 새 연결을 만들기 위한 연결 UI에서 사용자에게 공급자인 컨트롤과 소비자인 컨트롤이 표시됩니다. 드롭다운 목록 컨트롤은 각 서버 컨트롤 아래에 표시되어 컨트롤에 사용 가능한 ConnectionPoint 개체를 나열합니다. 각 드롭다운 목록에서 사용자는 공급자에 대해 하나의 ProviderConnectionPoint 개체(소비자와 공유할 인터페이스 및 데이터를 결정)와 공급자에 연결될 각 소비자에 대해 하나의 ConsumerConnectionPoint 개체(소비자가 사용할 인터페이스 및 데이터를 결정)를 선택해야 합니다.

참고

웹 파트 컨트롤 집합 기본 구현에서 하나의 공급자는 많은 소비자에 연결할 수 있지만 소비자는 하나의 공급자만 가질 수 있습니다.

사용 하는 컨트롤을 ConnectionsZone 사용 하 여 웹 페이지의 요소 내에서 <form> 선언할 수 있습니다 (하지만 다른 웹 파트 영역 요소 내에 중첩 되지 않음), 요소를 사용 하 여 <asp:connectionszone> 또는 프로그래밍 방식으로 페이지에 추가할 수 있습니다. 다른 웹 파트 영역과 달리 페이지에서 요소를 선언하는 경우 요소의 태그 <asp:connectionszone> 간에 다른 유형의 서버 컨트롤을 선언할 수 없습니다. 자체 속성 및 스타일 세부 정보와 관련된 요소를 선언할 수 있지만 독립 실행형 요소이며 다른 서버 컨트롤을 선언할 수 있는 템플릿 컨트롤이 아닙니다.

참고

접근성을 향상시키기 위해 컨트롤은 ConnectionsZone 요소 내에서 <fieldset> 렌더링됩니다. 요소는 <fieldset> 컨트롤에서 ConnectionsZone 연결을 설정하는 데 사용되는 관련 컨트롤 집합을 그룹화하고, 시각적 사용자 에이전트(예: 일반 웹 브라우저) 및 음성 지향 사용자 에이전트(예: 화면 읽기 소프트웨어)에 대한 해당 컨트롤 간의 탭 탐색을 용이하게 합니다.

ConnectionsZone 컨트롤에는 연결 UI를 렌더링하는 데 사용하는 여러 속성이 있습니다. 하나의 속성 집합에는 UI ConfigureVerb에서 작업을 수행하는 연결과 관련하여만 사용되는 여러 동사가 포함됩니다. , ConnectVerbDisconnectVerb. 특히 연결 영역 UI에 사용되는 큰 속성 집합은 UIConfigureConnectionTitle의 다양한 위치(또는 오류가 발생하는 경우와 같은 특정 상황에서)에 표시되는 텍스트 문자열로 구성됩니다. , , ConnectToConsumerInstructionText, NoExistingConnectionTitleConnectToConsumerTextConnectToConsumerTitleExistingConnectionErrorMessageConsumersTitleGetFromTextConsumersInstructionTextGetTextConnectToProviderTitleInstructionTitleNewConnectionErrorMessageConnectToProviderTextConnectToProviderInstructionTextProvidersInstructionTextProvidersTitleNoExistingConnectionInstructionTextSendText및 .SendToText 클래스에는 ConnectionsZone 다른 웹 파트 영역에 있는 여러 가지 일반적인 속성(, CancelVerb, CloseVerb, Display, InstructionTextEmptyZoneTextHeaderText, 및 PartChromeType)도 포함됩니다. 마지막으로, WebPartToConnect 속성은 연결을 시작하는 컨트롤을 참조하는 클래스에 고유합니다(사용자가 동사 메뉴에서 연결 동사를 클릭하는 컨트롤이며 컨트롤의 SelectedWebPart 속성에서 WebPartManager 참조되는 컨트롤이기도 함).

또한 클래스에는 ConnectionsZone 기본 클래스에서 상속되고 재정의되는 여러 메서드가 있으며, 대부분은 기본 웹 파트 영역 클래스에서 가져옵니다. 자세한 내용은 개별 메서드를 참조하세요.

상속자 참고

개발자가 ConnectionsZone 해당 동작 또는 연결 작업을 위해 제공하는 기본 UI를 변경하려는 경우 클래스를 확장할 수 있습니다.

생성자

ConnectionsZone()

ConnectionsZone 클래스의 새 인스턴스를 초기화합니다.

속성

AccessKey

웹 서버 컨트롤을 빠르게 탐색할 수 있는 선택키를 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
Adapter

컨트롤에 대한 브라우저별 어댑터를 가져옵니다.

(다음에서 상속됨 Control)
AppRelativeTemplateSourceDirectory

이 컨트롤이 포함된 Page 또는 UserControl 개체의 애플리케이션 상대 가상 디렉터리를 가져오거나 설정합니다.

(다음에서 상속됨 Control)
AssociatedDisplayModes

특정 WebPartDisplayMode 영역에 연결된 ToolZone 개체의 컬렉션을 가져옵니다.

(다음에서 상속됨 ToolZone)
Attributes

컨트롤의 속성과 일치하지 않는 임의의 특성(렌더링하는 경우에만 해당)의 컬렉션을 가져옵니다.

(다음에서 상속됨 WebControl)
BackColor

웹 서버 컨트롤의 배경색을 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
BackImageUrl

영역의 배경 이미지 URL을 가져오거나 설정합니다.

(다음에서 상속됨 WebZone)
BindingContainer

이 컨트롤의 데이터 바인딩이 포함된 컨트롤을 가져옵니다.

(다음에서 상속됨 Control)
BorderColor

웹 컨트롤의 테두리 색을 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
BorderStyle

웹 서버 컨트롤의 테두리 스타일을 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
BorderWidth

웹 서버 컨트롤의 테두리 너비를 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
CancelVerb

최종 사용자가 연결 설정 프로세스를 취소할 수 있도록 하는 WebPartVerb 개체에 대한 참조를 가져옵니다.

ChildControlsCreated

서버 컨트롤의 자식 컨트롤이 만들어졌는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 Control)
ClientID

ASP.NET에서 생성하는 HTML 태그의 컨트롤 ID를 가져옵니다.

(다음에서 상속됨 Control)
ClientIDMode

ClientID 속성의 값을 생성하는 데 사용되는 알고리즘을 가져오거나 설정합니다.

(다음에서 상속됨 Control)
ClientIDSeparator

ClientID 속성에 사용된 구분 문자를 나타내는 문자 값을 가져옵니다.

(다음에서 상속됨 Control)
CloseVerb

최종 사용자가 WebPartVerb 컨트롤에서 만든 연결 UI(사용자 인터페이스)를 닫는 데 사용할 수 있는 ConnectionsZone 개체에 대한 참조를 가져옵니다.

ConfigureConnectionTitle

ConnectionsZone 컨트롤에서 만든 연결 UI(사용자 인터페이스)의 하위 구역 제목으로 표시되는 텍스트를 가져오거나 설정합니다.

ConfigureVerb

연결 UI(사용자 인터페이스)의 구성 뷰를 여는 데 사용되는 WebPartVerb 개체에 대한 참조를 가져옵니다.

ConnectToConsumerInstructionText

연결 UI(사용자 인터페이스)에서 사용자가 공급자와 연결할 소비자 연결 지점을 선택할 수 있는 구역에 표시되는 지침 텍스트를 가져오거나 설정합니다.

ConnectToConsumerText

사용자가 클릭하면 연결할 소비자 컨트롤을 선택할 수 있는 뷰를 여는 하이퍼링크의 텍스트를 가져오거나 설정합니다.

ConnectToConsumerTitle

연결 UI(사용자 인터페이스)에서 사용자가 연결할 특정 소비자를 선택할 수 있는 구역의 제목 텍스트를 가져오거나 설정합니다.

ConnectToProviderInstructionText

연결 UI(사용자 인터페이스)에서 사용자가 소비자와 연결할 공급자 연결 지점을 선택할 수 있는 구역에 표시되는 지침 텍스트를 가져오거나 설정합니다.

ConnectToProviderText

사용자가 클릭하면 연결할 공급자 컨트롤을 선택할 수 있는 뷰를 여는 하이퍼링크의 텍스트를 가져오거나 설정합니다.

ConnectToProviderTitle

연결 UI(사용자 인터페이스)에서 사용자가 연결할 특정 공급자를 선택할 수 있는 구역의 제목 텍스트를 가져오거나 설정합니다.

ConnectVerb

WebPartVerb 컨트롤의 연결을 설정할 수 있도록 하는 WebPart 개체에 대한 참조를 가져옵니다.

ConsumersInstructionText

연결이 이미 설정된 경우 연결 UI(사용자 인터페이스)의 소비자 구역에 표시되는 지침 텍스트를 가져오거나 설정합니다.

ConsumersTitle

연결이 이미 설정된 경우 연결 UI(사용자 인터페이스)의 소비자 구역 위에 표시되는 지침 텍스트를 가져오거나 설정합니다.

Context

현재 웹 요청에 대한 서버 컨트롤과 관련된 HttpContext 개체를 가져옵니다.

(다음에서 상속됨 Control)
Controls

ControlCollection에서 자식 컨트롤을 나타내는 CompositeControl 개체를 가져옵니다.

(다음에서 상속됨 CompositeControl)
ControlStyle

웹 서버 컨트롤의 스타일을 가져옵니다. 이 속성은 주로 컨트롤 개발자가 사용합니다.

(다음에서 상속됨 WebControl)
ControlStyleCreated

Style 개체가 ControlStyle 속성에 대해 만들어졌는지 여부를 나타내는 값을 가져옵니다. 이 속성은 주로 컨트롤 개발자가 사용합니다.

(다음에서 상속됨 WebControl)
CssClass

클라이언트의 웹 서버 컨트롤에서 렌더링한 CSS 스타일시트 클래스를 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
DataItemContainer

명명 컨테이너가 IDataItemContainer를 구현할 경우 명명 컨테이너에 대한 참조를 가져옵니다.

(다음에서 상속됨 Control)
DataKeysContainer

명명 컨테이너가 IDataKeysControl를 구현할 경우 명명 컨테이너에 대한 참조를 가져옵니다.

(다음에서 상속됨 Control)
DesignMode

디자인 화면에서 컨트롤이 사용 중인지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 Control)
DisconnectVerb

사용자가 연결된 두 WebPartVerb 컨트롤의 연결을 끊을 수 있도록 하는 WebPart 개체에 대한 참조를 가져옵니다.

Display

ToolZone 컨트롤이 현재 표시되는지 여부를 나타내는 값을 가져옵니다.

EditUIStyle

ToolZone 컨트롤에 포함된 편집 가능한 컨트롤에 대한 스타일 특성을 가져옵니다.

(다음에서 상속됨 ToolZone)
EmptyZoneText

웹 페이지에 연결을 설정하는 데 필요한 컨트롤이 부족할 경우 빈 ConnectionsZone 컨트롤에 표시되는 텍스트 메시지를 가져오거나 설정합니다.

EmptyZoneTextStyle

빈 영역의 자리 표시자 텍스트에 대한 스타일 특성을 가져옵니다.

(다음에서 상속됨 WebZone)
Enabled

웹 서버 컨트롤이 활성화되어 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
EnableTheming

이 컨트롤에 테마를 적용할지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
EnableViewState

서버 컨트롤이 해당 뷰 상태와 포함하고 있는 모든 자식 컨트롤의 뷰 상태를, 요청하는 클라이언트까지 유지하는지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 Control)
ErrorStyle

WebPart 컨트롤을 로드하거나 만들 수 없는 경우 표시되는 오류 메시지를 렌더링하기 위한 스타일 특성을 가져옵니다.

(다음에서 상속됨 WebZone)
Events

컨트롤에 대한 이벤트 처리기 대리자의 목록을 가져옵니다. 이 속성은 읽기 전용입니다.

(다음에서 상속됨 Control)
ExistingConnectionErrorMessage

기존 연결에 대한 오류나 경고가 있을 경우 연결 UI(사용자 인터페이스)에 표시되는 메시지 텍스트를 가져오거나 설정합니다.

Font

웹 서버 컨트롤과 연결된 글꼴 속성을 가져옵니다.

(다음에서 상속됨 WebControl)
FooterStyle

영역의 바닥글 내용에 대한 스타일 특성을 가져옵니다.

(다음에서 상속됨 WebZone)
ForeColor

웹 서버 컨트롤의 전경색(보통 텍스트 색)을 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
GetFromText

연결 UI(사용자 인터페이스) 구역에서 소비자가 데이터를 검색할 명명된 공급자 앞에 표시되는 텍스트를 가져오거나 설정합니다.

GetText

연결 UI(사용자 인터페이스) 구역에서 공급자로부터 데이터를 받는 명명된 소비자 앞에 표시되는 텍스트를 가져오거나 설정합니다.

HasAttributes

컨트롤에 특성 집합이 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 WebControl)
HasChildViewState

현재 서버 컨트롤의 자식 컨트롤에 저장된 뷰 상태 설정 값이 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 Control)
HasFooter

영역에 바닥글 영역이 있는지 나타내는 값을 가져옵니다.

(다음에서 상속됨 WebZone)
HasHeader

영역에 머리글 영역이 있는지 나타내는 값을 가져옵니다.

(다음에서 상속됨 WebZone)
HeaderCloseVerb

컨트롤을 닫는 데 사용되는 WebPartVerb 컨트롤의 머리글에서 ToolZone 개체에 대한 참조를 가져옵니다.

(다음에서 상속됨 ToolZone)
HeaderStyle

영역의 머리글 내용에 대한 스타일 특성을 가져옵니다.

(다음에서 상속됨 WebZone)
HeaderText

ConnectionsZone 컨트롤에서 만든 연결 UI(사용자 인터페이스)의 맨 위에 표시되는 머리글 텍스트를 가져오거나 설정합니다.

HeaderVerbStyle

ToolZone 컨트롤에 표시되는 모든 머리글 동사에 대한 스타일 특성을 가져옵니다.

(다음에서 상속됨 ToolZone)
Height

웹 서버 컨트롤의 높이를 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
ID

서버 컨트롤에 할당된 프로그래밍 ID를 가져오거나 설정합니다.

(다음에서 상속됨 Control)
IdSeparator

컨트롤 식별자를 구분하는 데 사용되는 문자를 가져옵니다.

(다음에서 상속됨 Control)
InstructionText

기존 연결을 관리하기 위한 연결 UI(사용자 인터페이스) 구역에서 선택된 컨트롤에 대한 일반적인 지침으로 사용되는 텍스트를 가져오거나 설정합니다.

InstructionTextStyle

ToolZone 컨트롤의 맨 위에 나타나는 지침 텍스트에 대한 스타일 특성을 가져옵니다.

(다음에서 상속됨 ToolZone)
InstructionTitle

기존 연결을 관리하기 위한 연결 UI(사용자 인터페이스) 내에서 소비자 또는 공급자 컨트롤에 대해 수행할 수 있는 작업에 대한 일반적인 설명으로 사용되는 텍스트를 가져오거나 설정합니다.

IsChildControlStateCleared

이 컨트롤에 포함된 컨트롤이 컨트롤 상태를 가지는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 Control)
IsEnabled

컨트롤을 사용할 수 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 WebControl)
IsTrackingViewState

서버 컨트롤에서 해당 뷰 상태의 변경 사항을 저장하는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 Control)
IsViewStateEnabled

이 컨트롤의 뷰 상태를 사용할 수 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 Control)
LabelStyle

ToolZone 컨트롤 내에서 편집 컨트롤과 함께 나타나는 레이블의 내용에 대한 스타일 특성을 가져옵니다. ToolZoneCatalogZone 등 파생된 EditorZone 컨트롤은 이 스타일을 레이블에 적용합니다.

(다음에서 상속됨 ToolZone)
LoadViewStateByID

인덱스 대신 ID별로 뷰 상태를 로드할 때 컨트롤이 참여하는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 Control)
NamingContainer

동일한 ID 속성 값을 사용하는 서버 컨트롤을 구별하기 위해 고유의 네임스페이스를 만드는 서버 컨트롤의 명명 컨테이너에 대한 참조를 가져옵니다.

(다음에서 상속됨 Control)
NewConnectionErrorMessage

사용자가 만들려는 새 연결에 대한 오류나 경고가 있을 경우 연결 UI(사용자 인터페이스)에 표시되는 메시지 텍스트를 가져오거나 설정합니다.

NoExistingConnectionInstructionText

웹 파트 컨트롤에 기존 연결이 없는 경우 연결 UI(사용자 인터페이스)의 본문에 나타나는 지침 텍스트를 가져오거나 설정합니다.

NoExistingConnectionTitle

웹 파트 컨트롤에 기존 연결이 없는 경우 연결 UI(사용자 인터페이스)의 본문에 나타나는 제목 텍스트를 가져오거나 설정합니다.

Padding

영역에서 WebPart 컨트롤이 포함된 테이블에 대한 셀 안쪽 여백 특성을 가져오거나 설정합니다.

(다음에서 상속됨 WebZone)
Page

서버 컨트롤이 들어 있는 Page 인스턴스에 대한 참조를 가져옵니다.

(다음에서 상속됨 Control)
Parent

페이지 컨트롤 계층 구조에서 서버 컨트롤의 부모 컨트롤에 대한 참조를 가져옵니다.

(다음에서 상속됨 Control)
PartChromePadding

WebPart 컨트롤의 내용과 컨트롤 테두리 사이의 거리를 가져오거나 설정합니다.

(다음에서 상속됨 WebZone)
PartChromeStyle

영역에 포함된 웹 파트 컨트롤의 테두리에 적용되는 스타일 특징을 가져옵니다.

(다음에서 상속됨 WebZone)
PartChromeType

ConnectionsZone 컨트롤에 포함된 서버 컨트롤을 둘러싸는 테두리 형식을 가져오거나 설정합니다.

PartStyle

영역에 포함된 각 웹 파트 컨트롤의 테두리와 내용에 적용되는 스타일 특징을 가져옵니다.

(다음에서 상속됨 WebZone)
PartTitleStyle

영역에 포함된 각 웹 파트 컨트롤에 대한 제목 표시줄 내용에 적용할 스타일 특성을 가져옵니다.

(다음에서 상속됨 WebZone)
ProvidersInstructionText

연결이 이미 설정된 경우 연결 UI(사용자 인터페이스)의 공급자 구역에 표시되는 지침 텍스트를 가져오거나 설정합니다.

ProvidersTitle

연결이 이미 설정된 경우 연결 UI(사용자 인터페이스)의 공급자 구역 위에 표시되는 지침 텍스트를 가져오거나 설정합니다.

RenderClientScript

웹 파트 페이지에서 클라이언트 스크립트를 렌더링할지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 WebZone)
RenderingCompatibility

렌더링된 HTML이 호환될 ASP.NET 버전을 지정하는 값을 가져옵니다.

(다음에서 상속됨 Control)
SendText

연결 UI(사용자 인터페이스) 구역에서 소비자에 데이터를 보낼 명명된 공급자 앞에 표시되는 텍스트를 가져오거나 설정합니다.

SendToText

연결 UI(사용자 인터페이스) 구역에서 공급자가 데이터를 보낼 명명된 소비자 앞에 표시되는 텍스트를 가져오거나 설정합니다.

Site

디자인 화면에서 렌더링될 때 현재 컨트롤을 호스팅하는 컨테이너 관련 정보를 가져옵니다.

(다음에서 상속됨 Control)
SkinID

컨트롤에 적용할 스킨을 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
Style

웹 서버 컨트롤의 외부 태그에서 스타일 특성으로 렌더링할 텍스트 특성의 컬렉션을 가져옵니다.

(다음에서 상속됨 WebControl)
SupportsDisabledAttribute

컨트롤의 IsEnabled 속성이 false인 경우 컨트롤이 렌더링된 HTML 요소의 disabled 특성을 "disabled"로 설정할지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 CompositeControl)
TabIndex

웹 서버 컨트롤의 탭 인덱스를 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
TagKey

이 웹 서버 컨트롤에 해당하는 HtmlTextWriterTag 값을 가져옵니다. 이 속성은 주로 컨트롤 개발자가 사용합니다.

(다음에서 상속됨 WebZone)
TagName

컨트롤 태그의 이름을 가져옵니다. 이 속성은 주로 컨트롤 개발자가 사용합니다.

(다음에서 상속됨 WebControl)
TemplateControl

이 컨트롤이 포함된 템플릿의 참조를 가져오거나 설정합니다.

(다음에서 상속됨 Control)
TemplateSourceDirectory

Page 또는 현재 서버 컨트롤이 들어 있는 UserControl의 가상 디렉터리를 가져옵니다.

(다음에서 상속됨 Control)
ToolTip

마우스 포인터를 웹 서버 컨트롤 위로 가져갈 때 표시되는 텍스트를 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)
UniqueID

서버 컨트롤에 대해 계층적으로 정규화된 고유 식별자를 가져옵니다.

(다음에서 상속됨 Control)
ValidateRequestMode

잠재적으로 위험한 값이 있는지 확인하기 위해 컨트롤에서 브라우저의 클라이언트 입력을 검사하는지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 Control)
VerbButtonType

영역에서 동사를 표현하는 데 사용되는 단추 종류를 가져오거나 설정합니다.

(다음에서 상속됨 WebZone)
VerbStyle

영역의 웹 파트 컨트롤에 연결된 UI(사용자 인터페이스) 동사에 대한 스타일 특성을 가져옵니다.

(다음에서 상속됨 WebZone)
ViewState

같은 페이지에 대한 여러 개의 요청 전반에 서버 컨트롤의 뷰 상태를 저장하고 복원할 수 있도록 하는 상태 정보 사전을 가져옵니다.

(다음에서 상속됨 Control)
ViewStateIgnoresCase

StateBag 개체가 대/소문자를 구분하는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 Control)
ViewStateMode

이 컨트롤의 뷰 상태 모드를 가져오거나 설정합니다.

(다음에서 상속됨 Control)
Visible

페이지에서 서버 컨트롤이 UI(사용자 인터페이스) 요소로 렌더링되는지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 ToolZone)
WebPartManager

웹 파트 페이지에서 WebPartManager 컨트롤에 연결된 WebZone 컨트롤에 대한 참조를 가져옵니다.

(다음에서 상속됨 WebZone)
WebPartToConnect

연결하기 위해 현재 선택된 WebPart 컨트롤을 가져옵니다.

Width

웹 서버 컨트롤의 너비를 가져오거나 설정합니다.

(다음에서 상속됨 WebControl)

메서드

AddAttributesToRender(HtmlTextWriter)

지정된 HtmlTextWriterTag에 렌더링되어야 하는 HTML 특성 및 스타일을 추가합니다. 이 메서드는 주로 컨트롤 개발자에 의해 사용됩니다.

(다음에서 상속됨 WebControl)
AddedControl(Control, Int32)

자식 컨트롤이 Control 개체의 Controls 컬렉션에 추가된 후 호출됩니다.

(다음에서 상속됨 Control)
AddParsedSubObject(Object)

XML 또는 HTML 요소가 구문 분석되었음을 서버 컨트롤에 알리고 서버 컨트롤의 ControlCollection 개체에 요소를 추가합니다.

(다음에서 상속됨 Control)
ApplyStyle(Style)

지정된 스타일의 비어 있지 않은 요소를 웹 컨트롤에 복사하고 컨트롤의 기존 스타일 요소를 덮어씁니다. 이 메서드는 주로 컨트롤 개발자가 사용합니다.

(다음에서 상속됨 WebControl)
ApplyStyleSheetSkin(Page)

페이지 스타일시트에 정의된 스타일 속성을 컨트롤에 적용합니다.

(다음에서 상속됨 Control)
BeginRenderTracing(TextWriter, Object)

렌더링 데이터의 디자인 타임 추적을 시작합니다.

(다음에서 상속됨 Control)
BuildProfileTree(String, Boolean)

서버 컨트롤에 대한 정보를 수집하고, 페이지에 대해 추적이 활성화된 경우 표시할 Trace 속성에 이 정보를 전달합니다.

(다음에서 상속됨 Control)
ClearCachedClientID()

캐시된 ClientID 값을 null로 설정합니다.

(다음에서 상속됨 Control)
ClearChildControlState()

서버 컨트롤의 자식 컨트롤에 대한 컨트롤 상태 정보를 삭제합니다.

(다음에서 상속됨 Control)
ClearChildState()

서버 컨트롤의 모든 자식 컨트롤에 대한 뷰 상태 정보와 컨트롤 상태 정보를 삭제합니다.

(다음에서 상속됨 Control)
ClearChildViewState()

서버 컨트롤의 모든 자식 컨트롤에 대한 뷰 상태 정보를 삭제합니다.

(다음에서 상속됨 Control)
ClearEffectiveClientIDMode()

현재 컨트롤 인스턴스 및 자식 컨트롤의 ClientIDMode 속성을 Inherit로 설정합니다.

(다음에서 상속됨 Control)
Close()

ConnectionsZone 컨트롤에서 만든 연결 UI(사용자 인터페이스)를 닫습니다.

CopyBaseAttributes(WebControl)

Style 개체에 캡슐화하지 않은 속성을 지정된 웹 서버 컨트롤에서 이 메서드가 호출된 원본 웹 서버 컨트롤에 복사합니다. 이 메서드는 주로 컨트롤 개발자에 의해 사용됩니다.

(다음에서 상속됨 WebControl)
CreateChildControls()

서버에 다시 게시하거나 렌더링하기 위한 준비 작업으로 ConnectionsZone 컨트롤에 포함되는 모든 자식 컨트롤을 만듭니다.

CreateControlCollection()

서버 컨트롤의 자식 컨트롤(리터럴 및 서버)을 보유할 새 ControlCollection 개체를 만듭니다.

(다음에서 상속됨 Control)
CreateControlStyle()

WebControl 클래스에서 모든 스타일 관련 속성을 구현하기 위해 내부적으로 사용되는 스타일 개체를 만듭니다. 이 메서드는 주로 컨트롤 개발자에 의해 사용됩니다.

(다음에서 상속됨 WebControl)
DataBind()

CompositeControl과 그 자식 컨트롤 모두에 데이터 소스를 바인딩합니다.

(다음에서 상속됨 CompositeControl)
DataBind(Boolean)

DataBinding 이벤트를 발생시키는 옵션을 사용하여, 호출된 서버 컨트롤과 모든 자식 컨트롤에 데이터 소스를 바인딩합니다.

(다음에서 상속됨 Control)
DataBindChildren()

데이터 소스를 서버 컨트롤의 자식 컨트롤에 바인딩합니다.

(다음에서 상속됨 Control)
Dispose()

서버 컨트롤이 메모리에서 해제되기 전에 해당 서버 컨트롤에서 최종 정리 작업을 수행하도록 합니다.

(다음에서 상속됨 Control)
EndRenderTracing(TextWriter, Object)

렌더링 데이터의 디자인 타임 추적을 종료합니다.

(다음에서 상속됨 Control)
EnsureChildControls()

서버 컨트롤에 자식 컨트롤이 있는지 확인합니다. 서버 컨트롤에 자식 컨트롤이 없으면 자식 컨트롤을 만듭니다.

(다음에서 상속됨 Control)
EnsureID()

ID가 할당되지 않은 컨트롤의 ID를 만듭니다.

(다음에서 상속됨 Control)
Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
FindControl(String)

지정된 id 매개 변수를 사용하여 서버 컨트롤의 현재 명명 컨테이너를 검색합니다.

(다음에서 상속됨 Control)
FindControl(String, Int32)

현재 명명 컨테이너에서 특정 id와 함께 pathOffset 매개 변수에 지정된 검색용 정수를 사용하여 서버 컨트롤을 검색합니다. 이 버전의 FindControl 메서드를 재정의해서는 안됩니다.

(다음에서 상속됨 Control)
Focus()

컨트롤에 입력 포커스를 설정합니다.

(다음에서 상속됨 Control)
GetDesignModeState()

컨트롤의 디자인 타임 데이터를 가져옵니다.

(다음에서 상속됨 Control)
GetEffectiveChromeType(Part)

영역의 PartChromeType 속성과 웹 파트 페이지의 현재 디스플레이 모드가 주어진 경우 WebPart 컨트롤의 실제 적용되거나 유효한 현재 PartChromeType 값을 반환합니다.

(다음에서 상속됨 WebZone)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetRouteUrl(Object)

루트 매개 변수 집합에 해당하는 URL을 가져옵니다.

(다음에서 상속됨 Control)
GetRouteUrl(RouteValueDictionary)

루트 매개 변수 집합에 해당하는 URL을 가져옵니다.

(다음에서 상속됨 Control)
GetRouteUrl(String, Object)

루트 매개 변수 집합 및 루트 이름에 해당하는 URL을 가져옵니다.

(다음에서 상속됨 Control)
GetRouteUrl(String, RouteValueDictionary)

루트 매개 변수 집합 및 루트 이름에 해당하는 URL을 가져옵니다.

(다음에서 상속됨 Control)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
GetUniqueIDRelativeTo(Control)

지정된 컨트롤의 UniqueID 속성에서 접두사 부분을 반환합니다.

(다음에서 상속됨 Control)
HasControls()

서버 컨트롤에 자식 컨트롤이 있는지 확인합니다.

(다음에서 상속됨 Control)
HasEvents()

이벤트가 컨트롤이나 자식 컨트롤에 등록되었는지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 Control)
IsLiteralContent()

서버 컨트롤에 리터럴 내용만 저장되어 있는지 확인합니다.

(다음에서 상속됨 Control)
LoadControlState(Object)

SaveControlState() 메서드에서 저장한 이전 페이지 요청에서 컨트롤 상태 정보를 복원합니다.

LoadViewState(Object)

SaveViewState() 메서드로 저장한 이전 페이지 요청에서 뷰 상태 정보를 복원합니다.

MapPathSecure(String)

가상 경로(절대 또는 상대)가 매핑되는 실제 경로를 가져옵니다.

(다음에서 상속됨 Control)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
MergeStyle(Style)

지정된 스타일의 비어 있지 않은 요소를 웹 컨트롤에 복사하지만 컨트롤의 기존 요소를 덮어쓰지 않습니다. 이 메서드는 주로 컨트롤 개발자에 의해 사용됩니다.

(다음에서 상속됨 WebControl)
OnBubbleEvent(Object, EventArgs)

서버 컨트롤의 이벤트가 페이지의 UI 서버 컨트롤 계층 구조에 전달되었는지 여부를 확인합니다.

(다음에서 상속됨 Control)
OnDataBinding(EventArgs)

DataBinding 이벤트를 발생시킵니다.

(다음에서 상속됨 Control)
OnDisplayModeChanged(Object, WebPartDisplayModeEventArgs)

DisplayModeChanged 이벤트를 발생시킵니다.

OnInit(EventArgs)

Init 이벤트를 발생시킵니다.

OnLoad(EventArgs)

Load 이벤트를 발생시킵니다.

(다음에서 상속됨 Control)
OnPreRender(EventArgs)

PreRender 이벤트를 발생시킵니다.

(다음에서 상속됨 WebZone)
OnSelectedWebPartChanged(Object, WebPartEventArgs)

SelectedWebPartChanged 이벤트를 발생시킵니다.

OnUnload(EventArgs)

Unload 이벤트를 발생시킵니다.

(다음에서 상속됨 Control)
OpenFile(String)

파일을 읽는 데 사용되는 Stream을 가져옵니다.

(다음에서 상속됨 Control)
RaiseBubbleEvent(Object, EventArgs)

이벤트 소스와 해당 정보를 컨트롤의 부모 컨트롤에 할당합니다.

(다음에서 상속됨 Control)
RaisePostBackEvent(String)

ConnectionsZone 컨트롤이 들어 있는 폼이 서버에 다시 게시될 때 이 컨트롤에 대한 이벤트를 발생시킵니다.

RecreateChildControls()

CompositeControl에서 파생된 컨트롤의 자식 컨트롤을 다시 만듭니다.

(다음에서 상속됨 CompositeControl)
RemovedControl(Control)

자식 컨트롤이 Control 개체의 Controls 컬렉션에서 제거된 후 호출됩니다.

(다음에서 상속됨 Control)
Render(HtmlTextWriter)

지정된 ConnectionsZone 개체에 HtmlTextWriter 컨트롤의 내용을 렌더링합니다.

RenderBeginTag(HtmlTextWriter)

영역 컨트롤의 여는 HTML 태그를 지정된 HtmlTextWriter 개체로 렌더링합니다.

(다음에서 상속됨 WebZone)
RenderBody(HtmlTextWriter)

ConnectionsZone 컨트롤의 본문 구역 내용을 웹 페이지에 내용을 쓰는 HtmlTextWriter 개체로 보냅니다.

RenderChildren(HtmlTextWriter)

클라이언트에서 렌더링될 내용을 쓰는 제공된 HtmlTextWriter 개체에 서버 컨트롤 자식의 내용을 출력합니다.

(다음에서 상속됨 Control)
RenderContents(HtmlTextWriter)

여는 태그와 닫는 태그 사이에 있는 영역 컨트롤의 내용 전체를 지정된 HtmlTextWriter 개체로 렌더링합니다.

(다음에서 상속됨 WebZone)
RenderControl(HtmlTextWriter)

제공된 HtmlTextWriter 개체로 서버 컨트롤 콘텐츠를 출력하고 추적을 사용하는 경우 컨트롤에 대한 추적 정보를 저장합니다.

(다음에서 상속됨 Control)
RenderControl(HtmlTextWriter, ControlAdapter)

제공된 HtmlTextWriter 개체를 사용하여 제공된 ControlAdapter 개체에 서버 컨트롤 콘텐츠를 출력합니다.

(다음에서 상속됨 Control)
RenderEndTag(HtmlTextWriter)

지정된 작성기에 컨트롤의 HTML 닫는 태그를 렌더링합니다. 이 메서드는 주로 컨트롤 개발자에 의해 사용됩니다.

(다음에서 상속됨 WebControl)
RenderFooter(HtmlTextWriter)

ToolZone 컨트롤의 바닥글에 사용되는 동사를 렌더링하기 위해 기본 메서드를 재정의합니다.

(다음에서 상속됨 ToolZone)
RenderHeader(HtmlTextWriter)

ToolZone 컨트롤에 필요한 머리글 영역에 대한 특수 렌더링을 제공하기 위해 기본 메서드를 재정의합니다.

(다음에서 상속됨 ToolZone)
RenderVerb(HtmlTextWriter, WebPartVerb)

ToolZone 컨트롤의 개별 동사를 렌더링합니다.

(다음에서 상속됨 ToolZone)
RenderVerbs(HtmlTextWriter)

ConnectionsZone 컨트롤의 영역 수준 동사를 렌더링합니다.

ResolveAdapter()

지정된 컨트롤을 렌더링하는 컨트롤 어댑터를 가져옵니다.

(다음에서 상속됨 Control)
ResolveClientUrl(String)

브라우저에 사용할 수 있는 URL을 가져옵니다.

(다음에서 상속됨 Control)
ResolveUrl(String)

URL을 요청 클라이언트에서 사용할 수 있는 URL로 변환합니다.

(다음에서 상속됨 Control)
SaveControlState()

마지막으로 서버에 페이지를 다시 게시한 이후에 발생한 웹 파트 컨트롤 상태의 변경 내용을 저장합니다.

SaveViewState()

마지막으로 서버에 페이지를 다시 게시한 이후에 발생한 ConnectionsZone 컨트롤 뷰 상태의 변경 내용을 저장합니다.

SetDesignModeState(IDictionary)

컨트롤에 대한 디자인 타임 데이터를 설정합니다.

(다음에서 상속됨 Control)
SetRenderMethodDelegate(RenderMethod)

이벤트 처리기 대리자를 할당하여 서버 컨트롤과 그 콘텐츠를 부모 컨트롤로 렌더링합니다.

(다음에서 상속됨 Control)
SetTraceData(Object, Object)

추적 데이터 키와 추적 데이터 값을 사용하여 렌더링 데이터의 디자인 타임 추적을 위한 추적 데이터를 설정합니다.

(다음에서 상속됨 Control)
SetTraceData(Object, Object, Object)

추적 개체, 추적 데이터 키와 추적 데이터 값을 사용하여 렌더링 데이터의 디자인 타임 추적을 위한 추적 데이터를 설정합니다.

(다음에서 상속됨 Control)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)
TrackViewState()

ConnectionsZone 컨트롤의 뷰 상태 변경 내용을 컨트롤의 StateBag 개체에 저장할 수 있도록 추적합니다.

이벤트

DataBinding

서버 컨트롤에서 데이터 소스에 바인딩할 때 발생합니다.

(다음에서 상속됨 Control)
Disposed

ASP.NET 페이지가 요청될 때 서버 컨트롤 주기의 마지막 단계로 서버 컨트롤이 메모리에서 해제될 때 발생합니다.

(다음에서 상속됨 Control)
Init

서버 컨트롤 주기의 첫 단계로 서버 컨트롤을 초기화할 때 이 이벤트가 발생합니다.

(다음에서 상속됨 Control)
Load

Page 개체에 서버 컨트롤을 로드할 때 발생합니다.

(다음에서 상속됨 Control)
PreRender

Control 개체가 로드된 후, 렌더링 전에 발생합니다.

(다음에서 상속됨 Control)
Unload

서버 컨트롤이 메모리에서 언로드될 때 발생합니다.

(다음에서 상속됨 Control)

명시적 인터페이스 구현

IAttributeAccessor.GetAttribute(String)

지정한 이름이 있는 웹 컨트롤의 특성을 가져옵니다.

(다음에서 상속됨 WebControl)
IAttributeAccessor.SetAttribute(String, String)

웹 컨트롤의 특성을 지정한 이름과 값으로 설정합니다.

(다음에서 상속됨 WebControl)
ICompositeControlDesignerAccessor.RecreateChildControls()

디자이너가 디자인 타임 환경에서 합성 컨트롤의 자식 컨트롤 컬렉션을 다시 만들 수 있도록 합니다.

(다음에서 상속됨 CompositeControl)
IControlBuilderAccessor.ControlBuilder

이 멤버에 대한 설명은 ControlBuilder를 참조하세요.

(다음에서 상속됨 Control)
IControlDesignerAccessor.GetDesignModeState()

이 멤버에 대한 설명은 GetDesignModeState()를 참조하세요.

(다음에서 상속됨 Control)
IControlDesignerAccessor.SetDesignModeState(IDictionary)

이 멤버에 대한 설명은 SetDesignModeState(IDictionary)를 참조하세요.

(다음에서 상속됨 Control)
IControlDesignerAccessor.SetOwnerControl(Control)

이 멤버에 대한 설명은 SetOwnerControl(Control)를 참조하세요.

(다음에서 상속됨 Control)
IControlDesignerAccessor.UserData

이 멤버에 대한 설명은 UserData를 참조하세요.

(다음에서 상속됨 Control)
IDataBindingsAccessor.DataBindings

이 멤버에 대한 설명은 DataBindings를 참조하세요.

(다음에서 상속됨 Control)
IDataBindingsAccessor.HasDataBindings

이 멤버에 대한 설명은 HasDataBindings를 참조하세요.

(다음에서 상속됨 Control)
IExpressionsAccessor.Expressions

이 멤버에 대한 설명은 Expressions를 참조하세요.

(다음에서 상속됨 Control)
IExpressionsAccessor.HasExpressions

이 멤버에 대한 설명은 HasExpressions를 참조하세요.

(다음에서 상속됨 Control)
IParserAccessor.AddParsedSubObject(Object)

이 멤버에 대한 설명은 AddParsedSubObject(Object)를 참조하세요.

(다음에서 상속됨 Control)
IPostBackEventHandler.RaisePostBackEvent(String)

RaisePostBackEvent(String) 메서드를 구현합니다.

(다음에서 상속됨 ToolZone)

확장 메서드

FindDataSourceControl(Control)

지정된 컨트롤에 대한 데이터 컨트롤에 연결된 데이터 소스를 반환합니다.

FindFieldTemplate(Control, String)

지정된 컨트롤의 명명 컨테이너에서 지정된 열에 대한 필드 템플릿을 반환합니다.

FindMetaTable(Control)

상위 데이터 컨트롤에 대한 메타테이블 개체를 반환합니다.

GetDefaultValues(INamingContainer)

지정된 데이터 컨트롤의 기본값에 대한 컬렉션을 가져옵니다.

GetMetaTable(INamingContainer)

지정한 데이터 컨트롤에 대한 테이블 메타데이터를 가져옵니다.

SetMetaTable(INamingContainer, MetaTable)

지정한 데이터 컨트롤에 대한 테이블 메타데이터를 설정합니다.

SetMetaTable(INamingContainer, MetaTable, IDictionary<String,Object>)

지정된 데이터 컨트롤에 대한 테이블 메타데이터 및 기본값 매핑을 설정합니다.

SetMetaTable(INamingContainer, MetaTable, Object)

지정된 데이터 컨트롤에 대한 테이블 메타데이터 및 기본값 매핑을 설정합니다.

TryGetMetaTable(INamingContainer, MetaTable)

테이블 메타데이터를 사용할 수 있는지 여부를 결정합니다.

EnableDynamicData(INamingContainer, Type)

지정된 데이터 컨트롤에 Dynamic Data 동작을 사용하도록 설정합니다.

EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>)

지정된 데이터 컨트롤에 Dynamic Data 동작을 사용하도록 설정합니다.

EnableDynamicData(INamingContainer, Type, Object)

지정된 데이터 컨트롤에 Dynamic Data 동작을 사용하도록 설정합니다.

적용 대상

추가 정보