97 references to TextMarkerStyle
PresentationCore (25)
MS\Internal\TextFormatting\TextMarkerSource.cs (22)
45
TextMarkerStyle
markerStyle,
49
Debug.Assert(markerStyle !=
TextMarkerStyle
.None);
60
case
TextMarkerStyle
.Disc:
63
case
TextMarkerStyle
.Circle:
66
case
TextMarkerStyle
.Square:
69
case
TextMarkerStyle
.Box:
105
case
TextMarkerStyle
.Decimal:
109
case
TextMarkerStyle
.LowerLatin:
113
case
TextMarkerStyle
.UpperLatin:
117
case
TextMarkerStyle
.LowerRoman:
121
case
TextMarkerStyle
.UpperRoman:
423
internal static bool IsKnownSymbolMarkerStyle(
TextMarkerStyle
markerStyle)
426
markerStyle ==
TextMarkerStyle
.Disc
427
|| markerStyle ==
TextMarkerStyle
.Circle
428
|| markerStyle ==
TextMarkerStyle
.Square
429
|| markerStyle ==
TextMarkerStyle
.Box
433
internal static bool IsKnownIndexMarkerStyle(
TextMarkerStyle
markerStyle)
436
markerStyle ==
TextMarkerStyle
.Decimal
437
|| markerStyle ==
TextMarkerStyle
.LowerLatin
438
|| markerStyle ==
TextMarkerStyle
.UpperLatin
439
|| markerStyle ==
TextMarkerStyle
.LowerRoman
440
|| markerStyle ==
TextMarkerStyle
.UpperRoman
System\Windows\Media\textformatting\TextSimpleMarkerProperties.cs (3)
25
TextMarkerStyle
style,
35
if (style !=
TextMarkerStyle
.None)
49
throw new ArgumentException(SR.Format(SR.Enum_Invalid, typeof(
TextMarkerStyle
)), "style");
PresentationFramework (72)
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (20)
63
case
TextMarkerStyle
.Disc:
67
case
TextMarkerStyle
.Circle:
71
case
TextMarkerStyle
.Square:
75
case
TextMarkerStyle
.Box:
104
case
TextMarkerStyle
.Decimal:
108
case
TextMarkerStyle
.LowerLatin:
112
case
TextMarkerStyle
.UpperLatin:
116
case
TextMarkerStyle
.LowerRoman:
120
case
TextMarkerStyle
.UpperRoman:
363
private static bool IsKnownSymbolMarkerStyle(
TextMarkerStyle
markerStyle)
366
markerStyle ==
TextMarkerStyle
.Disc
367
|| markerStyle ==
TextMarkerStyle
.Circle
368
|| markerStyle ==
TextMarkerStyle
.Square
369
|| markerStyle ==
TextMarkerStyle
.Box
373
private static bool IsKnownIndexMarkerStyle(
TextMarkerStyle
markerStyle)
376
markerStyle ==
TextMarkerStyle
.Decimal
377
|| markerStyle ==
TextMarkerStyle
.LowerLatin
378
|| markerStyle ==
TextMarkerStyle
.UpperLatin
379
|| markerStyle ==
TextMarkerStyle
.LowerRoman
380
|| markerStyle ==
TextMarkerStyle
.UpperRoman
MS\Internal\Text\MarkerProperties.cs (1)
59
private
TextMarkerStyle
_style;
System\Windows\Controls\TextRangeAdaptor.cs (7)
72
if (val is
TextMarkerStyle
)
74
switch ((
TextMarkerStyle
)val)
76
case
TextMarkerStyle
.None:
79
case
TextMarkerStyle
.Disc:
82
case
TextMarkerStyle
.Circle:
85
case
TextMarkerStyle
.Square:
88
case
TextMarkerStyle
.Box:
System\Windows\Documents\List.cs (16)
91
typeof(
TextMarkerStyle
),
94
TextMarkerStyle
.Disc,
102
public
TextMarkerStyle
MarkerStyle
104
get { return (
TextMarkerStyle
)GetValue(MarkerStyleProperty); }
305
TextMarkerStyle
value = (
TextMarkerStyle
)o;
306
return value ==
TextMarkerStyle
.None
307
|| value ==
TextMarkerStyle
.Disc
308
|| value ==
TextMarkerStyle
.Circle
309
|| value ==
TextMarkerStyle
.Square
310
|| value ==
TextMarkerStyle
.Box
311
|| value ==
TextMarkerStyle
.LowerRoman
312
|| value ==
TextMarkerStyle
.UpperRoman
313
|| value ==
TextMarkerStyle
.LowerLatin
314
|| value ==
TextMarkerStyle
.UpperLatin
315
|| value ==
TextMarkerStyle
.Decimal;
System\windows\Documents\TextEditorLists.cs (14)
177
list.MarkerStyle =
TextMarkerStyle
.Disc;
181
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Disc);
186
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Disc);
206
list.MarkerStyle =
TextMarkerStyle
.Decimal;
210
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Decimal);
215
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Decimal);
227
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Decimal);
282
TextRangeEditLists.ConvertParagraphsToListItems(thisSelection,
TextMarkerStyle
.Disc);
348
TextMarkerStyle
markerStyle = list.MarkerStyle;
349
return
TextMarkerStyle
.Disc <= markerStyle && markerStyle <=
TextMarkerStyle
.Box;
359
TextMarkerStyle
markerStyle = list.MarkerStyle;
360
return
TextMarkerStyle
.LowerRoman <= markerStyle && markerStyle <=
TextMarkerStyle
.Decimal;
System\Windows\Documents\TextRangeBase.cs (13)
844
TextMarkerStyle
markerStyle = list != null ? list.MarkerStyle :
TextMarkerStyle
.Disc;
888
private static void WriteListMarker(StringBuilder textBuffer,
TextMarkerStyle
listMarkerStyle, int listItemNumber)
895
case
TextMarkerStyle
.None :
898
case
TextMarkerStyle
.Disc :
901
case
TextMarkerStyle
.Circle :
904
case
TextMarkerStyle
.Square :
907
case
TextMarkerStyle
.Box :
911
case
TextMarkerStyle
.Decimal:
915
case
TextMarkerStyle
.LowerLatin:
919
case
TextMarkerStyle
.UpperLatin:
923
case
TextMarkerStyle
.LowerRoman:
927
case
TextMarkerStyle
.UpperRoman:
System\Windows\Documents\TextRangeEditLists.cs (1)
266
internal static bool ConvertParagraphsToListItems(TextRange range,
TextMarkerStyle
markerStyle)