8 overrides of RightToLeft
System.Windows.Forms (8)
winforms\Managed\System\WinForms\ListBox.cs (1)
789
public override RightToLeft
RightToLeft
{
winforms\Managed\System\WinForms\PictureBox.cs (1)
908
public override RightToLeft
RightToLeft
{
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
233
public override RightToLeft
RightToLeft
{
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
956
public override RightToLeft
RightToLeft
{
winforms\Managed\System\WinForms\ToolBar.cs (1)
800
public override RightToLeft
RightToLeft
{
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
887
public override RightToLeft
RightToLeft
{
winforms\Managed\System\WinForms\VScrollBar.cs (1)
73
public override RightToLeft
RightToLeft
{
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1503
public override RightToLeft
RightToLeft
19 writes 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 (17)
winforms\Managed\System\WinForms\AxHost.cs (1)
544
base.
RightToLeft
= (value) ? System.Windows.Forms.RightToLeft.Yes : System.Windows.Forms.RightToLeft.No;
winforms\Managed\System\WinForms\Control.cs (1)
10932
RightToLeft
= RightToLeft.Inherit;
winforms\Managed\System\WinForms\DataGrid.cs (1)
6825
horizScrollBar.
RightToLeft
= RightToLeft;
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
501
edit.
RightToLeft
= this.DataGridTableStyle.DataGrid.RightToLeft;
winforms\Managed\System\WinForms\DataGridView.cs (1)
502
this.horizScrollBar.
RightToLeft
= RightToLeft.Inherit;
winforms\Managed\System\WinForms\ListBox.cs (1)
797
base.
RightToLeft
= value;
winforms\Managed\System\WinForms\PictureBox.cs (1)
913
base.
RightToLeft
= value;
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
261
this.
RightToLeft
= RightToLeft.Yes;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
238
base.
RightToLeft
= value;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
961
base.
RightToLeft
= value;
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
151
this.
RightToLeft
= RightToLeft.Yes;
winforms\Managed\System\WinForms\SplitContainer.cs (2)
1425
this.panel1.
RightToLeft
= this.RightToLeft;
1426
this.panel2.
RightToLeft
= this.RightToLeft;
winforms\Managed\System\WinForms\ToolBar.cs (1)
805
base.
RightToLeft
= value;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
434
control.
RightToLeft
= value;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
901
base.
RightToLeft
= value;
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
374
this.
RightToLeft
= RightToLeft.Yes;
147 references to RightToLeft
System.Windows.Forms (145)
winforms\Managed\System\WinForms\AxHost.cs (4)
539
RightToLeft rtol = base.
RightToLeft
;
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 (1)
1554
layout.layoutRTL = RightToLeft.Yes == Control.
RightToLeft
;
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
127
ControlPaint.DrawBackgroundImage(e.Graphics, Control.BackgroundImage, Color.Transparent, Control.BackgroundImageLayout, Control.ClientRectangle, bounds, Control.DisplayRectangle.Location, Control.
RightToLeft
);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
292
layout.layoutRTL = RightToLeft.Yes == Control.
RightToLeft
;
winforms\Managed\System\WinForms\ColumnHeader.cs (1)
328
if ((Index != 0) && (listview.
RightToLeft
== RightToLeft.Yes) && !listview.IsMirrored)
winforms\Managed\System\WinForms\ComboBox.cs (3)
5948
origRightToLeft = comboBox.
RightToLeft
;
5961
return (combo.ClientRectangle == clientRect && combo.
RightToLeft
== origRightToLeft);
5975
bool rightToLeft = comboBox.
RightToLeft
== RightToLeft.Yes;
winforms\Managed\System\WinForms\ContextMenu.cs (1)
115
return ((Control)sourceControl).
RightToLeft
;
winforms\Managed\System\WinForms\Control.cs (12)
1904
if (
RightToLeft
== RightToLeft.Yes) {
3752
rightToLeft = (int)parent.
RightToLeft
;
3767
RightToLeft oldValue =
RightToLeft
;
3773
if (oldValue !=
RightToLeft
) {
5479
RightToLeft oldRtl =
RightToLeft
;
5515
if (oldRtl !=
RightToLeft
) {
8834
si.nPos = (
RightToLeft
== RightToLeft.Yes) ? si.nMax : si.nMin;
9628
ControlPaint.DrawBackgroundImage(e.Graphics, BackgroundImage, backColor, BackgroundImageLayout, ClientRectangle, rectangle, scrollLocation,
RightToLeft
);
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 (2)
2729
if( ctl.
RightToLeft
== RightToLeft.Yes ) {
2773
if( ctl.
RightToLeft
== RightToLeft.Yes ) {
winforms\Managed\System\WinForms\DataGrid.cs (2)
6825
horizScrollBar.RightToLeft =
RightToLeft
;
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\DataGridTextBoxColumn.cs (1)
501
edit.RightToLeft = this.DataGridTableStyle.DataGrid.
RightToLeft
;
winforms\Managed\System\WinForms\DataGridView.cs (1)
4025
this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftMode] = (this.
RightToLeft
== RightToLeft.Yes);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
968
this.DataGridView.
RightToLeft
);
997
this.DataGridView.
RightToLeft
);
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\DataGridViewCheckBoxCell.cs (3)
1481
this.DataGridView.
RightToLeft
);
1529
this.DataGridView.
RightToLeft
);
1573
this.DataGridView.
RightToLeft
);
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 (1)
794
return base.
RightToLeft
;
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 (1)
92
return form.
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)
910
return base.
RightToLeft
;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
235
return base.
RightToLeft
;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
958
return base.
RightToLeft
;
winforms\Managed\System\WinForms\ProgressBar.cs (2)
102
if (
RightToLeft
== RightToLeft.Yes && RightToLeftLayout == true) {
815
if (
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 (8)
1425
this.panel1.RightToLeft = this.
RightToLeft
;
1426
this.panel2.RightToLeft = this.
RightToLeft
;
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 (1)
802
return base.
RightToLeft
;
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 (1)
404
RightToLeft rightToLeft = this.
RightToLeft
;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
428
return control.
RightToLeft
;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (3)
892
return SourceControlInternal.
RightToLeft
;
898
return base.
RightToLeft
;
2045
if (this.OwnerItem == null && control.
RightToLeft
== RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
115
if (OppositeDropDownAlign || this.RightToLeft != parent.
RightToLeft
&& (this.RightToLeft != RightToLeft.Inherit)) {
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
2036
rightToLeft = (int)Owner.
RightToLeft
;
2040
rightToLeft = (int)ParentInternal.
RightToLeft
;
4338
bool forwardInCollection = (parent.
RightToLeft
== RightToLeft.No);
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
241
toolStrip.SelectNextToolStripItem(null, toolStrip.
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 (4)
435
bool rightToLeft = (e.ToolStrip.
RightToLeft
== RightToLeft.Yes);
614
RightToLeft rightToLeft = e.ToolStrip.
RightToLeft
;
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) {
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 (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 (1)
294
RenderSmall3DBorderInternal(g, bounds, ToolBarState.Hot, (e.ToolStrip.
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) {
System.Workflow.Activities (1)
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (1)
110
rightToLeftValue = someControl.
RightToLeft
;
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerHelpers.cs (1)
1402
options = (control.
RightToLeft
== RightToLeft.Yes) ? MessageBoxOptions.RightAlign & MessageBoxOptions.RtlReading : 0;