254 references to RightToLeft
System.Web.Entity.Design (1)
System\Data\WebControls\Design\Util\DesignerForm.cs (1)
83
RightToLeft =
RightToLeft
.Yes;
System.Web.Mobile (1)
UI\MobileControls\Design\DesignerForm.cs (1)
66
RightToLeft =
RightToLeft
.Yes;
System.Windows.Forms (247)
winforms\Managed\System\WinForms\AxHost.cs (7)
539
RightToLeft
rtol = base.RightToLeft;
540
return rtol == System.Windows.Forms.
RightToLeft
.Yes;
544
base.RightToLeft = (value) ? System.Windows.Forms.
RightToLeft
.Yes : System.Windows.Forms.
RightToLeft
.No;
2449
if (ctl.RightToLeft == System.Windows.Forms.
RightToLeft
.No)
2451
if (ctl.RightToLeft == System.Windows.Forms.
RightToLeft
.Yes)
2453
if (ctl.RightToLeft == System.Windows.Forms.
RightToLeft
.Inherit)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (3)
1507
internal static LayoutOptions CommonLayout(Rectangle clientRectangle, Padding padding, bool isDefault, Font font, string text, bool enabled, ContentAlignment textAlign,
RightToLeft
rtl)
1528
layout.layoutRTL =
RightToLeft
.Yes == rtl;
1554
layout.layoutRTL =
RightToLeft
.Yes == Control.RightToLeft;
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (1)
288
bool isDefault, Font font, string text, bool enabled, ContentAlignment textAlign,
RightToLeft
rtl)
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (1)
160
bool isDefault, Font font, string text, bool enabled, ContentAlignment textAlign,
RightToLeft
rtl)
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
292
layout.layoutRTL =
RightToLeft
.Yes == Control.RightToLeft;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (1)
118
bool isDefault, Font font, string text, bool enabled, ContentAlignment textAlign,
RightToLeft
rtl,
winforms\Managed\System\WinForms\CheckedListBox.cs (4)
699
if (RightToLeft ==
RightToLeft
.Yes) {
725
if (RightToLeft ==
RightToLeft
.Yes) {
800
if (RightToLeft ==
RightToLeft
.Yes) {
827
if (RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\ColumnHeader.cs (1)
328
if ((Index != 0) && (listview.RightToLeft ==
RightToLeft
.Yes) && !listview.IsMirrored)
winforms\Managed\System\WinForms\ComboBox.cs (4)
5917
RightToLeft
origRightToLeft; // The combo box's RTL value when we were created
5951
if (origRightToLeft ==
RightToLeft
.Yes) {
5975
bool rightToLeft = comboBox.RightToLeft ==
RightToLeft
.Yes;
6066
if (origRightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\ContextMenu.cs (13)
34
private
RightToLeft
rightToLeft = System.Windows.Forms.
RightToLeft
.Inherit;
108
DefaultValue(
RightToLeft
.No),
111
public virtual
RightToLeft
RightToLeft {
113
if (System.Windows.Forms.
RightToLeft
.Inherit == rightToLeft) {
118
return
RightToLeft
.No;
128
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
RightToLeft
.No, (int)
RightToLeft
.Inherit)){
129
throw new InvalidEnumArgumentException("RightToLeft", (int)value, typeof(
RightToLeft
));
133
UpdateRtl((value == System.Windows.Forms.
RightToLeft
.Yes));
141
return (rightToLeft == System.Windows.Forms.
RightToLeft
.Yes);
178
RightToLeft =
RightToLeft
.No;
186
if (System.Windows.Forms.
RightToLeft
.Inherit == rightToLeft) {
winforms\Managed\System\WinForms\Control.cs (24)
1904
if (RightToLeft ==
RightToLeft
.Yes) {
2208
private
RightToLeft
DefaultRightToLeft {
2209
get { return
RightToLeft
.No; }
3738
AmbientValue(
RightToLeft
.Inherit),
3741
public virtual
RightToLeft
RightToLeft {
3746
rightToLeft = (int)
RightToLeft
.Inherit;
3749
if (((
RightToLeft
)rightToLeft) ==
RightToLeft
.Inherit) {
3758
return (
RightToLeft
)rightToLeft;
3763
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
RightToLeft
.No, (int)
RightToLeft
.Inherit)){
3764
throw new InvalidEnumArgumentException("RightToLeft", (int)value, typeof(
RightToLeft
));
3767
RightToLeft
oldValue = RightToLeft;
3769
if (Properties.ContainsInteger(PropRightToLeft) || value !=
RightToLeft
.Inherit) {
5479
RightToLeft
oldRtl = RightToLeft;
8459
if (!Properties.ContainsInteger(PropRightToLeft) || ((
RightToLeft
)Properties.GetInteger(PropRightToLeft)) ==
RightToLeft
.Inherit) {
8834
si.nPos = (RightToLeft ==
RightToLeft
.Yes) ? si.nMax : si.nMin;
10932
RightToLeft =
RightToLeft
.Inherit;
12298
return (found && rtl != (int)
RightToLeft
.Inherit);
12345
if (
RightToLeft
.Yes == RightToLeft) {
12364
if (
RightToLeft
.Yes == RightToLeft) {
12382
if (
RightToLeft
.Yes == RightToLeft) {
16111
return topLevelControl != null && topLevelControl.RightToLeft ==
RightToLeft
.Yes && !this.IsMirrored;
winforms\Managed\System\WinForms\ControlPaint.cs (6)
447
DrawBackgroundImage(g, backgroundImage, backColor, backgroundImageLayout, bounds, clipRect, Point.Empty,
RightToLeft
.No);
450
DrawBackgroundImage(g, backgroundImage, backColor, backgroundImageLayout, bounds, clipRect, scrollOffset,
RightToLeft
.No);
453
internal static void DrawBackgroundImage(Graphics g, Image backgroundImage, Color backColor, ImageLayout backgroundImageLayout, Rectangle bounds, Rectangle clipRect, Point scrollOffset,
RightToLeft
rightToLeft) {
481
if (rightToLeft ==
RightToLeft
.Yes && backgroundImageLayout == ImageLayout.None) {
2729
if( ctl.RightToLeft ==
RightToLeft
.Yes ) {
2773
if( ctl.RightToLeft ==
RightToLeft
.Yes ) {
winforms\Managed\System\WinForms\DataGrid.cs (1)
9546
return ( RightToLeft ==
RightToLeft
.Yes);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
275
relRect.X = MirrorRelationshipRectangle(relRect, DataGrid.GetRowHeaderRect(), DataGrid.RightToLeft ==
RightToLeft
.Yes);
winforms\Managed\System\WinForms\DataGridView.cs (2)
502
this.horizScrollBar.RightToLeft =
RightToLeft
.Inherit;
4025
this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftMode] = (this.RightToLeft ==
RightToLeft
.Yes);
winforms\Managed\System\WinForms\DataGridViewCell.cs (5)
5109
if (this.Owner.DataGridView.RightToLeft ==
RightToLeft
.No)
5126
if (this.owner.DataGridView.RightToLeft ==
RightToLeft
.No)
5142
if (this.owner.DataGridView.RightToLeft ==
RightToLeft
.No)
5249
if (this.owner.DataGridView.RightToLeft ==
RightToLeft
.No)
5260
if (this.owner.DataGridView.RightToLeft ==
RightToLeft
.No)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (2)
1427
if (this.Owner.DataGridView.RightToLeft ==
RightToLeft
.No)
1438
if (this.Owner.DataGridView.RightToLeft ==
RightToLeft
.No)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
29943
if (this.RightToLeft ==
RightToLeft
.Yes)
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (4)
162
if ((this.RightToLeft ==
RightToLeft
.No && !(this.SelectionLength == 0 && this.SelectionStart == this.Text.Length)) ||
163
(this.RightToLeft ==
RightToLeft
.Yes && !(this.SelectionLength == 0 && this.SelectionStart == 0)))
173
if ((this.RightToLeft ==
RightToLeft
.No && !(this.SelectionLength == 0 && this.SelectionStart == 0)) ||
174
(this.RightToLeft ==
RightToLeft
.Yes && !(this.SelectionLength == 0 && this.SelectionStart == this.Text.Length)))
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (3)
520
if (this.Owner.DataGridView.RightToLeft ==
RightToLeft
.No)
594
if (this.Owner.DataGridView.RightToLeft ==
RightToLeft
.No)
605
if (this.Owner.DataGridView.RightToLeft ==
RightToLeft
.No)
winforms\Managed\System\WinForms\DateTimePicker.cs (3)
483
if (RightToLeft ==
RightToLeft
.Yes && RightToLeftLayout == true) {
1285
if (RightToLeft ==
RightToLeft
.Yes) {
1635
if (this.RightToLeftLayout == true && this.RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\Form.cs (4)
1074
if (RightToLeft ==
RightToLeft
.Yes && RightToLeftLayout == true) {
5207
if (RightToLeft ==
RightToLeft
.Yes) {
5217
if (RightToLeft ==
RightToLeft
.Yes) {
7847
if (owner.RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\GroupBox.cs (4)
528
if (RightToLeft ==
RightToLeft
.Yes) {
572
if (RightToLeft ==
RightToLeft
.Yes) {
595
if( RightToLeft ==
RightToLeft
.Yes ){
616
if (RightToLeft ==
RightToLeft
.Yes)
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (1)
331
_isContainerRTL = ((Control)(_container)).RightToLeft ==
RightToLeft
.Yes;
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
1160
isContainerRTL = control.RightToLeft ==
RightToLeft
.Yes;
winforms\Managed\System\WinForms\ListBox.cs (3)
789
public override
RightToLeft
RightToLeft {
792
return
RightToLeft
.No;
1872
if (RightToLeft ==
RightToLeft
.Yes || this.HorizontalScrollbar) {
winforms\Managed\System\WinForms\ListView.cs (2)
757
if (RightToLeft ==
RightToLeft
.Yes && RightToLeftLayout == true) {
4512
if (RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\MainMenu.cs (12)
27
private
RightToLeft
rightToLeft = System.Windows.Forms.
RightToLeft
.Inherit;
85
AmbientValue(
RightToLeft
.Inherit),
88
public virtual
RightToLeft
RightToLeft {
90
if (System.Windows.Forms.
RightToLeft
.Inherit == rightToLeft) {
95
return
RightToLeft
.Inherit;
105
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
RightToLeft
.No, (int)
RightToLeft
.Inherit)){
106
throw new InvalidEnumArgumentException("RightToLeft", (int)value, typeof(
RightToLeft
));
110
UpdateRtl((value == System.Windows.Forms.
RightToLeft
.Yes));
118
return (RightToLeft == System.Windows.Forms.
RightToLeft
.Yes && (form == null || !form.IsMirrored));
204
if (System.Windows.Forms.
RightToLeft
.Inherit == RightToLeft) {
winforms\Managed\System\WinForms\MDIClient.cs (1)
127
if (this.RightToLeft ==
RightToLeft
.Yes && this.ParentInternal != null && this.ParentInternal.IsMirrored) {
winforms\Managed\System\WinForms\MenuStrip.cs (1)
229
SelectNextToolStripItem(null, /*forward=*/(RightToLeft ==
RightToLeft
.No));
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
446
if (RightToLeft ==
RightToLeft
.Yes && RightToLeftLayout == true) {
1733
if (RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\PictureBox.cs (1)
908
public override
RightToLeft
RightToLeft {
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
261
this.RightToLeft =
RightToLeft
.Yes;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
230
AmbientValue(
RightToLeft
.Inherit),
233
public override
RightToLeft
RightToLeft {
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
956
public override
RightToLeft
RightToLeft {
winforms\Managed\System\WinForms\ProgressBar.cs (2)
102
if (RightToLeft ==
RightToLeft
.Yes && RightToLeftLayout == true) {
815
if (RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
151
this.RightToLeft =
RightToLeft
.Yes;
winforms\Managed\System\WinForms\ScrollableControl.cs (2)
1083
if (horiz && !HScroll && (RightToLeft ==
RightToLeft
.Yes)) {
1285
NativeMethods.Util.MAKELPARAM((RightToLeft ==
RightToLeft
.Yes) ? NativeMethods.SB_RIGHT : NativeMethods.SB_LEFT,0), 0);
winforms\Managed\System\WinForms\ScrollBar.cs (3)
800
if (RightToLeft ==
RightToLeft
.Yes) {
831
if (RightToLeft ==
RightToLeft
.Yes) {
897
if (RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\SplitContainer.cs (6)
1529
if (RightToLeft ==
RightToLeft
.No) {
1557
if (RightToLeft ==
RightToLeft
.No) {
1665
if (RightToLeft ==
RightToLeft
.No) {
1726
splitterRect.X = ((RightToLeft ==
RightToLeft
.Yes) ? this.Width - splitterDistance - SplitterWidthInternal : this.Location.X + splitterDistance);
1788
if (RightToLeft ==
RightToLeft
.No) {
2259
bool isRTL = RightToLeft ==
RightToLeft
.Yes;
winforms\Managed\System\WinForms\StatusBar.cs (2)
865
if (RightToLeft ==
RightToLeft
.Yes) {
1883
if (richParent != null && richParent.RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\StatusBarPanel.cs (2)
597
if (parent.RightToLeft ==
RightToLeft
.Yes) {
639
if (parent.RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\StatusStrip.cs (6)
90
if (RightToLeft ==
RightToLeft
.No) {
230
if (RightToLeft ==
RightToLeft
.Yes) {
280
if (SizingGrip && RightToLeft ==
RightToLeft
.Yes) {
373
bool rightToLeft = ((Orientation == Orientation.Horizontal) && (RightToLeft ==
RightToLeft
.Yes));
575
if (RightToLeft ==
RightToLeft
.Yes) {
586
if (RightToLeft !=
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\TabControl.cs (3)
386
if (RightToLeft ==
RightToLeft
.Yes && RightToLeftLayout == true) {
1524
if (RightToLeft ==
RightToLeft
.Yes) {
2041
if (RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
421
bool isRTL = (RightToLeft ==
RightToLeft
.Yes);
winforms\Managed\System\WinForms\ToolBar.cs (3)
800
public override
RightToLeft
RightToLeft {
1588
if (RightToLeft ==
RightToLeft
.Yes) {
1610
if (RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\ToolStrip.cs (9)
713
direction = ((Dock == DockStyle.Right) && (RightToLeft ==
RightToLeft
.No)) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right;
727
direction = (RightToLeft ==
RightToLeft
.Yes) ? ToolStripDropDownDirection.AboveLeft : ToolStripDropDownDirection.AboveRight;
731
direction = (RightToLeft ==
RightToLeft
.Yes) ? ToolStripDropDownDirection.BelowLeft : ToolStripDropDownDirection.BelowRight;
857
rect.X += (RightToLeft ==
RightToLeft
.No) ? gripwidth : 0;
2210
if (rtlAware && RightToLeft ==
RightToLeft
.Yes) {
3163
if (RightToLeft ==
RightToLeft
.Yes) {
4295
if (RightToLeft ==
RightToLeft
.Yes) {
5438
insertIndex = Math.Max(0, (owner.RightToLeft ==
RightToLeft
.Yes) ? insertIndex + 1 : insertIndex);
5446
insertIndex = Math.Max(0, (owner.RightToLeft ==
RightToLeft
.No) ? insertIndex + 1 : insertIndex);
winforms\Managed\System\WinForms\ToolStripContainer.cs (2)
404
RightToLeft
rightToLeft = this.RightToLeft;
407
if (rightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
425
public override
RightToLeft
RightToLeft {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (5)
385
return (RightToLeft ==
RightToLeft
.Yes)? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right;
811
RightToLeft
startRightToLeft = this.RightToLeft;
884
AmbientValue(
RightToLeft
.Inherit),
887
public override
RightToLeft
RightToLeft {
2045
if (this.OwnerItem == null && control.RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
281
if (ownerItem.RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (9)
115
if (OppositeDropDownAlign || this.RightToLeft != parent.RightToLeft && (this.RightToLeft !=
RightToLeft
.Inherit)) {
127
RightToLeft
toggledRightToLeft = (RightToLeft ==
RightToLeft
.Yes) ?
RightToLeft
.No :
RightToLeft
.Yes;
391
bool rtl = (RightToLeft ==
RightToLeft
.Yes);
628
private ToolStripDropDownDirection RTLTranslateDropDownDirection(ToolStripDropDownDirection dropDownDirection,
RightToLeft
rightToLeft) {
647
return (rightToLeft ==
RightToLeft
.Yes) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right;
650
return (rightToLeft ==
RightToLeft
.Yes) ? ToolStripDropDownDirection.BelowLeft : ToolStripDropDownDirection.BelowRight;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (4)
120
RightToLeft
rightToLeft = RightToLeft;
122
int textPadding = (rightToLeft ==
RightToLeft
.Yes) ? scaledTextPadding.Right : scaledTextPadding.Left;
126
if (rightToLeft ==
RightToLeft
.Yes) {
487
if (RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\ToolStripItem.cs (20)
800
private
RightToLeft
DefaultRightToLeft {
802
return
RightToLeft
.Inherit;
2026
public virtual
RightToLeft
RightToLeft {
2031
rightToLeft = (int)
RightToLeft
.Inherit;
2034
if (((
RightToLeft
)rightToLeft) ==
RightToLeft
.Inherit) {
2046
return (
RightToLeft
)rightToLeft;
2051
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
RightToLeft
.No, (int)
RightToLeft
.Inherit))
2053
throw new InvalidEnumArgumentException("RightToLeft", (int)value, typeof(
RightToLeft
));
2056
RightToLeft
oldValue = RightToLeft;
2058
if (Properties.ContainsInteger(PropRightToLeft) || value !=
RightToLeft
.Inherit) {
3327
if (!Properties.ContainsInteger(PropRightToLeft) || ((
RightToLeft
)Properties.GetInteger(PropRightToLeft)) ==
RightToLeft
.Inherit) {
3345
rightToLeft = (int)
RightToLeft
.Inherit;
3347
if ((rightToLeft == (int)
RightToLeft
.Inherit) && RightToLeft != DefaultRightToLeft) {
3825
RightToLeft =
RightToLeft
.Inherit;
4338
bool forwardInCollection = (parent.RightToLeft ==
RightToLeft
.No);
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\ToolStripManager.cs (1)
241
toolStrip.SelectNextToolStripItem(null, toolStrip.RightToLeft !=
RightToLeft
.Yes);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1073
bool rightToLeft = (RightToLeft ==
RightToLeft
.Yes);
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
489
&& toolStripToDrag.RightToLeft ==
RightToLeft
.Yes ) {
713
if (Orientation == Orientation.Horizontal && RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (10)
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);
435
bool rightToLeft = (e.ToolStrip.RightToLeft ==
RightToLeft
.Yes);
614
RightToLeft
rightToLeft = e.ToolStrip.RightToLeft;
615
Color begin = (rightToLeft ==
RightToLeft
.No) ? ColorTable.ImageMarginGradientBegin : ColorTable.ImageMarginGradientEnd;
616
Color end = (rightToLeft ==
RightToLeft
.No) ? ColorTable.ImageMarginGradientEnd : ColorTable.ImageMarginGradientBegin;
618
FillWithDoubleGradient(begin, ColorTable.ImageMarginGradientMiddle, end, e.Graphics, bounds, iconWellGradientWidth, iconWellGradientWidth, LinearGradientMode.Horizontal, /*flipHorizontal=*/(e.ToolStrip.RightToLeft ==
RightToLeft
.Yes));
974
if (control.RightToLeft ==
RightToLeft
.Yes) {
1280
if (dropDownMenu.RightToLeft ==
RightToLeft
.No) {
1306
bool rightToLeft = (item.RightToLeft ==
RightToLeft
.Yes);
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
1033
if (statusStrip.RightToLeft ==
RightToLeft
.Yes) {
1038
if (statusStrip.RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
383
if (this.RightToLeft ==
RightToLeft
.No) {
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (3)
266
if (toolStrip.RightToLeft ==
RightToLeft
.No) {
322
if (((item.Alignment == ToolStripItemAlignment.Right) && (toolStrip.RightToLeft ==
RightToLeft
.No)) || ((item.Alignment == ToolStripItemAlignment.Left) && (toolStrip.RightToLeft ==
RightToLeft
.Yes))) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (5)
294
RenderSmall3DBorderInternal(g, bounds, ToolBarState.Hot, (e.ToolStrip.RightToLeft ==
RightToLeft
.Yes));
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);
winforms\Managed\System\WinForms\ToolTip.cs (2)
1169
if (richParent != null && richParent.RightToLeft ==
RightToLeft
.Yes && !ctl.IsMirrored) {
1209
if (richParent != null && richParent.RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\TrackBar.cs (4)
223
if (RightToLeft ==
RightToLeft
.Yes && RightToLeftLayout == true) {
895
if (orientation == Orientation.Horizontal && RightToLeft ==
RightToLeft
.Yes && !IsMirrored) {
942
if (RightToLeft ==
RightToLeft
.Yes) {
1144
if (orientation == Orientation.Horizontal && RightToLeft ==
RightToLeft
.Yes && !IsMirrored) {
winforms\Managed\System\WinForms\TreeView.cs (3)
405
if (RightToLeft ==
RightToLeft
.Yes) {
2375
if (RightToLeft ==
RightToLeft
.Yes) {
2961
if (RightToLeft ==
RightToLeft
.Yes) {
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
374
this.RightToLeft =
RightToLeft
.Yes;
winforms\Managed\System\WinForms\VScrollBar.cs (2)
73
public override
RightToLeft
RightToLeft {
75
return
RightToLeft
.No;
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
1503
public override
RightToLeft
RightToLeft
1507
return
RightToLeft
.No;
System.Workflow.Activities (4)
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (4)
106
RightToLeft
rightToLeftValue =
RightToLeft
.Inherit;
108
while ((rightToLeftValue ==
RightToLeft
.Inherit) && (someControl != null))
114
if (rightToLeftValue ==
RightToLeft
.Yes)
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerHelpers.cs (1)
1402
options = (control.RightToLeft ==
RightToLeft
.Yes) ? MessageBoxOptions.RightAlign & MessageBoxOptions.RtlReading : 0;