-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathAccessText.xml
1707 lines (1554 loc) · 98.2 KB
/
AccessText.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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="AccessText" FullName="System.Windows.Controls.AccessText">
<TypeSignature Language="C#" Value="public class AccessText : System.Windows.FrameworkElement, System.Windows.Markup.IAddChild" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit AccessText extends System.Windows.FrameworkElement implements class System.Windows.Markup.IAddChild" />
<TypeSignature Language="DocId" Value="T:System.Windows.Controls.AccessText" />
<TypeSignature Language="VB.NET" Value="Public Class AccessText
Inherits FrameworkElement
Implements IAddChild" />
<TypeSignature Language="F#" Value="type AccessText = class
 inherit FrameworkElement
 interface IAddChild" />
<TypeSignature Language="C++ CLI" Value="public ref class AccessText : System::Windows::FrameworkElement, System::Windows::Markup::IAddChild" />
<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.Windows.FrameworkElement</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Windows.Markup.IAddChild</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Windows.Markup.ContentProperty("Text")]</AttributeName>
<AttributeName Language="F#">[<System.Windows.Markup.ContentProperty("Text")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Specifies with an underscore the character that is used as the access key.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If your content has multiple underscore characters, only the first one is converted into an <xref:System.Windows.Controls.AccessText.AccessKey%2A>; the other underscores appear as normal text. If the underscore that you want converted to the access key is not the first underscore, use two consecutive underscores for any underscores that precede the one that you want to convert. For example, the following code contains an access key and displays as _Hello**W**orld:
```
<AccessText>__Hello_World</AccessText>
```
Because the underscore that precedes H is a double, the W key registers as the access key.
To use <xref:System.Windows.Controls.AccessText> as a content host in a control style, set <xref:System.Windows.Controls.ContentPresenter.RecognizesAccessKey%2A> in the <xref:System.Windows.Controls.ContentPresenter>, as this example shows:
```
<ContentPresenter RecognizesAccessKey="True"/>
```
## Examples
You can use the <xref:System.Windows.Controls.AccessText> tag to create an <xref:System.Windows.Controls.AccessText.AccessKey%2A>; however, a tag is not necessary. The following example shows how to create an access key with and without the <xref:System.Windows.Controls.AccessText> tag.
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/AccessText/Overview/pane1.xaml" id="Snippet2":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AccessText ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.AccessText.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 AccessText();" />
<MemberType>Constructor</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>
<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.Windows.Controls.AccessText" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AccessKey">
<MemberSignature Language="C#" Value="public char AccessKey { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance char AccessKey" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.AccessKey" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property AccessKey As Char" />
<MemberSignature Language="F#" Value="member this.AccessKey : char" Usage="System.Windows.Controls.AccessText.AccessKey" />
<MemberSignature Language="C++ CLI" Value="public:
 property char AccessKey { char get(); };" />
<MemberType>Property</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.Char</ReturnType>
</ReturnValue>
<Docs>
<summary>Provides read-only access to the character that follows the first underline character.</summary>
<value>The character to return.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Windows.Controls.AccessText.AccessKey%2A> property to programmatically determine which character is parsed by <xref:System.Windows.Controls.AccessText>.
The <xref:System.Windows.Input.AccessKeyManager> registers the <xref:System.Windows.Controls.AccessText.AccessKey%2A> character and raises the <xref:System.Windows.Input.AccessKeyManager.AccessKeyPressed> event when users press the key.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ArrangeOverride">
<MemberSignature Language="C#" Value="protected override sealed System.Windows.Size ArrangeOverride (System.Windows.Size arrangeSize);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance valuetype System.Windows.Size ArrangeOverride(valuetype System.Windows.Size arrangeSize) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.AccessText.ArrangeOverride(System.Windows.Size)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides NotOverridable Function ArrangeOverride (arrangeSize As Size) As Size" />
<MemberSignature Language="F#" Value="override this.ArrangeOverride : System.Windows.Size -> System.Windows.Size" Usage="accessText.ArrangeOverride arrangeSize" />
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Windows::Size ArrangeOverride(System::Windows::Size arrangeSize);" />
<MemberType>Method</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.Size</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="arrangeSize" Type="System.Windows.Size" />
</Parameters>
<Docs>
<param name="arrangeSize">The computed size that is used to arrange the content.</param>
<summary>Arranges and sizes the content of an <see cref="T:System.Windows.Controls.AccessText" /> object.</summary>
<returns>The size of the content.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Background">
<MemberSignature Language="C#" Value="public System.Windows.Media.Brush Background { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.Brush Background" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.Background" />
<MemberSignature Language="VB.NET" Value="Public Property Background As Brush" />
<MemberSignature Language="F#" Value="member this.Background : System.Windows.Media.Brush with get, set" Usage="System.Windows.Controls.AccessText.Background" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Media::Brush ^ Background { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };" />
<MemberType>Property</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.Media.Brush</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the <see cref="T:System.Windows.Media.Brush" /> that fills the content area.</summary>
<value>The <see cref="T:System.Windows.Media.Brush" /> that fills the content area. The default is <see langword="null" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_Background"></a>
## Dependency Property Information
| Item | Value |
|-----------------------------------|--------------------------------------------------------|
|Identifier field|<xref:System.Windows.Controls.AccessText.BackgroundProperty>|
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>|
## Examples
The following example shows how to set properties in order to change the appearance of the text in an <xref:System.Windows.Controls.AccessText> control.
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/AccessText/Overview/pane1.xaml" id="Snippetaccesstextprops":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.TextBlock" />
</Docs>
</Member>
<Member MemberName="BackgroundProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty BackgroundProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty BackgroundProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.AccessText.BackgroundProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly BackgroundProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable BackgroundProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.AccessText.BackgroundProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ BackgroundProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.AccessText.Background" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="BaselineOffset">
<MemberSignature Language="C#" Value="public double BaselineOffset { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 BaselineOffset" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.BaselineOffset" />
<MemberSignature Language="VB.NET" Value="Public Property BaselineOffset As Double" />
<MemberSignature Language="F#" Value="member this.BaselineOffset : double with get, set" Usage="System.Windows.Controls.AccessText.BaselineOffset" />
<MemberSignature Language="C++ CLI" Value="public:
 property double BaselineOffset { double get(); void set(double value); };" />
<MemberType>Property</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.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that adjusts the baseline offset position of text in an <see cref="T:System.Windows.Controls.AccessText" /> element.</summary>
<value>The amount to adjust the baseline offset position.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
In XAML, this value is a true double. You cannot qualify this value by using measurement units such as picas or points.
<a name="dependencyPropertyInfo_BaselineOffset"></a>
## Dependency Property Information
| Item | Value |
|-----------------------------------|--------------------------------------------------------|
|Identifier field|<xref:System.Windows.Controls.AccessText.BaselineOffsetProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.TextBlock" />
</Docs>
</Member>
<Member MemberName="BaselineOffsetProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty BaselineOffsetProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty BaselineOffsetProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.AccessText.BaselineOffsetProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly BaselineOffsetProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable BaselineOffsetProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.AccessText.BaselineOffsetProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ BaselineOffsetProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.AccessText.BaselineOffset" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FontFamily">
<MemberSignature Language="C#" Value="public System.Windows.Media.FontFamily FontFamily { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.FontFamily FontFamily" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.FontFamily" />
<MemberSignature Language="VB.NET" Value="Public Property FontFamily As FontFamily" />
<MemberSignature Language="F#" Value="member this.FontFamily : System.Windows.Media.FontFamily with get, set" Usage="System.Windows.Controls.AccessText.FontFamily" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Media::FontFamily ^ FontFamily { System::Windows::Media::FontFamily ^ get(); void set(System::Windows::Media::FontFamily ^ value); };" />
<MemberType>Property</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>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Windows.Localizability(System.Windows.LocalizationCategory.Font, Modifiability=System.Windows.Modifiability.Unmodifiable)]</AttributeName>
<AttributeName Language="F#">[<System.Windows.Localizability(System.Windows.LocalizationCategory.Font, Modifiability=System.Windows.Modifiability.Unmodifiable)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Media.FontFamily</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the font family to use with the <see cref="T:System.Windows.Controls.AccessText" /> element.</summary>
<value>The font family to use. The default is the font that is determined by the <see cref="P:System.Windows.SystemFonts.MessageFontFamily" /> metric.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_FontFamily"></a>
## Dependency Property Information
| Item | Value |
|-----------------------------------|--------------------------------------------------------|
|Identifier field|<xref:System.Windows.Controls.AccessText.FontFamilyProperty>|
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>, <xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.Inherits%2A>|
## Examples
The following example shows how to set properties in order to change the appearance of the text in an <xref:System.Windows.Controls.AccessText> control.
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/AccessText/Overview/pane1.xaml" id="Snippetaccesstextprops":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.TextBlock" />
</Docs>
</Member>
<Member MemberName="FontFamilyProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty FontFamilyProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty FontFamilyProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.AccessText.FontFamilyProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly FontFamilyProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable FontFamilyProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.AccessText.FontFamilyProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ FontFamilyProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.AccessText.FontFamily" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FontSize">
<MemberSignature Language="C#" Value="public double FontSize { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 FontSize" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.FontSize" />
<MemberSignature Language="VB.NET" Value="Public Property FontSize As Double" />
<MemberSignature Language="F#" Value="member this.FontSize : double with get, set" Usage="System.Windows.Controls.AccessText.FontSize" />
<MemberSignature Language="C++ CLI" Value="public:
 property double FontSize { double get(); void set(double value); };" />
<MemberType>Property</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>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.TypeConverter(typeof(System.Windows.FontSizeConverter))]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.TypeConverter(typeof(System.Windows.FontSizeConverter))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Windows.Localizability(System.Windows.LocalizationCategory.None)]</AttributeName>
<AttributeName Language="F#">[<System.Windows.Localizability(System.Windows.LocalizationCategory.None)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the font size to use with the <see cref="T:System.Windows.Controls.AccessText" /> element.</summary>
<value>The font size to use. The default is the font size that is determined by the <see cref="P:System.Windows.SystemFonts.MessageFontSize" /> metric.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_FontSize"></a>
## Dependency Property Information
| Item | Value |
|-----------------------------------|--------------------------------------------------------|
|Identifier field|<xref:System.Windows.Controls.AccessText.FontSizeProperty>|
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>, <xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.Inherits%2A>|
<a name="xamlAttributeUsage_FontSize"></a>
## XAML Attribute Usage
```
<object FontSize="double"/>
- or -
<object FontSize ="qualifiedDouble"/>
```
<a name="xamlValues_FontSize"></a>
## XAML Values
*Double*
<xref:System.Double>
A string representation of a <xref:System.Double> value. This value is interpreted as a device-independent unit (1/96th inch) measurement. Strings need not explicitly include decimal points. For example, you can specify a value of `1`.
*qualifiedDouble*
A *double* value that is followed by one of these unit declaration strings: `px`, `in`, `cm`, `pt`.
`px` (default) is device-independent units (1/96th inch per unit)
`in` is inches; 1in==96px
`cm` is centimeters; 1cm==(96/2.54) px
`pt` is points; 1pt==(96/72) px
**Note** In many cases, you can set a double to `Auto`; however, you cannot set this property to `Auto`.
## Examples
The following example shows how to set properties to change the appearance of the text in an <xref:System.Windows.Controls.AccessText> control.
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/AccessText/Overview/pane1.xaml" id="Snippetaccesstextprops":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.TextBlock" />
</Docs>
</Member>
<Member MemberName="FontSizeProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty FontSizeProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty FontSizeProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.AccessText.FontSizeProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly FontSizeProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable FontSizeProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.AccessText.FontSizeProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ FontSizeProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.AccessText.FontSize" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FontStretch">
<MemberSignature Language="C#" Value="public System.Windows.FontStretch FontStretch { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.FontStretch FontStretch" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.FontStretch" />
<MemberSignature Language="VB.NET" Value="Public Property FontStretch As FontStretch" />
<MemberSignature Language="F#" Value="member this.FontStretch : System.Windows.FontStretch with get, set" Usage="System.Windows.Controls.AccessText.FontStretch" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::FontStretch FontStretch { System::Windows::FontStretch get(); void set(System::Windows::FontStretch value); };" />
<MemberType>Property</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.FontStretch</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a <see cref="T:System.Windows.FontStretch" /> property that selects a normal, condensed, or expanded font from a <see cref="T:System.Windows.Media.FontFamily" />.</summary>
<value>The relative degree that the font is stretched. The default is <see cref="P:System.Windows.FontStretches.Normal" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_FontStretch"></a>
## Dependency Property Information
| Item | Value |
|-----------------------------------|--------------------------------------------------------|
|Identifier field|<xref:System.Windows.Controls.AccessText.FontStretchProperty>|
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>, <xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.Inherits%2A>|
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.TextBlock" />
</Docs>
</Member>
<Member MemberName="FontStretchProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty FontStretchProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty FontStretchProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.AccessText.FontStretchProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly FontStretchProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable FontStretchProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.AccessText.FontStretchProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ FontStretchProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.AccessText.FontStretch" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FontStyle">
<MemberSignature Language="C#" Value="public System.Windows.FontStyle FontStyle { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.FontStyle FontStyle" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.FontStyle" />
<MemberSignature Language="VB.NET" Value="Public Property FontStyle As FontStyle" />
<MemberSignature Language="F#" Value="member this.FontStyle : System.Windows.FontStyle with get, set" Usage="System.Windows.Controls.AccessText.FontStyle" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::FontStyle FontStyle { System::Windows::FontStyle get(); void set(System::Windows::FontStyle value); };" />
<MemberType>Property</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.FontStyle</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the font style to use with the <see cref="T:System.Windows.Controls.AccessText" /> element.</summary>
<value>The font style to use; for example, normal, italic, or oblique. The default is determined by the <see cref="P:System.Windows.SystemFonts.MessageFontStyle" /> metric.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information and a list of font styles, see <xref:System.Windows.FontStyle>.
<a name="dependencyPropertyInfo_FontStyle"></a>
## Dependency Property Information
| Item | Value |
|-----------------------------------|--------------------------------------------------------|
|Identifier field|<xref:System.Windows.Controls.AccessText.FontStyleProperty>|
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>, <xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.Inherits%2A>|
## Examples
The following example shows how to set properties in order to change the appearance of the text in an <xref:System.Windows.Controls.AccessText> control.
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/AccessText/Overview/pane1.xaml" id="Snippetaccesstextprops":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.TextBlock" />
</Docs>
</Member>
<Member MemberName="FontStyleProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty FontStyleProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty FontStyleProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.AccessText.FontStyleProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly FontStyleProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable FontStyleProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.AccessText.FontStyleProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ FontStyleProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.AccessText.FontStyle" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FontWeight">
<MemberSignature Language="C#" Value="public System.Windows.FontWeight FontWeight { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.FontWeight FontWeight" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.FontWeight" />
<MemberSignature Language="VB.NET" Value="Public Property FontWeight As FontWeight" />
<MemberSignature Language="F#" Value="member this.FontWeight : System.Windows.FontWeight with get, set" Usage="System.Windows.Controls.AccessText.FontWeight" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::FontWeight FontWeight { System::Windows::FontWeight get(); void set(System::Windows::FontWeight value); };" />
<MemberType>Property</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.FontWeight</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the font weight to use with the <see cref="T:System.Windows.Controls.AccessText" /> element.</summary>
<value>The font weight to use. The default is determined by the <see cref="P:System.Windows.SystemFonts.MessageFontWeight" /> metric.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_FontWeight"></a>
## Dependency Property Information
| Item | Value |
|-----------------------------------|--------------------------------------------------------|
|Identifier field|<xref:System.Windows.Controls.AccessText.FontWeightProperty>|
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>, <xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.Inherits%2A>|
## Examples
The following example shows how to set properties to change the appearance of the text in an <xref:System.Windows.Controls.AccessText> control.
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/AccessText/Overview/pane1.xaml" id="Snippetaccesstextprops":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.TextBlock" />
</Docs>
</Member>
<Member MemberName="FontWeightProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty FontWeightProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty FontWeightProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.AccessText.FontWeightProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly FontWeightProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable FontWeightProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.AccessText.FontWeightProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ FontWeightProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.AccessText.FontWeight" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Foreground">
<MemberSignature Language="C#" Value="public System.Windows.Media.Brush Foreground { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.Brush Foreground" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.Foreground" />
<MemberSignature Language="VB.NET" Value="Public Property Foreground As Brush" />
<MemberSignature Language="F#" Value="member this.Foreground : System.Windows.Media.Brush with get, set" Usage="System.Windows.Controls.AccessText.Foreground" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Media::Brush ^ Foreground { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };" />
<MemberType>Property</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.Media.Brush</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the <see cref="T:System.Windows.Media.Brush" /> that draws the text content of the element.</summary>
<value>The <see cref="T:System.Windows.Media.Brush" /> that draws the text. The default is <see cref="P:System.Windows.Media.Brushes.Black" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_Foreground"></a>
## Dependency Property Information
| Item | Value |
|-----------------------------------|--------------------------------------------------------|
|Identifier field|<xref:System.Windows.Controls.AccessText.ForegroundProperty>|
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.Inherits%2A>|
## Examples
The following example shows how to set properties to change the appearance of the text in an <xref:System.Windows.Controls.AccessText> control.
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/AccessText/Overview/pane1.xaml" id="Snippetaccesstextprops":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.TextBlock" />
</Docs>
</Member>
<Member MemberName="ForegroundProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty ForegroundProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty ForegroundProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.AccessText.ForegroundProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly ForegroundProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable ForegroundProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.AccessText.ForegroundProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ ForegroundProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.AccessText.Foreground" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetVisualChild">
<MemberSignature Language="C#" Value="protected override System.Windows.Media.Visual GetVisualChild (int index);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Windows.Media.Visual GetVisualChild(int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.AccessText.GetVisualChild(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function GetVisualChild (index As Integer) As Visual" />
<MemberSignature Language="F#" Value="override this.GetVisualChild : int -> System.Windows.Media.Visual" Usage="accessText.GetVisualChild index" />
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Windows::Media::Visual ^ GetVisualChild(int index);" />
<MemberType>Method</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.Media.Visual</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">The index of the visual child element to return.</param>
<summary>Gets the index of a visual child element.</summary>
<returns>Returns an integer that represents the index of a visual child element.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="LineHeight">
<MemberSignature Language="C#" Value="public double LineHeight { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 LineHeight" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.LineHeight" />
<MemberSignature Language="VB.NET" Value="Public Property LineHeight As Double" />
<MemberSignature Language="F#" Value="member this.LineHeight : double with get, set" Usage="System.Windows.Controls.AccessText.LineHeight" />
<MemberSignature Language="C++ CLI" Value="public:
 property double LineHeight { double get(); void set(double value); };" />
<MemberType>Property</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>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.TypeConverter(typeof(System.Windows.LengthConverter))]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.TypeConverter(typeof(System.Windows.LengthConverter))>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the height of each line box.</summary>
<value>A double that specifies the height of each line box. This value must be equal to or greater than <c>0.0034</c> and equal to or less then <c>160000</c>. A value of <see cref="F:System.Double.NaN" /> (equivalent to an attribute value of <c>Auto</c>) causes the line height to be determined automatically from the current font characteristics. The default is <see cref="F:System.Double.NaN" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Changing this value does not change the height of the associated text; instead, it changes the box that contains it. To change the size of the text, use the <xref:System.Windows.Controls.AccessText.FontSize%2A> property.
<a name="dependencyPropertyInfo_LineHeight"></a>
## Dependency Property Information
| Item | Value |
|-----------------------------------|--------------------------------------------------------|
|Identifier field|<xref:System.Windows.Controls.AccessText.LineHeightProperty>|
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>, <xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.Inherits%2A>|
<a name="xamlAttributeUsage_LineHeight"></a>
## XAML Attribute Usage
```
<object LineHeight="double"/>
- or -
<object LineHeight ="qualifiedDouble"/>
- or -
<object LineHeight ="Auto"/>
```
<a name="xamlValues_LineHeight"></a>
## XAML Values
*double*
<xref:System.Double>
A string representation of a <xref:System.Double> value. This value is interpreted as a device-independent unit (1/96th inch) measurement. Strings need not explicitly include decimal points. For example, you can specify a value of `1`.
The same <xref:System.Double> range restrictions as mentioned in the Property Value section apply here.
*qualifiedDouble*
A *double* value that is followed by one of these unit declaration strings: `px`, `in`, `cm`, `pt`.
`px` (default) is device-independent units (1/96th inch per unit)
`in` is inches; 1in==96px
`cm` is centimeters; 1cm==(96/2.54) px
`pt` is points; 1pt==(96/72) px
*Auto*
An automatic line height determination. If you programmatically set the *Auto* value, its value corresponds to <xref:System.Double.NaN?displayProperty=nameWithType>.
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.TextBlock" />
<altmember cref="P:System.Windows.Controls.AccessText.LineStackingStrategy" />
</Docs>
</Member>
<Member MemberName="LineHeightProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty LineHeightProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty LineHeightProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.AccessText.LineHeightProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly LineHeightProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable LineHeightProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.AccessText.LineHeightProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ LineHeightProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.AccessText.LineHeight" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="LineStackingStrategy">
<MemberSignature Language="C#" Value="public System.Windows.LineStackingStrategy LineStackingStrategy { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.LineStackingStrategy LineStackingStrategy" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.AccessText.LineStackingStrategy" />
<MemberSignature Language="VB.NET" Value="Public Property LineStackingStrategy As LineStackingStrategy" />
<MemberSignature Language="F#" Value="member this.LineStackingStrategy : System.Windows.LineStackingStrategy with get, set" Usage="System.Windows.Controls.AccessText.LineStackingStrategy" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::LineStackingStrategy LineStackingStrategy { System::Windows::LineStackingStrategy get(); void set(System::Windows::LineStackingStrategy value); };" />
<MemberType>Property</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.LineStackingStrategy</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets how the <see cref="P:System.Windows.Controls.AccessText.LineHeight" /> property is enforced.</summary>
<value>A <see cref="T:System.Windows.LineStackingStrategy" /> value that determines the behavior of the <see cref="P:System.Windows.Controls.AccessText.LineHeight" /> property.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Controls.AccessText.LineHeight%2A> properties control the line box that is reserved for text. <xref:System.Windows.Controls.AccessText.LineHeight%2A> allows users to set a suggestion of height. <xref:System.Windows.LineStackingStrategy> defines how the <xref:System.Windows.Controls.AccessText.LineHeight%2A> is enforced.
You can set the <xref:System.Windows.Controls.AccessText.LineStackingStrategy%2A> property to <xref:System.Windows.LineStackingStrategy.MaxHeight> or <xref:System.Windows.LineStackingStrategy.BlockLineHeight>.
- The <xref:System.Windows.LineStackingStrategy.MaxHeight> value increases the line to the tallest object in the line. It ensures that no item overdraws or is trimmed.
- The <xref:System.Windows.LineStackingStrategy.BlockLineHeight> value enforces a <xref:System.Windows.Controls.AccessText.LineHeight%2A> value on all lines. If the <xref:System.Windows.Controls.AccessText.LineHeight%2A> property does not provide sufficient space, the text is either overdrawn or trimmed. Which occurs depends on the <xref:System.Windows.UIElement.ClipProperty> value.
<a name="dependencyPropertyInfo_LineStackingStrategy"></a>
## Dependency Property Information
| Item | Value |
|-----------------------------------|--------------------------------------------------------|
|Identifier field|<xref:System.Windows.Controls.AccessText.LineStackingStrategyProperty>|
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>, <xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.Inherits%2A>|