Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​PropertyTabAttribute

Assembly: System.ComponentModel.TypeConverter

Inheritance: object → Attribute → PropertyTabAttribute

Identifies the property tab or tabs to display for the specified class or classes.

Properties

public Type[]
TabClasses
Gets the types of tabs that this attribute uses.
protected string[]
TabClassNames
Gets the names of the tab classes that this attribute uses.
public PropertyTabScope[]
TabScopes
Gets an array of tab scopes of each tab of this <see cref="T:System.ComponentModel.PropertyTabAttribute" /> .
public object
TypeId

Methods

public bool
Equals​(PropertyTabAttribute other)
Returns a value indicating whether this instance is equal to a specified attribute.
Returns <see langword="true" /> if the <see cref="T:System.ComponentModel.PropertyTabAttribute" /> instances are equal; otherwise, <see langword="false" /> .
other A <see cref="T:System.ComponentModel.PropertyTabAttribute" /> to compare to this instance, or <see langword="null" /> .
public bool
Equals​(object other)
Returns a value indicating whether this instance is equal to a specified object.
Returns <see langword="true" /> if <paramref name="other" /> refers to the same <see cref="T:System.ComponentModel.PropertyTabAttribute" /> instance; otherwise, <see langword="false" /> .
other An object to compare to this instance, or <see langword="null" /> .
public int
GetHashCode​()
Gets the hash code for this object.
Returns The hash code for the object the attribute belongs to.
protected void
InitializeArrays​(string[] tabClassNames, PropertyTabScope[] tabScopes)
Initializes the attribute using the specified names of tab classes and array of tab scopes.
tabClassNames An array of fully qualified type names of the types to create for tabs on the Properties window.
tabScopes The scope of each tab. If the scope is <see cref="F:System.ComponentModel.PropertyTabScope.Component" /> , it is shown only for components with the corresponding <see cref="T:System.ComponentModel.PropertyTabAttribute" /> . If it is <see cref="F:System.ComponentModel.PropertyTabScope.Document" /> , it is shown for all components on the document.
protected void
InitializeArrays​(Type[] tabClasses, PropertyTabScope[] tabScopes)
Initializes the attribute using the specified names of tab classes and array of tab scopes.
tabClasses The types of tabs to create.
tabScopes The scope of each tab. If the scope is <see cref="F:System.ComponentModel.PropertyTabScope.Component" /> , it is shown only for components with the corresponding <see cref="T:System.ComponentModel.PropertyTabAttribute" /> . If it is <see cref="F:System.ComponentModel.PropertyTabScope.Document" /> , it is shown for all components on the document.
public bool
IsDefaultAttribute​()
Inherited from Attribute
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object