12 references to TextAboveImage
System.Windows.Forms (5)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (4)
464TextImageRelation.TextAboveImage | TextImageRelation.ImageBeforeText, // BottomLeft 465TextImageRelation.TextAboveImage, // BottomCenter 466TextImageRelation.TextAboveImage | TextImageRelation.TextBeforeImage // BottomRight 585if (textImageRelation is TextImageRelation.TextAboveImage or TextImageRelation.ImageAboveText)
System\Windows\Forms\Layout\LayoutUtils.cs (1)
485return (relation & (TextImageRelation.TextAboveImage | TextImageRelation.ImageAboveText)) != 0;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ButtonBaseTests.cs (5)
3535yield return new object[] { true, TextImageRelation.TextAboveImage, 1 }; 3541yield return new object[] { false, TextImageRelation.TextAboveImage, 0 }; 3598yield return new object[] { autoSize, TextImageRelation.TextAboveImage, 1 }; 3644yield return new object[] { true, TextImageRelation.TextAboveImage, 1, 1 }; 3650yield return new object[] { false, TextImageRelation.TextAboveImage, 0, 1 };
System\Windows\Forms\ToolStripItemTests.cs (2)
8837[InlineData(TextImageRelation.TextAboveImage, 1)] 8880[InlineData(TextImageRelation.TextAboveImage, 1)]