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