-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
PanelDesigner.xml
166 lines (155 loc) · 11.8 KB
/
PanelDesigner.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<Type Name="PanelDesigner" FullName="System.Web.UI.Design.WebControls.PanelDesigner">
<TypeSignature Language="C#" Value="public class PanelDesigner : System.Web.UI.Design.ReadWriteControlDesigner" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit PanelDesigner extends System.Web.UI.Design.ReadWriteControlDesigner" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.Design.WebControls.PanelDesigner" />
<TypeSignature Language="VB.NET" Value="Public Class PanelDesigner
Inherits ReadWriteControlDesigner" />
<TypeSignature Language="F#" Value="type PanelDesigner = class
 inherit ReadWriteControlDesigner" />
<TypeSignature Language="C++ CLI" Value="public ref class PanelDesigner : System::Web::UI::Design::ReadWriteControlDesigner" />
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.Design.ReadWriteControlDesigner</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Obsolete("The recommended alternative is PanelContainerDesigner because it uses an EditableDesignerRegion for editing the content. Designer regions allow for better control of the content being edited. http://go.microsoft.com/fwlink/?linkid=14202")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("The recommended alternative is PanelContainerDesigner because it uses an EditableDesignerRegion for editing the content. Designer regions allow for better control of the content being edited. http://go.microsoft.com/fwlink/?linkid=14202")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides design-time support in a visual designer for the <see cref="T:System.Web.UI.WebControls.Panel" /> control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.Panel> control is used as a container for other controls, especially when controls are generated programmatically.
The <xref:System.Web.UI.Design.WebControls.PanelDesigner> class provides design-time support for <xref:System.Web.UI.WebControls.Panel> controls in a visual designer. However, for all new implementations of the Panel control, use the <xref:System.Web.UI.Design.WebControls.PanelContainerDesigner> instead of the <xref:System.Web.UI.Design.WebControls.PanelDesigner>.
In a visual designer, when you switch from Source to Design view, the markup source code that describes the associated <xref:System.Web.UI.WebControls.Panel> control is parsed and a design-time version of the control is created on the design surface. When you switch back to Source view, the design-time control is persisted to markup source code and edited into the markup for the Web page.
The <xref:System.Web.UI.Design.WebControls.PanelDesigner.MapPropertyToStyle%2A> method maps a specified property and value to a specified markup style. The <xref:System.Web.UI.Design.WebControls.PanelDesigner.OnBehaviorAttached%2A> method provides notification when a behavior is attached to the designer.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.Panel" />
<altmember cref="T:System.Web.UI.Design.ReadWriteControlDesigner" />
<altmember cref="T:System.Web.UI.Design.ControlDesigner" />
<altmember cref="T:System.Web.UI.Design.HtmlControlDesigner" />
<altmember cref="T:System.ComponentModel.Design.ComponentDesigner" />
<related type="Article" href="https://learn.microsoft.com/previous-versions/aspnet/wxh45wzs(v=vs.100)">Introduction to ASP.NET Control Designers</related>
<related type="Article" href="https://learn.microsoft.com/previous-versions/aspnet/12yydcke(v=vs.100)">Walkthrough: Creating a Basic Control Designer for a Web Server Control</related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PanelDesigner ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.Design.WebControls.PanelDesigner.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 PanelDesigner();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Web.UI.Design.WebControls.PanelDesigner" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The .NET Framework internally constructs a new instance of the <xref:System.Web.UI.Design.WebControls.PanelDesigner> class when it creates the associated <xref:System.Web.UI.WebControls.Panel> control or a copy of that control on the design surface.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.Panel" />
<altmember cref="T:System.Web.UI.Design.ReadWriteControlDesigner" />
<altmember cref="T:System.Web.UI.Design.ControlDesigner" />
<altmember cref="T:System.Web.UI.Design.HtmlControlDesigner" />
<altmember cref="T:System.ComponentModel.Design.ComponentDesigner" />
</Docs>
</Member>
<Member MemberName="MapPropertyToStyle">
<MemberSignature Language="C#" Value="protected override void MapPropertyToStyle (string propName, object varPropValue);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void MapPropertyToStyle(string propName, object varPropValue) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.Design.WebControls.PanelDesigner.MapPropertyToStyle(System.String,System.Object)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub MapPropertyToStyle (propName As String, varPropValue As Object)" />
<MemberSignature Language="F#" Value="override this.MapPropertyToStyle : string * obj -> unit" Usage="panelDesigner.MapPropertyToStyle (propName, varPropValue)" />
<MemberSignature Language="C++ CLI" Value="protected:
 override void MapPropertyToStyle(System::String ^ propName, System::Object ^ varPropValue);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="propName" Type="System.String" />
<Parameter Name="varPropValue" Type="System.Object" />
</Parameters>
<Docs>
<param name="propName">A string containing the property name.</param>
<param name="varPropValue">An object that is the property value.</param>
<summary>Maps a specified property and value to a specified markup style.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.Design.WebControls.PanelDesigner.MapPropertyToStyle%2A> method provides special handling for the <xref:System.Web.UI.WebControls.Panel.BackImageUrl%2A> and <xref:System.Web.UI.WebControls.Panel.HorizontalAlign%2A> properties, but calls the <xref:System.Web.UI.Design.ReadWriteControlDesigner.MapPropertyToStyle%2A> base method for all other values of the `propName` parameter.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.Panel" />
<altmember cref="P:System.Web.UI.WebControls.Panel.BackImageUrl" />
<altmember cref="P:System.Web.UI.WebControls.Panel.HorizontalAlign" />
<altmember cref="T:System.Web.UI.Design.ReadWriteControlDesigner" />
</Docs>
</Member>
<Member MemberName="OnBehaviorAttached">
<MemberSignature Language="C#" Value="protected override void OnBehaviorAttached ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnBehaviorAttached() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.Design.WebControls.PanelDesigner.OnBehaviorAttached" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnBehaviorAttached ()" />
<MemberSignature Language="F#" Value="override this.OnBehaviorAttached : unit -> unit" Usage="panelDesigner.OnBehaviorAttached " />
<MemberSignature Language="C++ CLI" Value="protected:
 override void OnBehaviorAttached();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("The recommended alternative is ControlDesigner.Tag. http://go.microsoft.com/fwlink/?linkid=14202")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Provides notification when a behavior is attached to the designer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.Design.WebControls.PanelDesigner.OnBehaviorAttached%2A> method calls the <xref:System.Web.UI.Design.ReadWriteControlDesigner.OnBehaviorAttached%2A> base method. Then the <xref:System.Web.UI.Design.WebControls.PanelDesigner.OnBehaviorAttached%2A> maps the <xref:System.Web.UI.WebControls.Panel.BackImageUrl%2A> and <xref:System.Web.UI.WebControls.Panel.HorizontalAlign%2A> properties to the appropriate style by using the <xref:System.Web.UI.Design.WebControls.PanelDesigner.MapPropertyToStyle%2A> method, if these properties are defined.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.Panel" />
<altmember cref="P:System.Web.UI.WebControls.Panel.BackImageUrl" />
<altmember cref="P:System.Web.UI.WebControls.Panel.HorizontalAlign" />
<altmember cref="T:System.Web.UI.Design.ReadWriteControlDesigner" />
</Docs>
</Member>
</Members>
</Type>