3 instantiations of InheritanceAttribute
System (3)
compmod\system\componentmodel\design\InheritanceAttribute.cs (3)
28
public static readonly InheritanceAttribute Inherited = new
InheritanceAttribute
(InheritanceLevel.Inherited);
37
public static readonly InheritanceAttribute InheritedReadOnly = new
InheritanceAttribute
(InheritanceLevel.InheritedReadOnly);
45
public static readonly InheritanceAttribute NotInherited = new
InheritanceAttribute
(InheritanceLevel.NotInherited);
17 references to InheritanceAttribute
System (11)
compmod\system\componentmodel\Container.cs (3)
251
InheritanceAttribute
inheritanceAttribute = (
InheritanceAttribute
)TypeDescriptor.GetAttributes(s.Component)[typeof(
InheritanceAttribute
)];
compmod\system\componentmodel\design\IInheritanceService.cs (2)
33
/// value <see cref='System.ComponentModel.
InheritanceAttribute
.NotInherited'/>.
37
InheritanceAttribute
GetInheritanceAttribute(IComponent component);
compmod\system\componentmodel\design\InheritanceAttribute.cs (6)
28
public static readonly
InheritanceAttribute
Inherited = new InheritanceAttribute(InheritanceLevel.Inherited);
37
public static readonly
InheritanceAttribute
InheritedReadOnly = new InheritanceAttribute(InheritanceLevel.InheritedReadOnly);
45
public static readonly
InheritanceAttribute
NotInherited = new InheritanceAttribute(InheritanceLevel.NotInherited);
53
public static readonly
InheritanceAttribute
Default = NotInherited;
94
if (!(value is
InheritanceAttribute
)) {
98
InheritanceLevel valueLevel = ((
InheritanceAttribute
)value).InheritanceLevel;
System.Windows.Forms (6)
winforms\Managed\System\WinForms\Binding.cs (3)
527
InheritanceAttribute
attr = (
InheritanceAttribute
)TypeDescriptor.GetAttributes(control)[typeof(
InheritanceAttribute
)];
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
490
forceReadOnly |= TypeDescriptor.GetAttributes(value).Contains(
InheritanceAttribute
.InheritedReadOnly);
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
40
if ((readOnlyAttr != null && !readOnlyAttr.IsDefaultAttribute()) || TypeDescriptor.GetAttributes(obj).Contains(
InheritanceAttribute
.InheritedReadOnly)) {
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
158
if ((readOnlyAttr != null && !readOnlyAttr.IsDefaultAttribute()) || TypeDescriptor.GetAttributes(this.objValue).Contains(
InheritanceAttribute
.InheritedReadOnly)) {