GraffitiPropertyList
|
/images/trans.gif” class=”rbclass” /> |
Events
CollapseHeader( currHeader as PropertyListHeader )
Fires when a user collapses a header, hiding it’s children.
ExpandHeader( currHeader as PropertyListHeader )
Fires when a user expands a header, showing it’s children.
HeaderBackgroundPaint( g as Graphics ) as Boolean
Is triggered when the class is drawing headers. If you wish to draw your own custom header, simply return true in this event.
MouseOver( currHeader as PropertyListHeader, currChild as PropertyListChild )
Fires when the user moves their mouse over a header or child. Userful for giving the user information about a certain element via a statusbar or popup balloon.
NameBackgroundPaint( g as Graphics, isSelected as Boolean ) as Boolean
Fires when the class is drawing child names. If the row is currently selected, isSelected will be True. To use the custom drawn background, return true in this event.
Open()
Fires when the class is created.
UnusedBackgroundPaint( g as graphics ) as Boolean
Fires when the class wishes to draw the background of rows that currently have no associated PropertyListHeader or PropertyListChild.
ValueBackgroundPaint( g as Graphics, isSelected as Boolean ) as Boolean
Fires when the class wishes to draw the background of value cells. If the row is currently selected, isSelected will be True. To use the custom drawn background, return true in this event.
ValueChange( Node as PropertyListChild )
Fires when the value of a child has changed. Node is the updated PropertyListChild.
Methods
FindChild( ChildText as String, ChildValue as String ) as PropertyListChild
Allows a user to search all children of all headers.
FindHeader( HeaderText as String ) as PropertyListHeader
Allows a user to search all headers.
FindHeaderByChild( SearchChild as PropertyListChild ) as PropertyListHeader
Allows a user to retrieve the header of a specific child.
FromXML( XMLString as String )
Loads headers and children from valid XML generated by the ToXML method.
Reload()
After making changes to structure, or adding/removing items, call this method for the class to reflect those changes.
ToXML() as String
Exports valid XML of all headers and children to be reloaded via FromXML.
Properties
Button_Browse as Picture
Sets the image for the button used on file and folder children. If unset, the class will default to the built-in button.
Button_Edit as Picture
Sets the image for the button used on Single-Line and Multi-Line text children. If unset, the class will default to the built-in button.
Button_Int as Picture
Sets the image for the button used on Integer children. If unset, the class will default to the built-in button.
Button_Popup as Picture
Sets the image for the button used on Popup children. If unset, the class will default to the built-in button.
CustomStyle as Boolean
Determines whether the class uses the default coloring scheme, or the colors defined via properties.
HeaderBGColor as Color
Allows the user to change the default color of headers.
HeaderBold as Boolean
Allows the user to change the font weight of all headers.
HeaderItalic as Boolean
Determines whether header text is displayed in italics.
Headers() as PropertyListHeader
Array of headers.
HeaderTextColor as Color
Allows the user to change the default color of header text.
HeaderTextFont as String
Determines the font face used to draw header text.
HeaderTextSize as Integer
Sets the size of the header text font.
HeaderUnderline as Boolean
Sets the underline text decoration status of header text.
NameBGColor as Color
Allows the user to change the default background color of child names.
NameBGHighlight as Color
Sets the color of child name backgrounds when the row is selected.
NameBold as Boolean
Determines the font weight of child names.
NameItalic as Boolean
Allows the user to display child names in italics.
NameTextColor as Color
Sets the color of child name text.
NameTextFont as String
Determines the font face used to draw child name text.
NameTextSize as Integer
Sets the size of the child name’s text font face.
NameUnderline as Boolean
Allows the user give child names the underline text decoration.
ResizeColumns as Boolean
Determines whether the columns of the propertylist will be resizeable at runtime.
UnusedBGColor as Color
Sets the color used to fill in unused space in the control.
ValueBGColor as Color
Determines the background color of the child value cell.
ValueBGHighlight as Color
Determines the background color of the child value cell when the row is selected.
ValueBold as Boolean
Determines the font weight of the child value text.
ValueItalic as Boolean
Determines whether the child value text will be displayed in italics.
ValueTextColor as Color
Sets the color of the child value text.
ValueTextFont as String
Sets the font face of the child value text.
ValueTextSize as Integer
Sets the size of the child value’s text font face.
ValueUnderline as Boolean
Allows the user to display child value text with the underline text decoration.