34 references to Inherit
System.Windows.Forms (32)
winforms\Managed\System\WinForms\AxHost.cs (1)
2453if (ctl.RightToLeft == System.Windows.Forms.RightToLeft.Inherit)
winforms\Managed\System\WinForms\ContextMenu.cs (4)
34private RightToLeft rightToLeft = System.Windows.Forms.RightToLeft.Inherit; 113if (System.Windows.Forms.RightToLeft.Inherit == rightToLeft) { 128if (!ClientUtils.IsEnumValid(value, (int)value, (int)RightToLeft.No, (int)RightToLeft.Inherit)){ 186if (System.Windows.Forms.RightToLeft.Inherit == rightToLeft) {
winforms\Managed\System\WinForms\Control.cs (8)
3738AmbientValue(RightToLeft.Inherit), 3746rightToLeft = (int)RightToLeft.Inherit; 3749if (((RightToLeft)rightToLeft) == RightToLeft.Inherit) { 3763if (!ClientUtils.IsEnumValid(value, (int)value, (int)RightToLeft.No, (int)RightToLeft.Inherit)){ 3769if (Properties.ContainsInteger(PropRightToLeft) || value != RightToLeft.Inherit) { 8459if (!Properties.ContainsInteger(PropRightToLeft) || ((RightToLeft)Properties.GetInteger(PropRightToLeft)) == RightToLeft.Inherit) { 10932RightToLeft = RightToLeft.Inherit; 12298return (found && rtl != (int)RightToLeft.Inherit);
winforms\Managed\System\WinForms\DataGridView.cs (1)
502this.horizScrollBar.RightToLeft = RightToLeft.Inherit;
winforms\Managed\System\WinForms\MainMenu.cs (6)
27private RightToLeft rightToLeft = System.Windows.Forms.RightToLeft.Inherit; 85AmbientValue(RightToLeft.Inherit), 90if (System.Windows.Forms.RightToLeft.Inherit == rightToLeft) { 95return RightToLeft.Inherit; 105if (!ClientUtils.IsEnumValid(value, (int)value, (int)RightToLeft.No, (int)RightToLeft.Inherit)){ 204if (System.Windows.Forms.RightToLeft.Inherit == RightToLeft) {
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
230AmbientValue(RightToLeft.Inherit),
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
884AmbientValue(RightToLeft.Inherit),
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
115if (OppositeDropDownAlign || this.RightToLeft != parent.RightToLeft && (this.RightToLeft != RightToLeft.Inherit)) {
winforms\Managed\System\WinForms\ToolStripItem.cs (9)
802return RightToLeft.Inherit; 2031rightToLeft = (int)RightToLeft.Inherit; 2034if (((RightToLeft)rightToLeft) == RightToLeft.Inherit) { 2051if (!ClientUtils.IsEnumValid(value, (int)value, (int)RightToLeft.No, (int)RightToLeft.Inherit)) 2058if (Properties.ContainsInteger(PropRightToLeft) || value != RightToLeft.Inherit) { 3327if (!Properties.ContainsInteger(PropRightToLeft) || ((RightToLeft)Properties.GetInteger(PropRightToLeft)) == RightToLeft.Inherit) { 3345rightToLeft = (int)RightToLeft.Inherit; 3347if ((rightToLeft == (int)RightToLeft.Inherit) && RightToLeft != DefaultRightToLeft) { 3825RightToLeft = RightToLeft.Inherit;
System.Workflow.Activities (2)
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (2)
106RightToLeft rightToLeftValue = RightToLeft.Inherit; 108while ((rightToLeftValue == RightToLeft.Inherit) && (someControl != null))