Base:
property
RightToLeft
System.Windows.Forms.ToolStripItem.RightToLeft
17 writes to RightToLeft
System.Windows.Forms.Tests (17)
System\Windows\Forms\ToolStripControlHostTests.cs (17)
1561
item.
RightToLeft
= value;
1567
item.
RightToLeft
= value;
1580
RightToLeft
= value
1587
item.
RightToLeft
= value;
1608
item.
RightToLeft
= RightToLeft.Yes;
1613
item.
RightToLeft
= RightToLeft.Yes;
1618
item.
RightToLeft
= RightToLeft.No;
1624
item.
RightToLeft
= RightToLeft.Yes;
1635
Assert.Throws<InvalidEnumArgumentException>("value", () => item.
RightToLeft
= value);
1646
item.
RightToLeft
= RightToLeft.Yes;
1650
item.
RightToLeft
= RightToLeft.No;
1654
item.
RightToLeft
= RightToLeft.Inherit;
1658
item.
RightToLeft
= RightToLeft.No;
1689
item.
RightToLeft
= RightToLeft.Yes;
1693
item.
RightToLeft
= RightToLeft.No;
1697
item.
RightToLeft
= RightToLeft.Inherit;
1701
item.
RightToLeft
= RightToLeft.No;
25 references to RightToLeft
System.Windows.Forms.Tests (25)
System\Windows\Forms\ToolStripControlHostTests.cs (25)
107
Assert.Equal(c.RightToLeft, item.
RightToLeft
);
645
Assert.Equal(RightToLeft.Yes, item.
RightToLeft
);
1550
Assert.Equal(RightToLeft.Inherit, item.
RightToLeft
);
1562
Assert.Equal(RightToLeft.Inherit, item.
RightToLeft
);
1568
Assert.Equal(RightToLeft.Inherit, item.
RightToLeft
);
1582
Assert.Equal(expected, item.
RightToLeft
);
1588
Assert.Equal(expected, item.
RightToLeft
);
1609
Assert.Equal(RightToLeft.Yes, item.
RightToLeft
);
1614
Assert.Equal(RightToLeft.Yes, item.
RightToLeft
);
1619
Assert.Equal(RightToLeft.No, item.
RightToLeft
);
1625
Assert.Equal(RightToLeft.Yes, item.
RightToLeft
);
1641
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.
RightToLeft
)];
1647
Assert.Equal(RightToLeft.Yes, item.
RightToLeft
);
1651
Assert.Equal(RightToLeft.No, item.
RightToLeft
);
1655
Assert.Equal(RightToLeft.No, item.
RightToLeft
);
1659
Assert.Equal(RightToLeft.No, item.
RightToLeft
);
1663
Assert.Equal(RightToLeft.No, item.
RightToLeft
);
1670
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.
RightToLeft
)];
1684
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.
RightToLeft
)];
1690
Assert.Equal(RightToLeft.Yes, item.
RightToLeft
);
1694
Assert.Equal(RightToLeft.No, item.
RightToLeft
);
1698
Assert.Equal(RightToLeft.No, item.
RightToLeft
);
1702
Assert.Equal(RightToLeft.No, item.
RightToLeft
);
1706
Assert.Equal(RightToLeft.No, item.
RightToLeft
);
1713
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.
RightToLeft
)];