1 override of RightToLeft
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
425
public override RightToLeft
RightToLeft
{
2 writes to RightToLeft
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
3825
RightToLeft
= RightToLeft.Inherit;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
644
menuItem.
RightToLeft
= this.RightToLeft;
26 references to RightToLeft
System.Windows.Forms (26)
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
430
return base.
RightToLeft
;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
895
return OwnerItem.
RightToLeft
;
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
281
if (ownerItem.
RightToLeft
== RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (5)
115
if (OppositeDropDownAlign || this.
RightToLeft
!= parent.RightToLeft && (this.
RightToLeft
!= RightToLeft.Inherit)) {
116
dropDownDirection = RTLTranslateDropDownDirection(dropDownDirection,
RightToLeft
);
127
RightToLeft toggledRightToLeft = (
RightToLeft
== RightToLeft.Yes) ? RightToLeft.No : RightToLeft.Yes;
391
bool rtl = (
RightToLeft
== RightToLeft.Yes);
winforms\Managed\System\WinForms\ToolStripItem.cs (6)
2056
RightToLeft oldValue =
RightToLeft
;
2062
if (oldValue !=
RightToLeft
) {
3347
if ((rightToLeft == (int)RightToLeft.Inherit) &&
RightToLeft
!= DefaultRightToLeft) {
3740
/// <para>Determines if the <see cref='System.Windows.Forms.ToolStripItem.
RightToLeft
'/> property needs to be persisted.</para>
4713
layoutOptions.layoutRTL = RightToLeft.Yes == Owner.
RightToLeft
;
4721
layoutOptions.gdiTextFormatFlags = ContentAlignToTextFormat(Owner.TextAlign, Owner.
RightToLeft
== RightToLeft.Yes);
winforms\Managed\System\WinForms\ToolStripItemImageRenderEventArgs.cs (1)
22
this.image = (item.RightToLeftAutoMirrorImage && (item.
RightToLeft
== RightToLeft.Yes)) ? item.MirroredImage : item.Image;
winforms\Managed\System\WinForms\ToolStripItemTextRenderEventArgs.cs (1)
54
this.textFormat = ToolStripItemInternalLayout.ContentAlignToTextFormat(textAlign, item.
RightToLeft
== RightToLeft.Yes);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
644
menuItem.RightToLeft= this.
RightToLeft
;
1073
bool rightToLeft = (
RightToLeft
== RightToLeft.Yes);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (3)
151
bool rightToLeft = (item.
RightToLeft
== RightToLeft.Yes);
265
Padding deflatePadding = item.
RightToLeft
== RightToLeft.Yes ? new Padding(0, 1, 1, 1) : new Padding(1, 1, 0, 1);
1306
bool rightToLeft = (item.
RightToLeft
== RightToLeft.Yes);
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
383
if (this.
RightToLeft
== RightToLeft.No) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (4)
386
RenderSmall3DBorderInternal(g, bounds, state, (item.
RightToLeft
== RightToLeft.Yes));
458
bool rightToLeft = (splitButton.
RightToLeft
== RightToLeft.Yes);
579
RenderSmall3DBorderInternal(g, new Rectangle(Point.Empty, item.Size), state, (item.
RightToLeft
== RightToLeft.Yes));
623
bool rightToLeft = (item.
RightToLeft
== RightToLeft.Yes);