15 references to Overlay
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
23
private TextImageRelation _textImageRelation = TextImageRelation.
Overlay
;
699
[DefaultValue(TextImageRelation.
Overlay
)]
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
584
TextImageRelation = TextImageRelation.
Overlay
,
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
490
if (ImageSize == Size.Empty || Text is null || Text.Length == 0 || textImageRelation == TextImageRelation.
Overlay
)
System.Windows.Forms.Tests (11)
System\Windows\Forms\ButtonBaseTests.cs (6)
112
Assert.Equal(TextImageRelation.
Overlay
, control.TextImageRelation);
3534
yield return new object[] { true, TextImageRelation.
Overlay
, 0 };
3540
yield return new object[] { false, TextImageRelation.
Overlay
, 0 };
3597
yield return new object[] { autoSize, TextImageRelation.
Overlay
, 0 };
3643
yield return new object[] { true, TextImageRelation.
Overlay
, 0, 0 };
3649
yield return new object[] { false, TextImageRelation.
Overlay
, 0, 0 };
System\Windows\Forms\ButtonTests.cs (1)
110
Assert.Equal(TextImageRelation.
Overlay
, control.TextImageRelation);
System\Windows\Forms\CheckBoxTests.cs (1)
112
Assert.Equal(TextImageRelation.
Overlay
, control.TextImageRelation);
System\Windows\Forms\RadioButtonTests.cs (1)
110
Assert.Equal(TextImageRelation.
Overlay
, control.TextImageRelation);
System\Windows\Forms\ToolStripItemTests.cs (2)
8833
[InlineData(TextImageRelation.
Overlay
, 1)]
8876
[InlineData(TextImageRelation.
Overlay
, 1)]