18 writes to TextAlign
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
414
set => base.
TextAlign
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
528
menuItem.
TextAlign
= TextAlign;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
214
set => base.
TextAlign
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
234
_splitButtonButton.
TextAlign
= TextAlign;
System.Windows.Forms.Tests (14)
System\Windows\Forms\ToolStripButtonTests.cs (2)
1281
TextAlign
= textAlign,
1372
TextAlign
= textAlign,
System\Windows\Forms\ToolStripItemTests.cs (11)
8292
TextAlign
= value
8297
item.
TextAlign
= value;
8331
item.
TextAlign
= value;
8337
item.
TextAlign
= value;
8385
item.
TextAlign
= value;
8394
item.
TextAlign
= value;
8423
item.
TextAlign
= value;
8429
item.
TextAlign
= value;
8462
item.
TextAlign
= value;
8471
item.
TextAlign
= value;
8492
Assert.Throws<InvalidEnumArgumentException>("value", () => item.
TextAlign
= value);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
303
TextAlign
= ContentAlignment.BottomRight,
32 references to TextAlign
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
413
get => base.
TextAlign
;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (2)
116
layoutOptions.TextAlign = Owner.
TextAlign
;
126
layoutOptions.GdiTextFormatFlags = ContentAlignmentToTextFormat(Owner.
TextAlign
, Owner.RightToLeft == RightToLeft.Yes);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
528
menuItem.TextAlign =
TextAlign
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
213
get => base.
TextAlign
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
234
_splitButtonButton.TextAlign =
TextAlign
;
System.Windows.Forms.Tests (26)
System\Windows\Forms\ToolStripButtonTests.cs (6)
86
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
167
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
254
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
344
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
432
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
530
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
86
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
175
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
274
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
382
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
System\Windows\Forms\ToolStripItemTests.cs (13)
85
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
170
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
265
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
8294
Assert.Equal(value, item.
TextAlign
);
8298
Assert.Equal(value, item.
TextAlign
);
8332
Assert.Equal(value, item.
TextAlign
);
8338
Assert.Equal(value, item.
TextAlign
);
8386
Assert.Equal(value, item.
TextAlign
);
8395
Assert.Equal(value, item.
TextAlign
);
8424
Assert.Equal(value, item.
TextAlign
);
8430
Assert.Equal(value, item.
TextAlign
);
8463
Assert.Equal(value, item.
TextAlign
);
8472
Assert.Equal(value, item.
TextAlign
);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
95
Assert.Equal(ContentAlignment.MiddleCenter, item.
TextAlign
);
348
clone.
TextAlign
.Should().Be(original.
TextAlign
);