Base:
property
InheritanceAttribute
System.ComponentModel.Design.ComponentDesigner.InheritanceAttribute
6 overrides of InheritanceAttribute
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
154protected override InheritanceAttribute? InheritanceAttribute
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
358protected override InheritanceAttribute InheritanceAttribute
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
29protected override InheritanceAttribute? InheritanceAttribute => _splitterPanel is not null && _splitterPanel.Parent is not null
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1188protected override InheritanceAttribute InheritanceAttribute =>
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
313protected override InheritanceAttribute InheritanceAttribute
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
91protected override InheritanceAttribute? InheritanceAttribute
27 references to InheritanceAttribute
System.Windows.Forms.Design (26)
System\Windows\Forms\Design\ControlDesigner.cs (3)
745if (Locked || (InheritanceAttribute == InheritanceAttribute.InheritedReadOnly)) 973&& InheritanceAttribute is not null) 976_inheritanceUI?.AddInheritedControl(Control, InheritanceAttribute.InheritanceLevel);
System\Windows\Forms\Design\DataGridViewDesigner.cs (3)
158if ((base.InheritanceAttribute == InheritanceAttribute.Inherited) 159|| (base.InheritanceAttribute == InheritanceAttribute.InheritedReadOnly)) 164return base.InheritanceAttribute;
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (3)
362if ((base.InheritanceAttribute == InheritanceAttribute.Inherited) 363|| (base.InheritanceAttribute == InheritanceAttribute.InheritedReadOnly)) 368return base.InheritanceAttribute;
System\Windows\Forms\Design\ParentControlDesigner.cs (6)
1038InheritanceAttribute != InheritanceAttribute.InheritedReadOnly && selectionType != GlyphSelectionType.NotSelected) 1555if (InheritanceAttribute == InheritanceAttribute.InheritedReadOnly && draggedControl.Parent != Control) 1626if (InheritanceAttribute == InheritanceAttribute.InheritedReadOnly) 1713if (!InheritanceAttribute.Equals(InheritanceAttribute.InheritedReadOnly)) 2071if (_toolboxService is null || !_toolboxService.SetCursor() || InheritanceAttribute.Equals(InheritanceAttribute.InheritedReadOnly)) 2463return (!InheritanceAttribute.Equals(InheritanceAttribute.InheritedReadOnly));
System\Windows\Forms\Design\SplitContainerDesigner.cs (3)
189protected override bool GetHitTest(Point point) => !(InheritanceAttribute == InheritanceAttribute.InheritedReadOnly) && _splitContainerSelected; 304if (InheritanceAttribute == InheritanceAttribute.InheritedReadOnly || _splitterDistanceException) 347if (InheritanceAttribute == InheritanceAttribute.InheritedReadOnly)
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
31: base.InheritanceAttribute;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (3)
1189(base.InheritanceAttribute == InheritanceAttribute.Inherited) 1190|| (base.InheritanceAttribute == InheritanceAttribute.InheritedReadOnly) 1192: base.InheritanceAttribute;
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
317if ((base.InheritanceAttribute == InheritanceAttribute.Inherited)) 322return base.InheritanceAttribute;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
93get => Control.Parent is ToolStripContainer && (base.InheritanceAttribute == InheritanceAttribute.Inherited) 95: base.InheritanceAttribute;
System.Windows.Forms.Design.Tests (1)
TestControlDesigner.cs (1)
36return InheritanceAttribute;