March 2003
Intermediate to advanced
896 pages
32h 35m
English
PropertyTab
This class provides an abstract base for the property tabs shown in a
System.Windows.Forms.PropertyGrid.
You can specify the TabName and a
Bitmap to display in the tab. You can also get or
set the array of Components for which the tab will
display properties. For help support, you can set the
HelpKeyword associated with the tab. The
System.Windows.Forms.PropertyGrid will use this to
manage help display for the control while it is showing.
To manage the properties of the bound components,
GetProperties() will return a
System.ComponentModel.PropertyDescriptorCollection
listing the available properties, and GetDefaultProperty() will return the default
System.ComponentModel.PropertyDescriptor.
public abstract class PropertyTab : System.ComponentModel.IExtenderProvider { // Protected Constructors protected PropertyTab(); // Public Instance Properties public virtual Bitmap Bitmap{get; } public virtual object[ ] Components{set; get; } public virtual string HelpKeyword{get; } public abstract string TabName{get; } // Public Instance Methods // implements System.ComponentModel.IExtenderProvider public virtual void Dispose(); public virtual PropertyDescriptor GetDefaultProperty(object component); public virtual PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[ ] attributes); public virtual PropertyDescriptorCollection GetProperties(object component); public abstract PropertyDescriptorCollection ...
Read now
Unlock full access