32 references to BottomCenter
System.Windows.Forms (11)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
430
case ContentAlignment.
BottomCenter
:
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (1)
31
DataGridViewContentAlignment.BottomCenter => ContentAlignment.
BottomCenter
,
System\Windows\Forms\Controls\Labels\Label.cs (1)
281
case ContentAlignment.
BottomCenter
:
System\Windows\Forms\Internal\WinFormsUtils.cs (2)
16
public const ContentAlignment AnyBottomAlign = ContentAlignment.BottomLeft | ContentAlignment.
BottomCenter
| ContentAlignment.BottomRight;
18
public const ContentAlignment AnyCenterAlign = ContentAlignment.TopCenter | ContentAlignment.MiddleCenter | ContentAlignment.
BottomCenter
;
System\Windows\Forms\Layout\LayoutUtils.cs (4)
19
public const ContentAlignment AnyBottom = ContentAlignment.BottomLeft | ContentAlignment.
BottomCenter
| ContentAlignment.BottomRight;
22
public const ContentAlignment AnyCenter = ContentAlignment.TopCenter | ContentAlignment.MiddleCenter | ContentAlignment.
BottomCenter
;
109
Debug.Assert(result != 0x09 || alignment == ContentAlignment.
BottomCenter
, "Error detected in ContentAlignmentToIndex.");
479
return (align & (ContentAlignment.TopCenter | ContentAlignment.
BottomCenter
)) != 0;
System\Windows\Forms\Rendering\ControlPaint.cs (2)
60
= ContentAlignment.BottomLeft | ContentAlignment.
BottomCenter
| ContentAlignment.BottomRight;
62
= ContentAlignment.TopCenter | ContentAlignment.MiddleCenter | ContentAlignment.
BottomCenter
;
System.Windows.Forms.Design (2)
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (2)
64
return ContentAlignment.
BottomCenter
;
96
case ContentAlignment.
BottomCenter
:
System.Windows.Forms.Tests (19)
System\Windows\Forms\ButtonBaseTests.cs (3)
191
yield return new object[] { FlatStyle.System, RightToLeft.Yes, ContentAlignment.
BottomCenter
, 0x56012B00, 0x6000 };
201
yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.
BottomCenter
, 0x56012B00, 0 };
211
yield return new object[] { FlatStyle.System, RightToLeft.Inherit, ContentAlignment.
BottomCenter
, 0x56012B00, 0 };
System\Windows\Forms\ButtonTests.cs (3)
213
yield return new object[] { FlatStyle.System, RightToLeft.Yes, ContentAlignment.
BottomCenter
, 0x56012B00, 0x6000 };
223
yield return new object[] { FlatStyle.System, RightToLeft.No, ContentAlignment.
BottomCenter
, 0x56012B00, 0 };
233
yield return new object[] { FlatStyle.System, RightToLeft.Inherit, ContentAlignment.
BottomCenter
, 0x56012B00, 0 };
System\Windows\Forms\ControlTests.Methods.cs (2)
6913
yield return new object[] { RightToLeft.Yes, ContentAlignment.
BottomCenter
, ContentAlignment.
BottomCenter
};
System\Windows\Forms\LabelTests.cs (2)
388
[InlineData(ContentAlignment.
BottomCenter
)]
838
label.TextAlign = ContentAlignment.
BottomCenter
;
System\Windows\Forms\RadioButtonTests.cs (1)
179
ContentAlignment.
BottomCenter
,
System\Windows\Forms\ToolStripButtonTests.cs (3)
1252
yield return new object[] { ContentAlignment.
BottomCenter
, RightToLeft.Yes, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix | TextFormatFlags.RightToLeft };
1253
yield return new object[] { ContentAlignment.
BottomCenter
, RightToLeft.Inherit, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
1254
yield return new object[] { ContentAlignment.
BottomCenter
, RightToLeft.No, ToolStripItemDisplayStyle.Text, 0, 1, TextFormatFlags.HorizontalCenter | TextFormatFlags.Bottom | TextFormatFlags.HidePrefix };
System\Windows\Forms\ToolStripItemTests.cs (4)
4193
[InlineData(ContentAlignment.
BottomCenter
, 1)]
4240
[InlineData(ContentAlignment.
BottomCenter
, 1)]
8309
[InlineData(ContentAlignment.
BottomCenter
, 1)]
8356
[InlineData(ContentAlignment.
BottomCenter
, 1)]
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
289
ImageAlign = ContentAlignment.
BottomCenter
,