97 references to TextMarkerStyle
PresentationCore (25)
Core\CSharp\MS\Internal\TextFormatting\TextMarkerSource.cs (22)
54TextMarkerStyle markerStyle, 58Debug.Assert(markerStyle != TextMarkerStyle.None); 69case TextMarkerStyle.Disc: 72case TextMarkerStyle.Circle: 75case TextMarkerStyle.Square: 78case TextMarkerStyle.Box: 114case TextMarkerStyle.Decimal: 118case TextMarkerStyle.LowerLatin: 122case TextMarkerStyle.UpperLatin: 126case TextMarkerStyle.LowerRoman: 130case TextMarkerStyle.UpperRoman: 432internal static bool IsKnownSymbolMarkerStyle(TextMarkerStyle markerStyle) 435markerStyle == TextMarkerStyle.Disc 436|| markerStyle == TextMarkerStyle.Circle 437|| markerStyle == TextMarkerStyle.Square 438|| markerStyle == TextMarkerStyle.Box 442internal static bool IsKnownIndexMarkerStyle(TextMarkerStyle markerStyle) 445markerStyle == TextMarkerStyle.Decimal 446|| markerStyle == TextMarkerStyle.LowerLatin 447|| markerStyle == TextMarkerStyle.UpperLatin 448|| markerStyle == TextMarkerStyle.LowerRoman 449|| markerStyle == TextMarkerStyle.UpperRoman
Core\CSharp\System\Windows\Media\TextFormatting\TextSimpleMarkerProperties.cs (3)
44TextMarkerStyle style, 56if (style != TextMarkerStyle.None) 73throw new ArgumentException(SR.Get(SRID.Enum_Invalid, typeof(TextMarkerStyle)), "style");
PresentationFramework (72)
src\Framework\MS\Internal\PtsHost\ListMarkerSourceInfo.cs (20)
68case TextMarkerStyle.Disc: 72case TextMarkerStyle.Circle: 76case TextMarkerStyle.Square: 80case TextMarkerStyle.Box: 110case TextMarkerStyle.Decimal: 114case TextMarkerStyle.LowerLatin: 118case TextMarkerStyle.UpperLatin: 122case TextMarkerStyle.LowerRoman: 126case TextMarkerStyle.UpperRoman: 371private static bool IsKnownSymbolMarkerStyle(TextMarkerStyle markerStyle) 374markerStyle == TextMarkerStyle.Disc 375|| markerStyle == TextMarkerStyle.Circle 376|| markerStyle == TextMarkerStyle.Square 377|| markerStyle == TextMarkerStyle.Box 381private static bool IsKnownIndexMarkerStyle(TextMarkerStyle markerStyle) 384markerStyle == TextMarkerStyle.Decimal 385|| markerStyle == TextMarkerStyle.LowerLatin 386|| markerStyle == TextMarkerStyle.UpperLatin 387|| markerStyle == TextMarkerStyle.LowerRoman 388|| markerStyle == TextMarkerStyle.UpperRoman
src\Framework\MS\Internal\Text\MarkerProperties.cs (1)
64private TextMarkerStyle _style;
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (7)
82if (val is TextMarkerStyle) 84switch ((TextMarkerStyle)val) 86case TextMarkerStyle.None: 89case TextMarkerStyle.Disc: 92case TextMarkerStyle.Circle: 95case TextMarkerStyle.Square: 98case TextMarkerStyle.Box:
src\Framework\System\Windows\Documents\List.cs (16)
98typeof(TextMarkerStyle), 101TextMarkerStyle.Disc, 109public TextMarkerStyle MarkerStyle 111get { return (TextMarkerStyle)GetValue(MarkerStyleProperty); } 315TextMarkerStyle value = (TextMarkerStyle)o; 316return value == TextMarkerStyle.None 317|| value == TextMarkerStyle.Disc 318|| value == TextMarkerStyle.Circle 319|| value == TextMarkerStyle.Square 320|| value == TextMarkerStyle.Box 321|| value == TextMarkerStyle.LowerRoman 322|| value == TextMarkerStyle.UpperRoman 323|| value == TextMarkerStyle.LowerLatin 324|| value == TextMarkerStyle.UpperLatin 325|| value == TextMarkerStyle.Decimal;
src\Framework\System\windows\Documents\TextEditorLists.cs (14)
195list.MarkerStyle = TextMarkerStyle.Disc; 199TextRangeEditLists.ConvertParagraphsToListItems(thisSelection, TextMarkerStyle.Disc); 204TextRangeEditLists.ConvertParagraphsToListItems(thisSelection, TextMarkerStyle.Disc); 224list.MarkerStyle = TextMarkerStyle.Decimal; 228TextRangeEditLists.ConvertParagraphsToListItems(thisSelection, TextMarkerStyle.Decimal); 233TextRangeEditLists.ConvertParagraphsToListItems(thisSelection, TextMarkerStyle.Decimal); 245TextRangeEditLists.ConvertParagraphsToListItems(thisSelection, TextMarkerStyle.Decimal); 300TextRangeEditLists.ConvertParagraphsToListItems(thisSelection, TextMarkerStyle.Disc); 366TextMarkerStyle markerStyle = list.MarkerStyle; 367return TextMarkerStyle.Disc <= markerStyle && markerStyle <= TextMarkerStyle.Box; 377TextMarkerStyle markerStyle = list.MarkerStyle; 378return TextMarkerStyle.LowerRoman <= markerStyle && markerStyle <= TextMarkerStyle.Decimal;
src\Framework\System\Windows\Documents\TextRangeBase.cs (13)
858TextMarkerStyle markerStyle = list != null ? list.MarkerStyle : TextMarkerStyle.Disc; 902private static void WriteListMarker(StringBuilder textBuffer, TextMarkerStyle listMarkerStyle, int listItemNumber) 909case TextMarkerStyle.None : 912case TextMarkerStyle.Disc : 915case TextMarkerStyle.Circle : 918case TextMarkerStyle.Square : 921case TextMarkerStyle.Box : 925case TextMarkerStyle.Decimal: 929case TextMarkerStyle.LowerLatin: 933case TextMarkerStyle.UpperLatin: 937case TextMarkerStyle.LowerRoman: 941case TextMarkerStyle.UpperRoman:
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (1)
270internal static bool ConvertParagraphsToListItems(TextRange range, TextMarkerStyle markerStyle)