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