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