/
DesignerAutoFormatStyle.xml
105 lines (97 loc) · 7.06 KB
/
DesignerAutoFormatStyle.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
<Type Name="DesignerAutoFormatStyle" FullName="System.Web.UI.Design.DesignerAutoFormatStyle">
<TypeSignature Language="C#" Value="public class DesignerAutoFormatStyle : System.Web.UI.WebControls.Style" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit DesignerAutoFormatStyle extends System.Web.UI.WebControls.Style" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.Design.DesignerAutoFormatStyle" />
<TypeSignature Language="VB.NET" Value="Public Class DesignerAutoFormatStyle
Inherits Style" />
<TypeSignature Language="F#" Value="type DesignerAutoFormatStyle = class
 inherit Style" />
<TypeSignature Language="C++ CLI" Value="public ref class DesignerAutoFormatStyle : System::Web::UI::WebControls::Style" />
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.WebControls.Style</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents the style for a <see cref="T:System.Web.UI.Design.DesignerAutoFormat" /> object. This class is used primarily by control developers.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.Design.DesignerAutoFormatStyle> class encapsulates the properties that control the appearance of a Web server control for automatic formatting at design time. You can specify the background color, font color, and the vertical alignment of a control by setting the <xref:System.Web.UI.WebControls.Style.BackColor%2A>, <xref:System.Web.UI.WebControls.Style.ForeColor%2A>, and <xref:System.Web.UI.Design.DesignerAutoFormatStyle.VerticalAlign%2A> properties, respectively.
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.Design.DesignerAutoFormat" />
<altmember cref="P:System.Web.UI.Design.DesignerAutoFormatStyle.VerticalAlign" />
<altmember cref="T:System.Web.UI.Design.DesignerAutoFormatCollection" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DesignerAutoFormatStyle ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.Design.DesignerAutoFormatStyle.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 DesignerAutoFormatStyle();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<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.DesignerAutoFormatStyle" /> class using default values.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="VerticalAlign">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.VerticalAlign VerticalAlign { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Web.UI.WebControls.VerticalAlign VerticalAlign" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.Design.DesignerAutoFormatStyle.VerticalAlign" />
<MemberSignature Language="VB.NET" Value="Public Property VerticalAlign As VerticalAlign" />
<MemberSignature Language="F#" Value="member this.VerticalAlign : System.Web.UI.WebControls.VerticalAlign with get, set" Usage="System.Web.UI.Design.DesignerAutoFormatStyle.VerticalAlign" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Web::UI::WebControls::VerticalAlign VerticalAlign { System::Web::UI::WebControls::VerticalAlign get(); void set(System::Web::UI::WebControls::VerticalAlign value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.VerticalAlign</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the vertical alignment of the contents for the associated control.</summary>
<value>One of the <see cref="T:System.Web.UI.WebControls.VerticalAlign" /> values. The default is <see langword="NotSet" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Web.UI.WebControls.VerticalAlign> property to specify the vertical alignment of the contents for the associated control. If the <xref:System.Web.UI.WebControls.VerticalAlign> property does not apply to an associated control, the setting is ignored. For the defined values for the vertical alignment enumeration, see <xref:System.Web.UI.WebControls.VerticalAlign>.
## Examples
The following code example demonstrates how to use a <xref:System.Web.UI.Design.DesignerAutoFormat> object and the <xref:System.Web.UI.Design.DesignerAutoFormat.Style%2A> property to apply formatting to a control.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/DesignerAutoFormat/CS/DesignerAutoFormat.cs" id="Snippet3":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/DesignerAutoFormat/VB/DesignerAutoFormat.vb" id="Snippet3":::
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.VerticalAlign" />
</Docs>
</Member>
</Members>
</Type>