15 references to ImageAboveText
System.Windows.Forms (7)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (6)
451/// For example, <see cref="ContentAlignment.TopLeft"/> maps to <see cref="TextImageRelation.ImageAboveText"/> 456TextImageRelation.ImageAboveText | TextImageRelation.ImageBeforeText, // TopLeft 457TextImageRelation.ImageAboveText, // TopCenter 458TextImageRelation.ImageAboveText | TextImageRelation.TextBeforeImage, // TopRight 585if (textImageRelation is TextImageRelation.TextAboveImage or TextImageRelation.ImageAboveText) 604if (textImageRelation == TextImageRelation.ImageAboveText && layout.ImageBounds.Size.Height != 0)
System\Windows\Forms\Layout\LayoutUtils.cs (1)
485return (relation & (TextImageRelation.TextAboveImage | TextImageRelation.ImageAboveText)) != 0;
System.Windows.Forms.Tests (8)
System\Windows\Forms\ButtonBaseTests.cs (5)
3532yield return new object[] { true, TextImageRelation.ImageAboveText, 1 }; 3538yield return new object[] { false, TextImageRelation.ImageAboveText, 0 }; 3595yield return new object[] { autoSize, TextImageRelation.ImageAboveText, 1 }; 3641yield return new object[] { true, TextImageRelation.ImageAboveText, 1, 1 }; 3647yield return new object[] { false, TextImageRelation.ImageAboveText, 0, 1 };
System\Windows\Forms\ToolStripItemTests.cs (2)
8836[InlineData(TextImageRelation.ImageAboveText, 1)] 8879[InlineData(TextImageRelation.ImageAboveText, 1)]
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
305TextImageRelation = TextImageRelation.ImageAboveText,