8 overrides of RightToLeft
System.Windows.Forms (8)
winforms\Managed\System\WinForms\ListBox.cs (1)
789public override RightToLeft RightToLeft {
winforms\Managed\System\WinForms\PictureBox.cs (1)
908public override RightToLeft RightToLeft {
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
233public override RightToLeft RightToLeft {
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
956public override RightToLeft RightToLeft {
winforms\Managed\System\WinForms\ToolBar.cs (1)
800public override RightToLeft RightToLeft {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
887public override RightToLeft RightToLeft {
winforms\Managed\System\WinForms\VScrollBar.cs (1)
73public override RightToLeft RightToLeft {
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1503public override RightToLeft RightToLeft
19 writes to RightToLeft
System.Web.Entity.Design (1)
System\Data\WebControls\Design\Util\DesignerForm.cs (1)
83RightToLeft = RightToLeft.Yes;
System.Web.Mobile (1)
UI\MobileControls\Design\DesignerForm.cs (1)
66RightToLeft = RightToLeft.Yes;
System.Windows.Forms (17)
winforms\Managed\System\WinForms\AxHost.cs (1)
544base.RightToLeft = (value) ? System.Windows.Forms.RightToLeft.Yes : System.Windows.Forms.RightToLeft.No;
winforms\Managed\System\WinForms\Control.cs (1)
10932RightToLeft = RightToLeft.Inherit;
winforms\Managed\System\WinForms\DataGrid.cs (1)
6825horizScrollBar.RightToLeft = RightToLeft;
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
501edit.RightToLeft = this.DataGridTableStyle.DataGrid.RightToLeft;
winforms\Managed\System\WinForms\DataGridView.cs (1)
502this.horizScrollBar.RightToLeft = RightToLeft.Inherit;
winforms\Managed\System\WinForms\ListBox.cs (1)
797base.RightToLeft = value;
winforms\Managed\System\WinForms\PictureBox.cs (1)
913base.RightToLeft = value;
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
261this.RightToLeft = RightToLeft.Yes;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
238base.RightToLeft = value;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
961base.RightToLeft = value;
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
151this.RightToLeft = RightToLeft.Yes;
winforms\Managed\System\WinForms\SplitContainer.cs (2)
1425this.panel1.RightToLeft = this.RightToLeft; 1426this.panel2.RightToLeft = this.RightToLeft;
winforms\Managed\System\WinForms\ToolBar.cs (1)
805base.RightToLeft = value;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
434control.RightToLeft = value;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
901base.RightToLeft = value;
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
374this.RightToLeft = RightToLeft.Yes;
147 references to RightToLeft
System.Windows.Forms (145)
winforms\Managed\System\WinForms\AxHost.cs (4)
539RightToLeft rtol = base.RightToLeft; 2449if (ctl.RightToLeft == System.Windows.Forms.RightToLeft.No) 2451if (ctl.RightToLeft == System.Windows.Forms.RightToLeft.Yes) 2453if (ctl.RightToLeft == System.Windows.Forms.RightToLeft.Inherit)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
1554layout.layoutRTL = RightToLeft.Yes == Control.RightToLeft;
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
127ControlPaint.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)
292layout.layoutRTL = RightToLeft.Yes == Control.RightToLeft;
winforms\Managed\System\WinForms\ColumnHeader.cs (1)
328if ((Index != 0) && (listview.RightToLeft == RightToLeft.Yes) && !listview.IsMirrored)
winforms\Managed\System\WinForms\ComboBox.cs (3)
5948origRightToLeft = comboBox.RightToLeft; 5961return (combo.ClientRectangle == clientRect && combo.RightToLeft == origRightToLeft); 5975bool rightToLeft = comboBox.RightToLeft == RightToLeft.Yes;
winforms\Managed\System\WinForms\ContextMenu.cs (1)
115return ((Control)sourceControl).RightToLeft;
winforms\Managed\System\WinForms\Control.cs (12)
1904if (RightToLeft == RightToLeft.Yes) { 3752rightToLeft = (int)parent.RightToLeft; 3767RightToLeft oldValue = RightToLeft; 3773if (oldValue != RightToLeft) { 5479RightToLeft oldRtl = RightToLeft; 5515if (oldRtl != RightToLeft) { 8834si.nPos = (RightToLeft == RightToLeft.Yes) ? si.nMax : si.nMin; 9628ControlPaint.DrawBackgroundImage(e.Graphics, BackgroundImage, backColor, BackgroundImageLayout, ClientRectangle, rectangle, scrollLocation, RightToLeft); 12345if (RightToLeft.Yes == RightToLeft) { 12364if (RightToLeft.Yes == RightToLeft) { 12382if (RightToLeft.Yes == RightToLeft) { 16111return topLevelControl != null && topLevelControl.RightToLeft == RightToLeft.Yes && !this.IsMirrored;
winforms\Managed\System\WinForms\ControlPaint.cs (2)
2729if( ctl.RightToLeft == RightToLeft.Yes ) { 2773if( ctl.RightToLeft == RightToLeft.Yes ) {
winforms\Managed\System\WinForms\DataGrid.cs (2)
6825horizScrollBar.RightToLeft = RightToLeft; 9546return ( RightToLeft == RightToLeft.Yes);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
275relRect.X = MirrorRelationshipRectangle(relRect, DataGrid.GetRowHeaderRect(), DataGrid.RightToLeft == RightToLeft.Yes);
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
501edit.RightToLeft = this.DataGridTableStyle.DataGrid.RightToLeft;
winforms\Managed\System\WinForms\DataGridView.cs (1)
4025this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftMode] = (this.RightToLeft == RightToLeft.Yes);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
968this.DataGridView.RightToLeft); 997this.DataGridView.RightToLeft);
winforms\Managed\System\WinForms\DataGridViewCell.cs (5)
5109if (this.Owner.DataGridView.RightToLeft == RightToLeft.No) 5126if (this.owner.DataGridView.RightToLeft == RightToLeft.No) 5142if (this.owner.DataGridView.RightToLeft == RightToLeft.No) 5249if (this.owner.DataGridView.RightToLeft == RightToLeft.No) 5260if (this.owner.DataGridView.RightToLeft == RightToLeft.No)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (3)
1481this.DataGridView.RightToLeft); 1529this.DataGridView.RightToLeft); 1573this.DataGridView.RightToLeft);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (2)
1427if (this.Owner.DataGridView.RightToLeft == RightToLeft.No) 1438if (this.Owner.DataGridView.RightToLeft == RightToLeft.No)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
29943if (this.RightToLeft == RightToLeft.Yes)
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (4)
162if ((this.RightToLeft == RightToLeft.No && !(this.SelectionLength == 0 && this.SelectionStart == this.Text.Length)) || 163(this.RightToLeft == RightToLeft.Yes && !(this.SelectionLength == 0 && this.SelectionStart == 0))) 173if ((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)
520if (this.Owner.DataGridView.RightToLeft == RightToLeft.No) 594if (this.Owner.DataGridView.RightToLeft == RightToLeft.No) 605if (this.Owner.DataGridView.RightToLeft == RightToLeft.No)
winforms\Managed\System\WinForms\DateTimePicker.cs (3)
483if (RightToLeft == RightToLeft.Yes && RightToLeftLayout == true) { 1285if (RightToLeft == RightToLeft.Yes) { 1635if (this.RightToLeftLayout == true && this.RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\Form.cs (4)
1074if (RightToLeft == RightToLeft.Yes && RightToLeftLayout == true) { 5207if (RightToLeft == RightToLeft.Yes) { 5217if (RightToLeft == RightToLeft.Yes) { 7847if (owner.RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\GroupBox.cs (4)
528if (RightToLeft == RightToLeft.Yes) { 572if (RightToLeft == RightToLeft.Yes) { 595if( RightToLeft == RightToLeft.Yes ){ 616if (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)
1160isContainerRTL = control.RightToLeft == RightToLeft.Yes;
winforms\Managed\System\WinForms\ListBox.cs (1)
794return base.RightToLeft;
winforms\Managed\System\WinForms\ListView.cs (2)
757if (RightToLeft == RightToLeft.Yes && RightToLeftLayout == true) { 4512if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\MainMenu.cs (1)
92return form.RightToLeft;
winforms\Managed\System\WinForms\MDIClient.cs (1)
127if (this.RightToLeft == RightToLeft.Yes && this.ParentInternal != null && this.ParentInternal.IsMirrored) {
winforms\Managed\System\WinForms\MenuStrip.cs (1)
229SelectNextToolStripItem(null, /*forward=*/(RightToLeft == RightToLeft.No));
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
446if (RightToLeft == RightToLeft.Yes && RightToLeftLayout == true) { 1733if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\PictureBox.cs (1)
910return base.RightToLeft;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
235return base.RightToLeft;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
958return base.RightToLeft;
winforms\Managed\System\WinForms\ProgressBar.cs (2)
102if (RightToLeft == RightToLeft.Yes && RightToLeftLayout == true) { 815if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ScrollableControl.cs (2)
1083if (horiz && !HScroll && (RightToLeft == RightToLeft.Yes)) { 1285NativeMethods.Util.MAKELPARAM((RightToLeft == RightToLeft.Yes) ? NativeMethods.SB_RIGHT : NativeMethods.SB_LEFT,0), 0);
winforms\Managed\System\WinForms\ScrollBar.cs (3)
800if (RightToLeft == RightToLeft.Yes) { 831if (RightToLeft == RightToLeft.Yes) { 897if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\SplitContainer.cs (8)
1425this.panel1.RightToLeft = this.RightToLeft; 1426this.panel2.RightToLeft = this.RightToLeft; 1529if (RightToLeft == RightToLeft.No) { 1557if (RightToLeft == RightToLeft.No) { 1665if (RightToLeft == RightToLeft.No) { 1726splitterRect.X = ((RightToLeft == RightToLeft.Yes) ? this.Width - splitterDistance - SplitterWidthInternal : this.Location.X + splitterDistance); 1788if (RightToLeft == RightToLeft.No) { 2259bool isRTL = RightToLeft == RightToLeft.Yes;
winforms\Managed\System\WinForms\StatusBar.cs (2)
865if (RightToLeft == RightToLeft.Yes) { 1883if (richParent != null && richParent.RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\StatusBarPanel.cs (2)
597if (parent.RightToLeft == RightToLeft.Yes) { 639if (parent.RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\StatusStrip.cs (6)
90if (RightToLeft == RightToLeft.No) { 230if (RightToLeft == RightToLeft.Yes) { 280if (SizingGrip && RightToLeft == RightToLeft.Yes) { 373bool rightToLeft = ((Orientation == Orientation.Horizontal) && (RightToLeft == RightToLeft.Yes)); 575if (RightToLeft == RightToLeft.Yes) { 586if (RightToLeft != RightToLeft.Yes) {
winforms\Managed\System\WinForms\TabControl.cs (3)
386if (RightToLeft == RightToLeft.Yes && RightToLeftLayout == true) { 1524if (RightToLeft == RightToLeft.Yes) { 2041if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
421bool isRTL = (RightToLeft == RightToLeft.Yes);
winforms\Managed\System\WinForms\ToolBar.cs (1)
802return base.RightToLeft;
winforms\Managed\System\WinForms\ToolStrip.cs (9)
713direction = ((Dock == DockStyle.Right) && (RightToLeft == RightToLeft.No)) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right; 727direction = (RightToLeft == RightToLeft.Yes) ? ToolStripDropDownDirection.AboveLeft : ToolStripDropDownDirection.AboveRight; 731direction = (RightToLeft == RightToLeft.Yes) ? ToolStripDropDownDirection.BelowLeft : ToolStripDropDownDirection.BelowRight; 857rect.X += (RightToLeft == RightToLeft.No) ? gripwidth : 0; 2210if (rtlAware && RightToLeft == RightToLeft.Yes) { 3163if (RightToLeft == RightToLeft.Yes) { 4295if (RightToLeft == RightToLeft.Yes) { 5438insertIndex = Math.Max(0, (owner.RightToLeft == RightToLeft.Yes) ? insertIndex + 1 : insertIndex); 5446insertIndex = Math.Max(0, (owner.RightToLeft == RightToLeft.No) ? insertIndex + 1 : insertIndex);
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
404RightToLeft rightToLeft = this.RightToLeft;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
428return control.RightToLeft;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (3)
892return SourceControlInternal.RightToLeft; 898return base.RightToLeft; 2045if (this.OwnerItem == null && control.RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
115if (OppositeDropDownAlign || this.RightToLeft != parent.RightToLeft && (this.RightToLeft != RightToLeft.Inherit)) {
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
2036rightToLeft = (int)Owner.RightToLeft; 2040rightToLeft = (int)ParentInternal.RightToLeft; 4338bool forwardInCollection = (parent.RightToLeft == RightToLeft.No);
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
241toolStrip.SelectNextToolStripItem(null, toolStrip.RightToLeft != RightToLeft.Yes);
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
489&& toolStripToDrag.RightToLeft == RightToLeft.Yes ) { 713if (Orientation == Orientation.Horizontal && RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (4)
435bool rightToLeft = (e.ToolStrip.RightToLeft == RightToLeft.Yes); 614RightToLeft rightToLeft = e.ToolStrip.RightToLeft; 618FillWithDoubleGradient(begin, ColorTable.ImageMarginGradientMiddle, end, e.Graphics, bounds, iconWellGradientWidth, iconWellGradientWidth, LinearGradientMode.Horizontal, /*flipHorizontal=*/(e.ToolStrip.RightToLeft == RightToLeft.Yes)); 974if (control.RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
1033if (statusStrip.RightToLeft == RightToLeft.Yes) { 1038if (statusStrip.RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (3)
266if (toolStrip.RightToLeft == RightToLeft.No) { 322if (((item.Alignment == ToolStripItemAlignment.Right) && (toolStrip.RightToLeft == RightToLeft.No)) || ((item.Alignment == ToolStripItemAlignment.Left) && (toolStrip.RightToLeft == RightToLeft.Yes))) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
294RenderSmall3DBorderInternal(g, bounds, ToolBarState.Hot, (e.ToolStrip.RightToLeft == RightToLeft.Yes));
winforms\Managed\System\WinForms\ToolTip.cs (2)
1169if (richParent != null && richParent.RightToLeft == RightToLeft.Yes && !ctl.IsMirrored) { 1209if (richParent != null && richParent.RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\TrackBar.cs (4)
223if (RightToLeft == RightToLeft.Yes && RightToLeftLayout == true) { 895if (orientation == Orientation.Horizontal && RightToLeft == RightToLeft.Yes && !IsMirrored) { 942if (RightToLeft == RightToLeft.Yes) { 1144if (orientation == Orientation.Horizontal && RightToLeft == RightToLeft.Yes && !IsMirrored) {
winforms\Managed\System\WinForms\TreeView.cs (3)
405if (RightToLeft == RightToLeft.Yes) { 2375if (RightToLeft == RightToLeft.Yes) { 2961if (RightToLeft == RightToLeft.Yes) {
System.Workflow.Activities (1)
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (1)
110rightToLeftValue = someControl.RightToLeft;
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerHelpers.cs (1)
1402options = (control.RightToLeft == RightToLeft.Yes) ? MessageBoxOptions.RightAlign & MessageBoxOptions.RtlReading : 0;