30 references to TopLeft
PresentationUI (1)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
396
this._descriptionLabel.ImageAlign = System.Drawing.ContentAlignment.
TopLeft
;
System.Windows.Forms (19)
System\Windows\Forms\Control.cs (2)
10681
case ContentAlignment.
TopLeft
:
10684
return ContentAlignment.
TopLeft
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
595
CheckAlign = ContentAlignment.
TopLeft
,
622
CheckAlign = ContentAlignment.
TopLeft
,
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (3)
332
[ContentAlignment.
TopLeft
, ContentAlignment.TopRight],
396
case ContentAlignment.
TopLeft
:
451
/// For example, <see cref="ContentAlignment.
TopLeft
"/> maps to <see cref="TextImageRelation.ImageAboveText"/>
System\Windows\Forms\Controls\DataGridView\DataGridViewUtilities.cs (1)
24
DataGridViewContentAlignment.TopLeft => ContentAlignment.
TopLeft
,
System\Windows\Forms\Controls\Labels\Label.cs (4)
267
case ContentAlignment.
TopLeft
:
690
[DefaultValue(ContentAlignment.
TopLeft
)]
694
get => Properties.GetValueOrDefault(s_propTextAlign, ContentAlignment.
TopLeft
);
701
Properties.AddOrRemoveValue(s_propTextAlign, value, defaultValue: ContentAlignment.
TopLeft
);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (1)
114
layoutOptions.CheckAlign = ContentAlignment.
TopLeft
;
System\Windows\Forms\Internal\WinFormsUtils.cs (2)
14
public const ContentAlignment AnyLeftAlign = ContentAlignment.
TopLeft
| ContentAlignment.MiddleLeft | ContentAlignment.BottomLeft;
15
public const ContentAlignment AnyTopAlign = ContentAlignment.
TopLeft
| ContentAlignment.TopCenter | ContentAlignment.TopRight;
System\Windows\Forms\Layout\CommonProperties.cs (1)
26
internal const ContentAlignment DefaultAlignment = ContentAlignment.
TopLeft
;
System\Windows\Forms\Layout\LayoutUtils.cs (3)
18
public const ContentAlignment AnyTop = ContentAlignment.
TopLeft
| ContentAlignment.TopCenter | ContentAlignment.TopRight;
20
public const ContentAlignment AnyLeft = ContentAlignment.
TopLeft
| ContentAlignment.MiddleLeft | ContentAlignment.BottomLeft;
100
Debug.Assert(result != 0x00 || alignment == ContentAlignment.
TopLeft
, "Error detected in ContentAlignmentToIndex.");
System.Windows.Forms.Design (10)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
37
TextAlign = ContentAlignment.
TopLeft
,
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (2)
36
return ContentAlignment.
TopLeft
;
75
case ContentAlignment.
TopLeft
:
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
33
int baseline = DesignerUtils.GetTextBaseline(Control, Drawing.ContentAlignment.
TopLeft
);
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
189
TextAlign = ContentAlignment.
TopLeft
,
321
TextAlign = ContentAlignment.
TopLeft
,
System\Windows\Forms\Design\DesignerUtils.cs (1)
107
public const ContentAlignment AnyTopAlignment = ContentAlignment.
TopLeft
| ContentAlignment.TopCenter | ContentAlignment.TopRight;
System\Windows\Forms\Design\LabelDesigner.cs (1)
31
ContentAlignment alignment = ContentAlignment.
TopLeft
;
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
29
int baseline = DesignerUtils.GetTextBaseline(Control, Drawing.ContentAlignment.
TopLeft
);
System\Windows\Forms\Design\UpDownBaseDesigner.cs (1)
43
int baseline = DesignerUtils.GetTextBaseline(Control, Drawing.ContentAlignment.
TopLeft
);