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