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