-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
VisualStyleElement+Window+SmallFrameRightSizingTemplate.xml
93 lines (81 loc) · 6.93 KB
/
VisualStyleElement+Window+SmallFrameRightSizingTemplate.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
<Type Name="VisualStyleElement+Window+SmallFrameRightSizingTemplate" FullName="System.Windows.Forms.VisualStyles.VisualStyleElement+Window+SmallFrameRightSizingTemplate">
<TypeSignature Language="C#" Value="public static class VisualStyleElement.Window.SmallFrameRightSizingTemplate" />
<TypeSignature Language="ILAsm" Value=".class nested public auto ansi abstract sealed beforefieldinit VisualStyleElement/Window/SmallFrameRightSizingTemplate extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Windows.Forms.VisualStyles.VisualStyleElement.Window.SmallFrameRightSizingTemplate" />
<TypeSignature Language="VB.NET" Value="Public Class VisualStyleElement.Window.SmallFrameRightSizingTemplate" />
<TypeSignature Language="F#" Value="type VisualStyleElement.Window.SmallFrameRightSizingTemplate = class" />
<TypeSignature Language="C++ CLI" Value="public: ref class VisualStyleElement::Window::SmallFrameRightSizingTemplate abstract sealed" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="windowsdesktop-8.0;windowsdesktop-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides a <see cref="T:System.Windows.Forms.VisualStyles.VisualStyleElement" /> for the sizing template of the right border of a small window. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.VisualStyles.VisualStyleElement.Window.SmallFrameRightSizingTemplate.Normal%2A> property of the <xref:System.Windows.Forms.VisualStyles.VisualStyleElement.Window.SmallFrameRightSizingTemplate> class returns a <xref:System.Windows.Forms.VisualStyles.VisualStyleElement> that represents the sizing template of the right border of a small window, such as a tool window.
## Examples
The following code example demonstrates how to create a <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer> with the <xref:System.Windows.Forms.VisualStyles.VisualStyleElement> returned by the <xref:System.Windows.Forms.VisualStyles.VisualStyleElement.Window.SmallFrameRightSizingTemplate.Normal%2A> property. To run this example, paste it into a Windows Form. Handle the form's <xref:System.Windows.Forms.Control.Paint> event and call the `DrawVisualStyleElementWindowSmallFrameRightSizingTemplate1` method from the <xref:System.Windows.Forms.Control.Paint> event-handling method, passing `e` as <xref:System.Windows.Forms.PaintEventArgs>.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet433":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet433":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.VisualStyles.VisualStyleElement" />
<altmember cref="T:System.Windows.Forms.VisualStyles.VisualStyleRenderer" />
</Docs>
<Members>
<Member MemberName="Normal">
<MemberSignature Language="C#" Value="public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get; }" />
<MemberSignature Language="ILAsm" Value=".property class System.Windows.Forms.VisualStyles.VisualStyleElement Normal" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.VisualStyles.VisualStyleElement.Window.SmallFrameRightSizingTemplate.Normal" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property Normal As VisualStyleElement" />
<MemberSignature Language="F#" Value="static member Normal : System.Windows.Forms.VisualStyles.VisualStyleElement" Usage="System.Windows.Forms.VisualStyles.VisualStyleElement.Window.SmallFrameRightSizingTemplate.Normal" />
<MemberSignature Language="C++ CLI" Value="public:
 static property System::Windows::Forms::VisualStyles::VisualStyleElement ^ Normal { System::Windows::Forms::VisualStyles::VisualStyleElement ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Forms.VisualStyles.VisualStyleElement</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a visual style element that represents the sizing template of the right border of a small window.</summary>
<value>A <see cref="T:System.Windows.Forms.VisualStyles.VisualStyleElement" /> that represents the sizing template of the right border of a small window.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can use the <xref:System.Windows.Forms.VisualStyles.VisualStyleElement> returned by the <xref:System.Windows.Forms.VisualStyles.VisualStyleElement.Window.SmallFrameRightSizingTemplate.Normal%2A> property to create a <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer>.
## Examples
The following code example demonstrates how to create a <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer> with the <xref:System.Windows.Forms.VisualStyles.VisualStyleElement> returned by the <xref:System.Windows.Forms.VisualStyles.VisualStyleElement.Window.SmallFrameRightSizingTemplate.Normal%2A> property. To run this example, paste it into a Windows Form. Handle the form's <xref:System.Windows.Forms.Control.Paint> event and call the `DrawVisualStyleElementWindowSmallFrameRightSizingTemplate1` method from the <xref:System.Windows.Forms.Control.Paint> event-handling method, passing `e` as <xref:System.Windows.Forms.PaintEventArgs>.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet433":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet433":::
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>