-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathGridResizeDirection.xml
145 lines (130 loc) · 8.04 KB
/
GridResizeDirection.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
<Type Name="GridResizeDirection" FullName="System.Windows.Controls.GridResizeDirection">
<TypeSignature Language="C#" Value="public enum GridResizeDirection" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed GridResizeDirection extends System.Enum" />
<TypeSignature Language="DocId" Value="T:System.Windows.Controls.GridResizeDirection" />
<TypeSignature Language="VB.NET" Value="Public Enum GridResizeDirection" />
<TypeSignature Language="F#" Value="type GridResizeDirection = " />
<TypeSignature Language="C++ CLI" Value="public enum class GridResizeDirection" />
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.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>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<summary>Specifies whether a <see cref="T:System.Windows.Controls.GridSplitter" /> control redistributes space between rows or between columns.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use this enumeration to set the <xref:System.Windows.Controls.GridSplitter.ResizeDirection%2A?displayProperty=nameWithType> property.
## Remarks
How the `Auto` enumeration value affects the redistribution of space in a <xref:System.Windows.Controls.GridSplitter> control depends on the following property values:
- If the <xref:System.Windows.FrameworkElement.HorizontalAlignment%2A> property is not set to <xref:System.Windows.HorizontalAlignment.Stretch?displayProperty=nameWithType>, space is redistributed between columns.
- If the <xref:System.Windows.FrameworkElement.HorizontalAlignment%2A> property is set to <xref:System.Windows.HorizontalAlignment.Stretch?displayProperty=nameWithType> and the <xref:System.Windows.FrameworkElement.VerticalAlignment%2A> property is not set to <xref:System.Windows.VerticalAlignment.Stretch?displayProperty=nameWithType>, space is redistributed between rows.
- If the following conditions are true, space is redistributed between columns:
- The <xref:System.Windows.FrameworkElement.HorizontalAlignment%2A> is set to <xref:System.Windows.HorizontalAlignment.Stretch?displayProperty=nameWithType>.
- The <xref:System.Windows.FrameworkElement.VerticalAlignment%2A> is set to <xref:System.Windows.VerticalAlignment.Stretch?displayProperty=nameWithType>.
- The <xref:System.Windows.FrameworkElement.ActualWidth%2A> is less than or equal to the <xref:System.Windows.FrameworkElement.ActualHeight%2A>.
- If the following conditions are true, space is redistributed between rows:
- <xref:System.Windows.FrameworkElement.HorizontalAlignment%2A> is set to <xref:System.Windows.HorizontalAlignment.Stretch?displayProperty=nameWithType>.
- <xref:System.Windows.FrameworkElement.VerticalAlignment%2A> is set to <xref:System.Windows.VerticalAlignment.Stretch?displayProperty=nameWithType>.
- <xref:System.Windows.FrameworkElement.ActualWidth%2A> is greater than the <xref:System.Windows.FrameworkElement.ActualHeight%2A>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.GridSplitter" />
<altmember cref="T:System.Windows.Controls.Grid" />
<altmember cref="P:System.Windows.Controls.GridSplitter.ResizeDirection" />
<altmember cref="T:System.Windows.Controls.GridResizeBehavior" />
</Docs>
<Members>
<Member MemberName="Auto">
<MemberSignature Language="C#" Value="Auto" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Controls.GridResizeDirection Auto = int32(0)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.GridResizeDirection.Auto" />
<MemberSignature Language="VB.NET" Value="Auto" />
<MemberSignature Language="F#" Value="Auto = 0" Usage="System.Windows.Controls.GridResizeDirection.Auto" />
<MemberSignature Language="C++ CLI" Value="Auto" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.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>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Controls.GridResizeDirection</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>Space is redistributed based on the values of the <see cref="P:System.Windows.FrameworkElement.HorizontalAlignment" />, <see cref="P:System.Windows.FrameworkElement.VerticalAlignment" />, <see cref="P:System.Windows.FrameworkElement.ActualWidth" />, and <see cref="P:System.Windows.FrameworkElement.ActualHeight" /> properties of the <see cref="T:System.Windows.Controls.GridSplitter" />.</summary>
</Docs>
</Member>
<Member MemberName="Columns">
<MemberSignature Language="C#" Value="Columns" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Controls.GridResizeDirection Columns = int32(1)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.GridResizeDirection.Columns" />
<MemberSignature Language="VB.NET" Value="Columns" />
<MemberSignature Language="F#" Value="Columns = 1" Usage="System.Windows.Controls.GridResizeDirection.Columns" />
<MemberSignature Language="C++ CLI" Value="Columns" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.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>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Controls.GridResizeDirection</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Space is redistributed between columns.</summary>
</Docs>
</Member>
<Member MemberName="Rows">
<MemberSignature Language="C#" Value="Rows" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Controls.GridResizeDirection Rows = int32(2)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.GridResizeDirection.Rows" />
<MemberSignature Language="VB.NET" Value="Rows" />
<MemberSignature Language="F#" Value="Rows = 2" Usage="System.Windows.Controls.GridResizeDirection.Rows" />
<MemberSignature Language="C++ CLI" Value="Rows" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.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>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Controls.GridResizeDirection</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>Space is redistributed between rows.</summary>
</Docs>
</Member>
</Members>
</Type>