132 references to Yes
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 (128)
winforms\Managed\System\WinForms\AxHost.cs (3)
540
return rtol == System.Windows.Forms.RightToLeft.
Yes
;
544
base.RightToLeft = (value) ? System.Windows.Forms.RightToLeft.
Yes
: System.Windows.Forms.RightToLeft.No;
2451
if (ctl.RightToLeft == System.Windows.Forms.RightToLeft.
Yes
)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
1528
layout.layoutRTL = RightToLeft.
Yes
== rtl;
1554
layout.layoutRTL = RightToLeft.
Yes
== Control.RightToLeft;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
292
layout.layoutRTL = RightToLeft.
Yes
== Control.RightToLeft;
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 (3)
5951
if (origRightToLeft == RightToLeft.
Yes
) {
5975
bool rightToLeft = comboBox.RightToLeft == RightToLeft.
Yes
;
6066
if (origRightToLeft == RightToLeft.
Yes
) {
winforms\Managed\System\WinForms\ContextMenu.cs (2)
133
UpdateRtl((value == System.Windows.Forms.RightToLeft.
Yes
));
141
return (rightToLeft == System.Windows.Forms.RightToLeft.
Yes
);
winforms\Managed\System\WinForms\Control.cs (6)
1904
if (RightToLeft == RightToLeft.
Yes
) {
8834
si.nPos = (RightToLeft == RightToLeft.
Yes
) ? si.nMax : si.nMin;
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 (3)
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 (1)
4025
this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftMode] = (this.RightToLeft == RightToLeft.
Yes
);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
29943
if (this.RightToLeft == RightToLeft.
Yes
)
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (2)
163
(this.RightToLeft == RightToLeft.
Yes
&& !(this.SelectionLength == 0 && this.SelectionStart == 0)))
174
(this.RightToLeft == RightToLeft.
Yes
&& !(this.SelectionLength == 0 && this.SelectionStart == this.Text.Length)))
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 (1)
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 (2)
110
UpdateRtl((value == System.Windows.Forms.RightToLeft.
Yes
));
118
return (RightToLeft == System.Windows.Forms.RightToLeft.
Yes
&& (form == null || !form.IsMirrored));
winforms\Managed\System\WinForms\MDIClient.cs (1)
127
if (this.RightToLeft == RightToLeft.
Yes
&& this.ParentInternal != null && this.ParentInternal.IsMirrored) {
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
446
if (RightToLeft == RightToLeft.
Yes
&& RightToLeftLayout == true) {
1733
if (RightToLeft == RightToLeft.
Yes
) {
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
261
this.RightToLeft = RightToLeft.
Yes
;
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 (2)
1726
splitterRect.X = ((RightToLeft == RightToLeft.
Yes
) ? this.Width - splitterDistance - SplitterWidthInternal : this.Location.X + splitterDistance);
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 (5)
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 (2)
1588
if (RightToLeft == RightToLeft.
Yes
) {
1610
if (RightToLeft == RightToLeft.
Yes
) {
winforms\Managed\System\WinForms\ToolStrip.cs (6)
727
direction = (RightToLeft == RightToLeft.
Yes
) ? ToolStripDropDownDirection.AboveLeft : ToolStripDropDownDirection.AboveRight;
731
direction = (RightToLeft == RightToLeft.
Yes
) ? ToolStripDropDownDirection.BelowLeft : ToolStripDropDownDirection.BelowRight;
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);
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
407
if (rightToLeft == RightToLeft.
Yes
) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
385
return (RightToLeft == RightToLeft.
Yes
)? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right;
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 (5)
127
RightToLeft toggledRightToLeft = (RightToLeft == RightToLeft.
Yes
) ? RightToLeft.No : RightToLeft.
Yes
;
391
bool rtl = (RightToLeft == RightToLeft.
Yes
);
647
return (rightToLeft == RightToLeft.
Yes
) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right;
650
return (rightToLeft == RightToLeft.
Yes
) ? ToolStripDropDownDirection.BelowLeft : ToolStripDropDownDirection.BelowRight;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (3)
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 (2)
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 (6)
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
);
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
) {
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\ToolStripSplitStackLayout.cs (1)
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
;
System.Workflow.Activities (1)
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (1)
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;