Represents a panel item that is associated with a property in a class derived from System.ComponentModel.Design.DesignerActionList. This class cannot be inherited.
See Also: DesignerActionPropertyItem Members
The System.ComponentModel.Design.DesignerActionPropertyItem class represents individual items in a smart tag panel. Each item is typically associated with a property in a class that is derived from the System.ComponentModel.Design.DesignerActionList class and supplied by the component author. The association is maintained through the name of the property, as stored in the DesignerActionPropertyItem.MemberName property.
To display the value of the associated property, that property must have a get accessor method; to allow editing, the property must have a set accessor method. The way in which the panel allows direct editing of a property item by the user depends on the supporting type information present for the data type of the associated property. The following table shows the likely scheme.
|Has an associated type editor (System.Drawing.Design.UITypeEditor)||
The type editor associated with the underlying property is displayed for editing the property's value.
|Has an associated type converter to a known type (System.ComponentModel.TypeConverter)|
The item is displayed using a binary UI, such as a check mark.
|None of the above.||
The item is displayed as a non-editable text string using the data type's object.ToString method.
All fundamental types, such as bool, and common dnprdnshort data types, such as string, supply standard type converters and editors. For more information about type converters, see How to: Implement a Type Converter or Generalized Type Conversion. For more information about type editors, see How to: Implement a UI Type Editor.