PropertyTab Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides a base class for property tabs.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)


[<AbstractClass>]
[<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")>]
type PropertyTab = 
    class
        interface IExtenderProvider
    end

NameDescription
System_CAPS_protmethodPropertyTab()

Initializes a new instance of the PropertyTab class.

NameDescription
System_CAPS_pubpropertyBitmap

Gets the bitmap that is displayed for the PropertyTab.

System_CAPS_pubpropertyComponents

Gets or sets the array of components the property tab is associated with.

System_CAPS_pubpropertyHelpKeyword

Gets the Help keyword that is to be associated with this tab.

System_CAPS_pubpropertyTabName

Gets the name for the property tab.

NameDescription
System_CAPS_pubmethodCanExtend(Object)

Gets a value indicating whether this PropertyTab can display properties for the specified component.

System_CAPS_pubmethodDispose()

Releases all the resources used by the PropertyTab.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the PropertyTab and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows a PropertyTab to attempt to free resources and perform other cleanup operations before the PropertyTab is reclaimed by garbage collection.(Overrides Object.Finalize().)

System_CAPS_pubmethodGetDefaultProperty(Object)

Gets the default property of the specified component.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetProperties(ITypeDescriptorContext, Object, Attribute[])

Gets the properties of the specified component that match the specified attributes and context.

System_CAPS_pubmethodGetProperties(Object)

Gets the properties of the specified component.

System_CAPS_pubmethodGetProperties(Object, Attribute[])

Gets the properties of the specified component that match the specified attributes.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The PropertyTab class provides the base class behavior for a property tab. Property tabs are displayed on the toolbar of the PropertyGrid control of the Properties window, and allow a component to display different views of its properties or other data.

User code will usually not create an instance of a PropertyTab directly. Instead, a PropertyTabAttribute that indicates the type of the property tab or property tabs to display for a component can be associated with the properties or types that the PropertyTab should be displayed for.

The PropertyGrid will instantiate a PropertyTab of the type specified by a PropertyTabAttribute associated with the type or property field of the component that is being browsed.

The following code example provides an example PropertyTab that lists any properties on a component, arranged by type name.

No code example is currently available or this language may not be supported.

NamedPermissionSet

for full access to system resources. Demand value: InheritanceDemand. Associated state:

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: