43 references to ToolStripTextDirection
System.Windows.Forms (43)
winforms\Managed\System\WinForms\ToolStrip.cs (10)
1867
DefaultValue(
ToolStripTextDirection
.Horizontal),
1871
public virtual
ToolStripTextDirection
TextDirection {
1873
ToolStripTextDirection
textDirection =
ToolStripTextDirection
.Inherit;
1875
textDirection= (
ToolStripTextDirection
)Properties.GetObject(ToolStrip.PropTextDirection);
1878
if (textDirection ==
ToolStripTextDirection
.Inherit) {
1879
textDirection =
ToolStripTextDirection
.Horizontal;
1886
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
ToolStripTextDirection
.Inherit, (int)
ToolStripTextDirection
.Vertical270)){
1887
throw new InvalidEnumArgumentException("value", (int)value, typeof(
ToolStripTextDirection
));
winforms\Managed\System\WinForms\ToolStripControlHost.cs (2)
538
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never), DefaultValue(
ToolStripTextDirection
.Horizontal)]
539
public override
ToolStripTextDirection
TextDirection {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
964
DefaultValue(
ToolStripTextDirection
.Horizontal),
968
public override
ToolStripTextDirection
TextDirection {
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (2)
259
if (ownerItem.TextDirection ==
ToolStripTextDirection
.Horizontal) {
274
if (ownerItem.TextDirection ==
ToolStripTextDirection
.Horizontal) {
winforms\Managed\System\WinForms\ToolStripItem.cs (19)
2326
public virtual
ToolStripTextDirection
TextDirection {
2328
ToolStripTextDirection
textDirection =
ToolStripTextDirection
.Inherit;
2330
textDirection= (
ToolStripTextDirection
)Properties.GetObject(ToolStripItem.PropTextDirection);
2333
if (textDirection ==
ToolStripTextDirection
.Inherit) {
2339
textDirection = (Owner == null) ?
ToolStripTextDirection
.Horizontal : Owner.TextDirection;
2347
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
ToolStripTextDirection
.Inherit, (int)
ToolStripTextDirection
.Vertical270))
2349
throw new InvalidEnumArgumentException("value", (int)value, typeof(
ToolStripTextDirection
));
3355
ToolStripTextDirection
textDirection =
ToolStripTextDirection
.Inherit;
3357
textDirection= (
ToolStripTextDirection
)Properties.GetObject(ToolStripItem.PropTextDirection);
3360
if (textDirection ==
ToolStripTextDirection
.Inherit) {
3753
ToolStripTextDirection
textDirection =
ToolStripTextDirection
.Inherit;
3755
textDirection= (
ToolStripTextDirection
)Properties.GetObject(ToolStripItem.PropTextDirection);
3757
return textDirection !=
ToolStripTextDirection
.Inherit;
3834
TextDirection =
ToolStripTextDirection
.Inherit;
4743
if (Owner.TextDirection !=
ToolStripTextDirection
.Horizontal) {
winforms\Managed\System\WinForms\ToolStripItemTextRenderEventArgs.cs (3)
24
private
ToolStripTextDirection
textDirection =
ToolStripTextDirection
.Horizontal;
148
public
ToolStripTextDirection
TextDirection {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
934
if (e.TextDirection !=
ToolStripTextDirection
.Horizontal && textRect.Width > 0 && textRect.Height > 0) {
943
textBmp.RotateFlip((e.TextDirection ==
ToolStripTextDirection
.Vertical90) ? RotateFlipType.Rotate90FlipNone : RotateFlipType.Rotate270FlipNone);
winforms\Managed\System\WinForms\ToolStripSeparator.cs (2)
348
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never), DefaultValue(
ToolStripTextDirection
.Horizontal)]
349
public override
ToolStripTextDirection
TextDirection {
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
696
public override
ToolStripTextDirection
TextDirection {