-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
TextEffect.xml
608 lines (556 loc) · 36.4 KB
/
TextEffect.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
<Type Name="TextEffect" FullName="System.Windows.Media.TextEffect">
<TypeSignature Language="C#" Value="public sealed class TextEffect : System.Windows.Media.Animation.Animatable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed TextEffect extends System.Windows.Media.Animation.Animatable" FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
<TypeSignature Language="DocId" Value="T:System.Windows.Media.TextEffect" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class TextEffect
Inherits Animatable" />
<TypeSignature Language="F#" Value="type TextEffect = class
 inherit Animatable" />
<TypeSignature Language="C++ CLI" Value="public ref class TextEffect sealed : System::Windows::Media::Animation::Animatable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit TextEffect extends System.Windows.Media.Animation.Animatable" FrameworkAlternate="windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0;windowsdesktop-6.0;windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<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.Windows.Media.Animation.Animatable</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)]</AttributeName>
<AttributeName Language="F#">[<System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents a text effect that can be applied to text objects.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Media.TextEffect> object allows you to add effects, such as animations, to text objects, such as <xref:System.Windows.Controls.TextBlock>, <xref:System.Windows.Documents.TextElement>, and <xref:System.Windows.Documents.FlowDocument> objects.
## Examples
The following example shows an individual character being rotated. Each character is rotated independently at 1-second intervals. The example a defines a <xref:System.Windows.Media.TextEffect> that contains a <xref:System.Windows.Media.RotateTransform> that applies to each character in the <xref:System.Windows.Controls.TextBlock.Text%2A?displayProperty=nameWithType> property. The example defines the animations for the <xref:System.Windows.Media.RotateTransform.Angle%2A> and <xref:System.Windows.Media.RotateTransform.CenterX%2A> properties of the <xref:System.Windows.Media.RotateTransform> object. A third animation of type <xref:System.Windows.Media.Animation.Int32AnimationUsingKeyFrames> changes the <xref:System.Windows.Media.TextEffect.PositionStart%2A> property from 0 to 12 during the animation sequence, corresponding to the 13-character text string.
![Screenshot of text effect rotating text](~/add/media/texteffect01.jpg "Screenshot of text effect rotating text")
Example of a rotating text effect animation
:::code language="xaml" source="~/snippets/csharp/System.Windows.Media/TextEffect/Overview/Window1.xaml" id="Snippettexteffectentiresample":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Media.TextEffectCollection" />
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Media.TextEffect" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TextEffect ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.TextEffect.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 TextEffect();" />
<MemberType>Constructor</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>
<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.Media.TextEffect" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example shows how to create a <xref:System.Windows.Media.TextEffect>, set its properties, and add it to the <xref:System.Windows.Media.TextEffectCollection> of the specified text object.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextEffect.xaml.cs" id="Snippettexteffectsnippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/TextOverview/visualbasic/texteffect.xaml.vb" id="Snippettexteffectsnippet1":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TextEffect (System.Windows.Media.Transform transform, System.Windows.Media.Brush foreground, System.Windows.Media.Geometry clip, int positionStart, int positionCount);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Windows.Media.Transform transform, class System.Windows.Media.Brush foreground, class System.Windows.Media.Geometry clip, int32 positionStart, int32 positionCount) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.TextEffect.#ctor(System.Windows.Media.Transform,System.Windows.Media.Brush,System.Windows.Media.Geometry,System.Int32,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (transform As Transform, foreground As Brush, clip As Geometry, positionStart As Integer, positionCount As Integer)" />
<MemberSignature Language="F#" Value="new System.Windows.Media.TextEffect : System.Windows.Media.Transform * System.Windows.Media.Brush * System.Windows.Media.Geometry * int * int -> System.Windows.Media.TextEffect" Usage="new System.Windows.Media.TextEffect (transform, foreground, clip, positionStart, positionCount)" />
<MemberSignature Language="C++ CLI" Value="public:
 TextEffect(System::Windows::Media::Transform ^ transform, System::Windows::Media::Brush ^ foreground, System::Windows::Media::Geometry ^ clip, int positionStart, int positionCount);" />
<MemberType>Constructor</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>
<Parameters>
<Parameter Name="transform" Type="System.Windows.Media.Transform" />
<Parameter Name="foreground" Type="System.Windows.Media.Brush" />
<Parameter Name="clip" Type="System.Windows.Media.Geometry" />
<Parameter Name="positionStart" Type="System.Int32" />
<Parameter Name="positionCount" Type="System.Int32" />
</Parameters>
<Docs>
<param name="transform">The <see cref="T:System.Windows.Media.Transform" /> that is applied to the <see cref="T:System.Windows.Media.TextEffect" />.</param>
<param name="foreground">The <see cref="T:System.Windows.Media.Brush" /> to apply to the content of the <see cref="T:System.Windows.Media.TextEffect" />.</param>
<param name="clip">The clipping region of the <see cref="T:System.Windows.Media.TextEffect" />.</param>
<param name="positionStart">The starting position in the text that the <see cref="T:System.Windows.Media.TextEffect" /> applies to.</param>
<param name="positionCount">The number of positions in the text that the <see cref="T:System.Windows.Media.TextEffect" /> applies to.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Media.TextEffect" /> class by specifying class property values.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example shows how to call the <xref:System.Windows.Media.TextEffect.%23ctor%2A> constructor. Notice that in this case, the `transform` and `clip` parameters are set to `null`, since those parameters values are not needed.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextEffect.xaml.cs" id="Snippettexteffectsnippet3":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/TextOverview/visualbasic/texteffect.xaml.vb" id="Snippettexteffectsnippet3":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Clip">
<MemberSignature Language="C#" Value="public System.Windows.Media.Geometry Clip { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.Geometry Clip" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.TextEffect.Clip" />
<MemberSignature Language="VB.NET" Value="Public Property Clip As Geometry" />
<MemberSignature Language="F#" Value="member this.Clip : System.Windows.Media.Geometry with get, set" Usage="System.Windows.Media.TextEffect.Clip" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Media::Geometry ^ Clip { System::Windows::Media::Geometry ^ get(); void set(System::Windows::Media::Geometry ^ value); };" />
<MemberType>Property</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.Media.Geometry</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the clipping region of the <see cref="T:System.Windows.Media.TextEffect" />.</summary>
<value>The <see cref="T:System.Windows.Media.Geometry" /> that defines the clipping region.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_Clip"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.TextEffect.ClipProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ClipProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty ClipProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty ClipProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Media.TextEffect.ClipProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly ClipProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable ClipProperty : System.Windows.DependencyProperty" Usage="System.Windows.Media.TextEffect.ClipProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ ClipProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.TextEffect.Clip" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="C#" Value="public System.Windows.Media.TextEffect Clone ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Windows.Media.TextEffect Clone() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.TextEffect.Clone" />
<MemberSignature Language="VB.NET" Value="Public Function Clone () As TextEffect" />
<MemberSignature Language="F#" Value="override this.Clone : unit -> System.Windows.Media.TextEffect" Usage="textEffect.Clone " />
<MemberSignature Language="C++ CLI" Value="public:
 System::Windows::Media::TextEffect ^ Clone();" />
<MemberType>Method</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.Media.TextEffect</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a modifiable clone of this <see cref="T:System.Windows.Media.TextEffect" />, making deep copies of this object's values. When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.</summary>
<returns>A modifiable clone of the current object. The cloned object's <see cref="P:System.Windows.Freezable.IsFrozen" /> property will be <see langword="false" /> even if the source's <see cref="P:System.Windows.Freezable.IsFrozen" /> property was <see langword="true" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is used to produce modifiable copies of frozen <xref:System.Windows.Freezable> objects (or any <xref:System.Windows.Freezable> object). For convenience, this method shadows the inherited version with a strongly typed implementation.
For more information, see <xref:System.Windows.Freezable.Clone%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CloneCurrentValue">
<MemberSignature Language="C#" Value="public System.Windows.Media.TextEffect CloneCurrentValue ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Windows.Media.TextEffect CloneCurrentValue() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.TextEffect.CloneCurrentValue" />
<MemberSignature Language="VB.NET" Value="Public Function CloneCurrentValue () As TextEffect" />
<MemberSignature Language="F#" Value="override this.CloneCurrentValue : unit -> System.Windows.Media.TextEffect" Usage="textEffect.CloneCurrentValue " />
<MemberSignature Language="C++ CLI" Value="public:
 System::Windows::Media::TextEffect ^ CloneCurrentValue();" />
<MemberType>Method</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.Media.TextEffect</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a modifiable clone of this <see cref="T:System.Windows.Media.TextEffect" /> object, making deep copies of this object's current values. Resource references, data bindings, and animations are not copied, but their current values are.</summary>
<returns>A modifiable clone of the current object. The cloned object's <see cref="P:System.Windows.Freezable.IsFrozen" /> property will be <see langword="false" /> even if the source's <see cref="P:System.Windows.Freezable.IsFrozen" /> property was <see langword="true" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is used to produce modifiable copies of frozen <xref:System.Windows.Freezable> objects (or any <xref:System.Windows.Freezable> object). For convenience, this method shadows the inherited version with a strongly typed implementation.
For more information, see <xref:System.Windows.Freezable.CloneCurrentValue%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateInstanceCore">
<MemberSignature Language="C#" Value="protected override System.Windows.Freezable CreateInstanceCore ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Windows.Freezable CreateInstanceCore() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.TextEffect.CreateInstanceCore" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function CreateInstanceCore () As Freezable" />
<MemberSignature Language="F#" Value="override this.CreateInstanceCore : unit -> System.Windows.Freezable" Usage="textEffect.CreateInstanceCore " />
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Windows::Freezable ^ CreateInstanceCore();" />
<MemberType>Method</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.Freezable</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<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.Media.TextEffect.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.Media.TextEffect.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>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.Media.Brush</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the <see cref="T:System.Windows.Media.Brush" /> to apply to the content of the <see cref="T:System.Windows.Media.TextEffect" />.</summary>
<value>The brush used to apply to the <see cref="T:System.Windows.Media.TextEffect" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_Foreground"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.TextEffect.ForegroundProperty>|
|Metadata properties set to `true`|None|
## Examples
The following code example shows how to create an animatable <xref:System.Windows.Media.Brush> and set it as the <xref:System.Windows.Media.TextEffect.Foreground%2A> property value.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextEffect.xaml.cs" id="Snippettexteffectsnippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/TextOverview/visualbasic/texteffect.xaml.vb" id="Snippettexteffectsnippet1":::
]]></format>
</remarks>
</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.Media.TextEffect.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.Media.TextEffect.ForegroundProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ ForegroundProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.TextEffect.Foreground" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PositionCount">
<MemberSignature Language="C#" Value="public int PositionCount { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 PositionCount" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.TextEffect.PositionCount" />
<MemberSignature Language="VB.NET" Value="Public Property PositionCount As Integer" />
<MemberSignature Language="F#" Value="member this.PositionCount : int with get, set" Usage="System.Windows.Media.TextEffect.PositionCount" />
<MemberSignature Language="C++ CLI" Value="public:
 property int PositionCount { int get(); void set(int value); };" />
<MemberType>Property</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.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the position in the text that the <see cref="T:System.Windows.Media.TextEffect" /> applies to.</summary>
<value>The <see cref="T:System.Int32" /> value representing the position in the text that the <see cref="T:System.Windows.Media.TextEffect" /> applies to.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Setting the <xref:System.Windows.Media.TextEffect.PositionCount%2A> value to a number that is greater than the maximum position in the affected text is valid.
<a name="dependencyPropertyInfo_PositionCount"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.TextEffect.PositionCountProperty>|
|Metadata properties set to `true`|None|
## Examples
The following code example shows how you can set <xref:System.Windows.Media.TextEffect.PositionCount%2A> value to the maximum <xref:System.Int32> value to ensure that all characters in the text are affected.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Media/TextEffect/.ctor/TextEffect.xaml.cs" id="Snippettexteffectsnippet2":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/TextOverview/visualbasic/texteffect.xaml.vb" id="Snippettexteffectsnippet2":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="PositionCountProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty PositionCountProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty PositionCountProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Media.TextEffect.PositionCountProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly PositionCountProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable PositionCountProperty : System.Windows.DependencyProperty" Usage="System.Windows.Media.TextEffect.PositionCountProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ PositionCountProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.TextEffect.PositionCount" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PositionStart">
<MemberSignature Language="C#" Value="public int PositionStart { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 PositionStart" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.TextEffect.PositionStart" />
<MemberSignature Language="VB.NET" Value="Public Property PositionStart As Integer" />
<MemberSignature Language="F#" Value="member this.PositionStart : int with get, set" Usage="System.Windows.Media.TextEffect.PositionStart" />
<MemberSignature Language="C++ CLI" Value="public:
 property int PositionStart { int get(); void set(int value); };" />
<MemberType>Property</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.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the starting position in the text that the <see cref="T:System.Windows.Media.TextEffect" /> applies to.</summary>
<value>The <see cref="T:System.Int32" /> value representing the starting position in the text that the <see cref="T:System.Windows.Media.TextEffect" /> applies to.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_PositionStart"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.TextEffect.PositionStartProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="PositionStartProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty PositionStartProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty PositionStartProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Media.TextEffect.PositionStartProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly PositionStartProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable PositionStartProperty : System.Windows.DependencyProperty" Usage="System.Windows.Media.TextEffect.PositionStartProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ PositionStartProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.TextEffect.PositionStart" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Transform">
<MemberSignature Language="C#" Value="public System.Windows.Media.Transform Transform { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.Transform Transform" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.TextEffect.Transform" />
<MemberSignature Language="VB.NET" Value="Public Property Transform As Transform" />
<MemberSignature Language="F#" Value="member this.Transform : System.Windows.Media.Transform with get, set" Usage="System.Windows.Media.TextEffect.Transform" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Media::Transform ^ Transform { System::Windows::Media::Transform ^ get(); void set(System::Windows::Media::Transform ^ value); };" />
<MemberType>Property</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.Media.Transform</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the <see cref="T:System.Windows.Media.Transform" /> that is applied to the <see cref="T:System.Windows.Media.TextEffect" />.</summary>
<value>The <see cref="T:System.Windows.Media.Transform" /> value of the <see cref="T:System.Windows.Media.TextEffect" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="dependencyPropertyInfo_Transform"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.TextEffect.TransformProperty>|
|Metadata properties set to `true`|None|
## Examples
In the following markup example, a <xref:System.Windows.Media.TextEffect> is created for a <xref:System.Windows.Controls.TextBlock> object. In this case, the effect is a rotation animation.
:::code language="xaml" source="~/snippets/csharp/System.Windows.Media/TextEffect/Overview/Window1.xaml" id="Snippettexteffectsample1":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="TransformProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty TransformProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty TransformProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Media.TextEffect.TransformProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly TransformProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable TransformProperty : System.Windows.DependencyProperty" Usage="System.Windows.Media.TextEffect.TransformProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ TransformProperty;" />
<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.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.TextEffect.Transform" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>