132 references to Yes
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 (128)
winforms\Managed\System\WinForms\AxHost.cs (3)
540return rtol == System.Windows.Forms.RightToLeft.Yes; 544base.RightToLeft = (value) ? System.Windows.Forms.RightToLeft.Yes : System.Windows.Forms.RightToLeft.No; 2451if (ctl.RightToLeft == System.Windows.Forms.RightToLeft.Yes)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
1528layout.layoutRTL = RightToLeft.Yes == rtl; 1554layout.layoutRTL = RightToLeft.Yes == Control.RightToLeft;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
292layout.layoutRTL = RightToLeft.Yes == Control.RightToLeft;
winforms\Managed\System\WinForms\CheckedListBox.cs (4)
699if (RightToLeft == RightToLeft.Yes) { 725if (RightToLeft == RightToLeft.Yes) { 800if (RightToLeft == RightToLeft.Yes) { 827if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ColumnHeader.cs (1)
328if ((Index != 0) && (listview.RightToLeft == RightToLeft.Yes) && !listview.IsMirrored)
winforms\Managed\System\WinForms\ComboBox.cs (3)
5951if (origRightToLeft == RightToLeft.Yes) { 5975bool rightToLeft = comboBox.RightToLeft == RightToLeft.Yes; 6066if (origRightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ContextMenu.cs (2)
133UpdateRtl((value == System.Windows.Forms.RightToLeft.Yes)); 141return (rightToLeft == System.Windows.Forms.RightToLeft.Yes);
winforms\Managed\System\WinForms\Control.cs (6)
1904if (RightToLeft == RightToLeft.Yes) { 8834si.nPos = (RightToLeft == RightToLeft.Yes) ? si.nMax : si.nMin; 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 (3)
481if (rightToLeft == RightToLeft.Yes && backgroundImageLayout == ImageLayout.None) { 2729if( ctl.RightToLeft == RightToLeft.Yes ) { 2773if( ctl.RightToLeft == RightToLeft.Yes ) {
winforms\Managed\System\WinForms\DataGrid.cs (1)
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\DataGridView.cs (1)
4025this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftMode] = (this.RightToLeft == RightToLeft.Yes);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
29943if (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)
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)
1872if (RightToLeft == RightToLeft.Yes || this.HorizontalScrollbar) {
winforms\Managed\System\WinForms\ListView.cs (2)
757if (RightToLeft == RightToLeft.Yes && RightToLeftLayout == true) { 4512if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\MainMenu.cs (2)
110UpdateRtl((value == System.Windows.Forms.RightToLeft.Yes)); 118return (RightToLeft == System.Windows.Forms.RightToLeft.Yes && (form == null || !form.IsMirrored));
winforms\Managed\System\WinForms\MDIClient.cs (1)
127if (this.RightToLeft == RightToLeft.Yes && this.ParentInternal != null && this.ParentInternal.IsMirrored) {
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
446if (RightToLeft == RightToLeft.Yes && RightToLeftLayout == true) { 1733if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
261this.RightToLeft = RightToLeft.Yes;
winforms\Managed\System\WinForms\ProgressBar.cs (2)
102if (RightToLeft == RightToLeft.Yes && RightToLeftLayout == true) { 815if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
151this.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 (2)
1726splitterRect.X = ((RightToLeft == RightToLeft.Yes) ? this.Width - splitterDistance - SplitterWidthInternal : this.Location.X + splitterDistance); 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 (5)
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 (2)
1588if (RightToLeft == RightToLeft.Yes) { 1610if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStrip.cs (6)
727direction = (RightToLeft == RightToLeft.Yes) ? ToolStripDropDownDirection.AboveLeft : ToolStripDropDownDirection.AboveRight; 731direction = (RightToLeft == RightToLeft.Yes) ? ToolStripDropDownDirection.BelowLeft : ToolStripDropDownDirection.BelowRight; 2210if (rtlAware && RightToLeft == RightToLeft.Yes) { 3163if (RightToLeft == RightToLeft.Yes) { 4295if (RightToLeft == RightToLeft.Yes) { 5438insertIndex = Math.Max(0, (owner.RightToLeft == RightToLeft.Yes) ? insertIndex + 1 : insertIndex);
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
407if (rightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
385return (RightToLeft == RightToLeft.Yes)? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right; 2045if (this.OwnerItem == null && control.RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
281if (ownerItem.RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (5)
127RightToLeft toggledRightToLeft = (RightToLeft == RightToLeft.Yes) ? RightToLeft.No : RightToLeft.Yes; 391bool rtl = (RightToLeft == RightToLeft.Yes); 647return (rightToLeft == RightToLeft.Yes) ? ToolStripDropDownDirection.Left : ToolStripDropDownDirection.Right; 650return (rightToLeft == RightToLeft.Yes) ? ToolStripDropDownDirection.BelowLeft : ToolStripDropDownDirection.BelowRight;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (3)
122int textPadding = (rightToLeft == RightToLeft.Yes) ? scaledTextPadding.Right : scaledTextPadding.Left; 126if (rightToLeft == RightToLeft.Yes) { 487if (RightToLeft == RightToLeft.Yes) {
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
4713layoutOptions.layoutRTL = RightToLeft.Yes == Owner.RightToLeft; 4721layoutOptions.gdiTextFormatFlags = ContentAlignToTextFormat(Owner.TextAlign, Owner.RightToLeft == RightToLeft.Yes);
winforms\Managed\System\WinForms\ToolStripItemImageRenderEventArgs.cs (1)
22this.image = (item.RightToLeftAutoMirrorImage && (item.RightToLeft == RightToLeft.Yes)) ? item.MirroredImage : item.Image;
winforms\Managed\System\WinForms\ToolStripItemTextRenderEventArgs.cs (1)
54this.textFormat = ToolStripItemInternalLayout.ContentAlignToTextFormat(textAlign, item.RightToLeft == RightToLeft.Yes);
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
241toolStrip.SelectNextToolStripItem(null, toolStrip.RightToLeft != RightToLeft.Yes);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1073bool rightToLeft = (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 (6)
151bool rightToLeft = (item.RightToLeft == RightToLeft.Yes); 265Padding deflatePadding = item.RightToLeft == RightToLeft.Yes ? new Padding(0, 1, 1, 1) : new Padding(1, 1, 0, 1); 435bool rightToLeft = (e.ToolStrip.RightToLeft == RightToLeft.Yes); 618FillWithDoubleGradient(begin, ColorTable.ImageMarginGradientMiddle, end, e.Graphics, bounds, iconWellGradientWidth, iconWellGradientWidth, LinearGradientMode.Horizontal, /*flipHorizontal=*/(e.ToolStrip.RightToLeft == RightToLeft.Yes)); 974if (control.RightToLeft == RightToLeft.Yes) { 1306bool rightToLeft = (item.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 (1)
322if (((item.Alignment == ToolStripItemAlignment.Right) && (toolStrip.RightToLeft == RightToLeft.No)) || ((item.Alignment == ToolStripItemAlignment.Left) && (toolStrip.RightToLeft == RightToLeft.Yes))) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (5)
294RenderSmall3DBorderInternal(g, bounds, ToolBarState.Hot, (e.ToolStrip.RightToLeft == RightToLeft.Yes)); 386RenderSmall3DBorderInternal(g, bounds, state, (item.RightToLeft == RightToLeft.Yes)); 458bool rightToLeft = (splitButton.RightToLeft == RightToLeft.Yes); 579RenderSmall3DBorderInternal(g, new Rectangle(Point.Empty, item.Size), state, (item.RightToLeft == RightToLeft.Yes)); 623bool rightToLeft = (item.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) {
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
374this.RightToLeft = RightToLeft.Yes;
System.Workflow.Activities (1)
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (1)
114if (rightToLeftValue == RightToLeft.Yes)
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerHelpers.cs (1)
1402options = (control.RightToLeft == RightToLeft.Yes) ? MessageBoxOptions.RightAlign & MessageBoxOptions.RtlReading : 0;