18 references to TextPaddingOptions
System.Windows.Forms (18)
System\Windows\Forms\Controls\Labels\Label.cs (3)
1112TextPaddingOptions padding = default; 1116padding = TextPaddingOptions.NoPadding; 1120padding = TextPaddingOptions.LeftAndRightPadding;
System\Windows\Forms\Controls\Labels\LinkLabel.cs (3)
564TextPaddingOptions padding = default; 567padding = TextPaddingOptions.NoPadding; 571padding = TextPaddingOptions.LeftAndRightPadding;
System\Windows\Forms\Rendering\TextExtensions.cs (12)
25private static (DRAW_TEXT_FORMAT Flags, TextPaddingOptions Padding) SplitTextFormatFlags(TextFormatFlags flags) 29return ((DRAW_TEXT_FORMAT)flags, TextPaddingOptions.GlyphOverhangPadding); 35TextPaddingOptions padding = flags.HasFlag(TextFormatFlags.LeftAndRightPadding) 36? TextPaddingOptions.LeftAndRightPadding 38? TextPaddingOptions.NoPadding 39: TextPaddingOptions.GlyphOverhangPadding; 63(DRAW_TEXT_FORMAT dt, TextPaddingOptions padding) = SplitTextFormatFlags(flags); 105TextPaddingOptions padding = default) 116case TextPaddingOptions.GlyphOverhangPadding: 123case TextPaddingOptions.LeftAndRightPadding: 130case TextPaddingOptions.NoPadding: 217(DRAW_TEXT_FORMAT dt, TextPaddingOptions padding) = SplitTextFormatFlags(flags);