-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
BaselineAlignment.xml
250 lines (245 loc) · 12.4 KB
/
BaselineAlignment.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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<Type Name="BaselineAlignment" FullName="System.Windows.BaselineAlignment">
<TypeSignature Language="C#" Value="public enum BaselineAlignment" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed BaselineAlignment extends System.Enum" />
<TypeSignature Language="DocId" Value="T:System.Windows.BaselineAlignment" />
<TypeSignature Language="VB.NET" Value="Public Enum BaselineAlignment" />
<TypeSignature Language="F#" Value="type BaselineAlignment = " />
<TypeSignature Language="C++ CLI" Value="public enum class BaselineAlignment" />
<AssemblyInfo>
<AssemblyName>PresentationCore</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>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<summary>Describes how the baseline for a text-based element is positioned on the vertical axis, relative to the established baseline for text.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use the <xref:System.Windows.Documents.Inline.BaselineAlignment%2A> property to align text within a containing box (in this case, a <xref:System.Windows.Documents.Paragraph>).
:::code language="xaml" source="~/snippets/csharp/System.Windows/BaselineAlignment/Overview/baselinealignmentexample.xaml" id="Snippetbaselinealignmentexamplewholepage":::
The following illustration shows the result of the code above.
![Baseline Alignment](~/add/media/baselinealignment.png "Baseline Alignment")
]]></format>
</remarks>
<altmember cref="P:System.Windows.Media.TextFormatting.TextRunProperties.BaselineAlignment" />
<altmember cref="P:System.Windows.Documents.Inline.BaselineAlignment" />
</Docs>
<Members>
<Member MemberName="Baseline">
<MemberSignature Language="C#" Value="Baseline" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.BaselineAlignment Baseline = int32(3)" />
<MemberSignature Language="DocId" Value="F:System.Windows.BaselineAlignment.Baseline" />
<MemberSignature Language="VB.NET" Value="Baseline" />
<MemberSignature Language="F#" Value="Baseline = 3" Usage="System.Windows.BaselineAlignment.Baseline" />
<MemberSignature Language="C++ CLI" Value="Baseline" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.BaselineAlignment</ReturnType>
</ReturnValue>
<MemberValue>3</MemberValue>
<Docs>
<summary>A baseline that is aligned at the actual baseline of the containing box.</summary>
</Docs>
</Member>
<Member MemberName="Bottom">
<MemberSignature Language="C#" Value="Bottom" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.BaselineAlignment Bottom = int32(2)" />
<MemberSignature Language="DocId" Value="F:System.Windows.BaselineAlignment.Bottom" />
<MemberSignature Language="VB.NET" Value="Bottom" />
<MemberSignature Language="F#" Value="Bottom = 2" Usage="System.Windows.BaselineAlignment.Bottom" />
<MemberSignature Language="C++ CLI" Value="Bottom" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.BaselineAlignment</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>A baseline that is aligned at the lower edge of the containing box.</summary>
</Docs>
</Member>
<Member MemberName="Center">
<MemberSignature Language="C#" Value="Center" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.BaselineAlignment Center = int32(1)" />
<MemberSignature Language="DocId" Value="F:System.Windows.BaselineAlignment.Center" />
<MemberSignature Language="VB.NET" Value="Center" />
<MemberSignature Language="F#" Value="Center = 1" Usage="System.Windows.BaselineAlignment.Center" />
<MemberSignature Language="C++ CLI" Value="Center" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.BaselineAlignment</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>A baseline that is aligned to the center of the containing box.</summary>
</Docs>
</Member>
<Member MemberName="Subscript">
<MemberSignature Language="C#" Value="Subscript" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.BaselineAlignment Subscript = int32(6)" />
<MemberSignature Language="DocId" Value="F:System.Windows.BaselineAlignment.Subscript" />
<MemberSignature Language="VB.NET" Value="Subscript" />
<MemberSignature Language="F#" Value="Subscript = 6" Usage="System.Windows.BaselineAlignment.Subscript" />
<MemberSignature Language="C++ CLI" Value="Subscript" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.BaselineAlignment</ReturnType>
</ReturnValue>
<MemberValue>6</MemberValue>
<Docs>
<summary>A baseline that is aligned at the subscript position of the containing box.</summary>
</Docs>
</Member>
<Member MemberName="Superscript">
<MemberSignature Language="C#" Value="Superscript" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.BaselineAlignment Superscript = int32(7)" />
<MemberSignature Language="DocId" Value="F:System.Windows.BaselineAlignment.Superscript" />
<MemberSignature Language="VB.NET" Value="Superscript" />
<MemberSignature Language="F#" Value="Superscript = 7" Usage="System.Windows.BaselineAlignment.Superscript" />
<MemberSignature Language="C++ CLI" Value="Superscript" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.BaselineAlignment</ReturnType>
</ReturnValue>
<MemberValue>7</MemberValue>
<Docs>
<summary>A baseline that is aligned at the superscript position of the containing box.</summary>
</Docs>
</Member>
<Member MemberName="TextBottom">
<MemberSignature Language="C#" Value="TextBottom" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.BaselineAlignment TextBottom = int32(5)" />
<MemberSignature Language="DocId" Value="F:System.Windows.BaselineAlignment.TextBottom" />
<MemberSignature Language="VB.NET" Value="TextBottom" />
<MemberSignature Language="F#" Value="TextBottom = 5" Usage="System.Windows.BaselineAlignment.TextBottom" />
<MemberSignature Language="C++ CLI" Value="TextBottom" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.BaselineAlignment</ReturnType>
</ReturnValue>
<MemberValue>5</MemberValue>
<Docs>
<summary>A baseline that is aligned at the lower edge of the text baseline.</summary>
</Docs>
</Member>
<Member MemberName="TextTop">
<MemberSignature Language="C#" Value="TextTop" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.BaselineAlignment TextTop = int32(4)" />
<MemberSignature Language="DocId" Value="F:System.Windows.BaselineAlignment.TextTop" />
<MemberSignature Language="VB.NET" Value="TextTop" />
<MemberSignature Language="F#" Value="TextTop = 4" Usage="System.Windows.BaselineAlignment.TextTop" />
<MemberSignature Language="C++ CLI" Value="TextTop" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.BaselineAlignment</ReturnType>
</ReturnValue>
<MemberValue>4</MemberValue>
<Docs>
<summary>A baseline that is aligned at the upper edge of the text baseline.</summary>
</Docs>
</Member>
<Member MemberName="Top">
<MemberSignature Language="C#" Value="Top" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.BaselineAlignment Top = int32(0)" />
<MemberSignature Language="DocId" Value="F:System.Windows.BaselineAlignment.Top" />
<MemberSignature Language="VB.NET" Value="Top" />
<MemberSignature Language="F#" Value="Top = 0" Usage="System.Windows.BaselineAlignment.Top" />
<MemberSignature Language="C++ CLI" Value="Top" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.BaselineAlignment</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>A baseline that is aligned to the upper edge of the containing box.</summary>
</Docs>
</Member>
</Members>
</Type>