97 references to TextMarkerStyle
PresentationCore (25)
MS\Internal\TextFormatting\TextMarkerSource.cs (22)
44
TextMarkerStyle
markerStyle,
48
Debug.Assert(markerStyle !=
TextMarkerStyle
.None);
59
case
TextMarkerStyle
.Disc:
62
case
TextMarkerStyle
.Circle:
65
case
TextMarkerStyle
.Square:
68
case
TextMarkerStyle
.Box:
104
case
TextMarkerStyle
.Decimal:
108
case
TextMarkerStyle
.LowerLatin:
112
case
TextMarkerStyle
.UpperLatin:
116
case
TextMarkerStyle
.LowerRoman:
120
case
TextMarkerStyle
.UpperRoman:
422
internal static bool IsKnownSymbolMarkerStyle(
TextMarkerStyle
markerStyle)
425
markerStyle ==
TextMarkerStyle
.Disc
426
|| markerStyle ==
TextMarkerStyle
.Circle
427
|| markerStyle ==
TextMarkerStyle
.Square
428
|| markerStyle ==
TextMarkerStyle
.Box
432
internal static bool IsKnownIndexMarkerStyle(
TextMarkerStyle
markerStyle)
435
markerStyle ==
TextMarkerStyle
.Decimal
436
|| markerStyle ==
TextMarkerStyle
.LowerLatin
437
|| markerStyle ==
TextMarkerStyle
.UpperLatin
438
|| markerStyle ==
TextMarkerStyle
.LowerRoman
439
|| markerStyle ==
TextMarkerStyle
.UpperRoman
System\Windows\Media\textformatting\TextSimpleMarkerProperties.cs (3)
24
TextMarkerStyle
style,
34
if (style !=
TextMarkerStyle
.None)
48
throw new ArgumentException(SR.Format(SR.Enum_Invalid, typeof(
TextMarkerStyle
)), nameof(style));
PresentationFramework (72)
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (20)
62
case
TextMarkerStyle
.Disc:
66
case
TextMarkerStyle
.Circle:
70
case
TextMarkerStyle
.Square:
74
case
TextMarkerStyle
.Box:
103
case
TextMarkerStyle
.Decimal:
107
case
TextMarkerStyle
.LowerLatin:
111
case
TextMarkerStyle
.UpperLatin:
115
case
TextMarkerStyle
.LowerRoman:
119
case
TextMarkerStyle
.UpperRoman:
362
private static bool IsKnownSymbolMarkerStyle(
TextMarkerStyle
markerStyle)
365
markerStyle ==
TextMarkerStyle
.Disc
366
|| markerStyle ==
TextMarkerStyle
.Circle
367
|| markerStyle ==
TextMarkerStyle
.Square
368
|| markerStyle ==
TextMarkerStyle
.Box
372
private static bool IsKnownIndexMarkerStyle(
TextMarkerStyle
markerStyle)
375
markerStyle ==
TextMarkerStyle
.Decimal
376
|| markerStyle ==
TextMarkerStyle
.LowerLatin
377
|| markerStyle ==
TextMarkerStyle
.UpperLatin
378
|| markerStyle ==
TextMarkerStyle
.LowerRoman
379
|| markerStyle ==
TextMarkerStyle
.UpperRoman
MS\Internal\Text\MarkerProperties.cs (1)
58
private
TextMarkerStyle
_style;
System\Windows\Controls\TextRangeAdaptor.cs (7)
71
if (val is
TextMarkerStyle
)
73
switch ((
TextMarkerStyle
)val)
75
case
TextMarkerStyle
.None:
78
case
TextMarkerStyle
.Disc:
81
case
TextMarkerStyle
.Circle:
84
case
TextMarkerStyle
.Square:
87
case
TextMarkerStyle
.Box:
System\Windows\Documents\List.cs (16)
90
typeof(
TextMarkerStyle
),
93
TextMarkerStyle
.Disc,
101
public
TextMarkerStyle
MarkerStyle
103
get { return (
TextMarkerStyle
)GetValue(MarkerStyleProperty); }
304
TextMarkerStyle
value = (
TextMarkerStyle
)o;
305
return value ==
TextMarkerStyle
.None
306
|| value ==
TextMarkerStyle
.Disc
307
|| value ==
TextMarkerStyle
.Circle
308
|| value ==
TextMarkerStyle
.Square
309
|| value ==
TextMarkerStyle
.Box
310
|| value ==
TextMarkerStyle
.LowerRoman
311
|| value ==
TextMarkerStyle
.UpperRoman
312
|| value ==
TextMarkerStyle
.LowerLatin
313
|| value ==
TextMarkerStyle
.UpperLatin
314
|| value ==
TextMarkerStyle
.Decimal;
System\windows\Documents\TextEditorLists.cs (14)
176
list.MarkerStyle =
TextMarkerStyle
.Disc;
180
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Disc);
185
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Disc);
205
list.MarkerStyle =
TextMarkerStyle
.Decimal;
209
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Decimal);
214
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Decimal);
226
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Decimal);
281
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Disc);
347
TextMarkerStyle
markerStyle = list.MarkerStyle;
348
return
TextMarkerStyle
.Disc <= markerStyle && markerStyle <=
TextMarkerStyle
.Box;
358
TextMarkerStyle
markerStyle = list.MarkerStyle;
359
return
TextMarkerStyle
.LowerRoman <= markerStyle && markerStyle <=
TextMarkerStyle
.Decimal;
System\Windows\Documents\TextRangeBase.cs (13)
843
TextMarkerStyle
markerStyle = list != null ? list.MarkerStyle :
TextMarkerStyle
.Disc;
887
private static void WriteListMarker(StringBuilder textBuffer,
TextMarkerStyle
listMarkerStyle, int listItemNumber)
894
case
TextMarkerStyle
.None :
897
case
TextMarkerStyle
.Disc :
900
case
TextMarkerStyle
.Circle :
903
case
TextMarkerStyle
.Square :
906
case
TextMarkerStyle
.Box :
910
case
TextMarkerStyle
.Decimal:
914
case
TextMarkerStyle
.LowerLatin:
918
case
TextMarkerStyle
.UpperLatin:
922
case
TextMarkerStyle
.LowerRoman:
926
case
TextMarkerStyle
.UpperRoman:
System\Windows\Documents\TextRangeEditLists.cs (1)
265
internal static bool ConvertParagraphsToListItems(TextRange range,
TextMarkerStyle
markerStyle)