BCGControlBar Library for .NET
BCGSoft.Controls.PropertyList Namespace
Inheritance Hierarchy
Classes
 ClassDescription
ClassColorPage

Represents a set of fields specify the color page of the color property item.

ClassColorPopup

Inherits PopupBase class.  It represents a popup menu for the PropertyListColorItem. Contains three colors' pages: “Custom”, “System”, “Web”. 

ClassColorSet

Inherits ListBox class of System.Windows.Forms namespace.
Displays a list of items from which the user can select a color. Added to the tab pages of ColorPopup to display available items.  You can get selected color  by means of the property SelectedColor.

ClassNeedTipTextEventArgs

Inherits System.EventArgs.
Provides data for the NeedTipText event. The property Prop specifies the property item to display a tooltip, the property ClickArea indicates its clicked area and properties X and Y define the coordinates of the mouse cursor.

ClassPropertyListColorItem

Inherits from PropertyListItem class of BSGSoft.Controls.PropertyList namespace.

Represents a property list item for selecting color. In edit mode of this item the color popup menu will be displayed with three tab pages  “Custom”, “Web” and  “System”.
ClassPropertyListControl Inherits from UserControl class of System.Windows.Forms namespace. Implements interface IMessageFilter.
Represents a control that acts as a container for property items. This control is similar Property List workspace from VisualStudio. PropertyList namespace allows to add to the property list a simple property item, a color property item,  a font property item. These edit fields include edit boxes, drop-down lists and links to custom editor dialog boxes. For creation custom types of property items you have to inherit class PropertyListItem and add its instance to the PropertyListControl using its property
PropertiesCollection.  To replace some properties control to the group we have to add a group item to the property list and than add another items to this item. Property List allows to place all properties and its value  by category. Items inside any category are sorted alphabetically. You can collapse a category to reduce the number of visible properties by clicking on a plus (+) to the left of the category name or expand a category by minus (-) button on Property group item when the category is collapsed.
Property List has a description area which shows the property type and a short description of the property. To display description area you should use the property DescriptionAreaEnabled.
ClassPropertyListFontItem

Inherits from PropertyListItem class of BCGSoft.Controls.PropertyList namespace.

Represents a property list item for selecting font.

ClassPropertyListItem

Inherits from Component class of System.ComponentModel.Component namespace.

Implements interface INotifyPropertyChanged, IScreenRectProvider.

Use the PropertyListItem object to add new property to the property list item. The method AddOption allows to add values of different types to the dropdown list of items from which the user can select one. If the list item is editable, on left button mouse click  on this item  the InPlaceEdit control will be created. As a rule it is an editbox or combobox, sometimes a list item  with a button. Clicking on it we can get any custom popup window, for example, for selecting color.
ClassPropertyListItemCollection

Inherits from CollectionWithEvents class of BSGSoft.Shared namespace.

Represents the collection of items for the property list.  The property  PropertyListItem gets the item from the collection by its index. The property ParentPropList returns the parent  property list for items. PropertyListControl contains two property to get an access to its property list item collections:  TerminalPropertiesCollection and PropertiesCollection. PropertiesCollection  represents all properties of the property list with the exception of group properties. TerminalPropertiesCollection specifies group properties and they will not be shown at the alphabetic mode.

ClassSelectionChangeEventArgs

Inherits System.EventArgs.

Provides data for the SelectionChange event. Property Element specifies the Property List Item to change a selection.

ClassValidatePropertyEventArgs

Inherits System.EventArgs.

Provides data for the ValidateProperty event. Property Element specifies an element to validate a value, NewValue indicates a value to set.
Delegates
 DelegateDescription
DelegateNeedTipTextHandler

Represents the method that will handle the NeedTipText event of PropertyListControl which  occurs on the property list item  when the it is necessary to display a tooltip.

DelegateSelectionChangedHandler Represents the method that will handle the SelectionChange event which  occurs on the property list item  when the selection of it is changed.
DelegateValidatePropertyHandler

Represents the method that will handle the ValidateProperty which  occurs on validation  of the  value of the property.

Enumerations
 EnumerationDescription
EnumerationItemClickArea Specifies the  clicked area of the Property List item on mouse click.
EnumerationPropertyFlags Specifies the type of additional control which is located on the property item.
See Also

Reference

BCGSoft.Controls.PropertyList Assembly

Send Feedback