OLE control properties are the primary means of interacting with OLE controls. Properties, much like OI control properties, describe the persistent attributes of the control, that is, attributes having some meaningful value for the entire life of the control. Like OI control properties, OLE control properties are manipulated using the Get_Property and Set_Property routines. The following properties apply to the SRP Tree Control:
Property | Description | Version Introduced |
---|---|---|
AutoDrop | Enables automatic dropping of tree items. | |
AutoExpandDuringDrag | Determines if items expand automatically while doing a drag and drop operation. | 4.0.0 |
Background | The control's background color(s). | |
Border | The controls's border style. | |
BorderColors | Customizes the colors of an SRP ActiveX Control's border. | 3.1.0 |
ButtonsEnabled | Enables expansion buttons. | |
Cancel | Cancels an operation during certain "pre" events. | |
CheckBehavior | Check box automation settings. | |
CheckBoxConditions | Conditions in which an item will display a check box. | |
CloseButtonBehavior | Close Button automation settings. | 4.0.3 |
CloseButtonColors | Color settings for all close buttons. | 4.0.3 |
CloseButtonConditions | Conditions in which an item will display a close button. | 4.0.3 |
Colors | The control color scheme. | |
CtrlEntId | The control's fully qualified name. | |
DefAlignment | Default data alignment for new items. | |
DefCancel | Default value of Cancel property when "pre" events fire. | 4.0.1 |
DefCheckBox | Default check box setting for new items. | |
DefCloseButton | Default close button setting for new items. | 4.0.3 |
DefColors | Default color settings for new items. | |
DefDraggable | Default draggable setting for new items. | |
DefDroppable | Default droppable setting for new items. | |
DefEnabled | Default enabled state for new items. | |
DefExpandable | Default expandable setting for new items. | |
DefExpanded | Default expanded state of new items. | |
DefFont | Default font for new items. | |
DefHeight | Default height for new items. | |
DefHyperlink | The default hyperlink setting for new items. | |
DefSelectable | Default selectable setting for new items. | |
DefSort | Default sort setting for new items. | |
DefSwatchPosition | Default swatch position for new items. | |
DefSwatchSize | Default swatch size for new items. | |
DefType | Default data type settings for new items. | |
DefVisible | Default visibility of new items. | |
DragCondition | Condition in which an item can be dragged. | |
DragEnabled | Enables drag and drop. | |
DropBehavior | Drag and drop visual feedback settings. | |
DropCondition | Condition in which an item can be a drop target. | |
DropSources | Acceptable drag and drop sources | |
EnterBehavior | Enter key automation settings. | |
ExpandBehavior | Expansion automation settings. | |
Filter | A condition statement applied to all items in the tree, hiding those that don't meet the condition. | 4.0.0 |
Focus | The control's focus state | |
FocusItem | The tree item with focus | |
FullRowSelect | Enables selection of entire item width. | |
GlyphImages | The images used to render expansion buttons and check boxes. | |
HtmlEnabled | Enables HTML formatting. | |
ImageConditions | Conditions to determine which image an item will display. | |
ImageEffects | Conditions to determine which special effect to apply to an item's image. | |
Images | Global images to appear next to tree items. | |
ImageSize | The fixed size of tree item images. | 4.0.0 |
Indent | The offset of an item relative to its parent. | |
Item | An item's multivalue settings. | |
ItemAlignment | An item's data alignment. | |
ItemCheckBox | An item's check box setting. | |
ItemChecked | An item's check box value. | |
ItemChildren | An item's children. | |
ItemClass | An item's application defined classification. | |
ItemCloseButton | An item's close button setting. | 4.0.3 |
ItemColors | An item's color settings. | |
ItemData | An item's text. | |
ItemDraggable | Establishes whether or not an item can be dragged. | |
ItemDragging | Determines if an item is being dragged. | |
ItemDroppable | Establishes whether or not an item can be a drop target. | |
ItemEnabled | Enables or disables an item. | |
ItemExpandable | Establishes whether or not the user can expand or collapse an item. | |
ItemExpanded | Expands or collapses an item. | |
ItemField | A user defined value associated to an item. | 4.0.0 |
ItemFields | All user defined values associated to an item. | 4.0.0 |
ItemFont | An item's font. | |
ItemHeight | An item's height. | |
ItemHot | Determines if the user is hovering over an item. | |
ItemHyperlink | Establishes whether or not an item behaves like a hyperlink. | |
ItemImage | An item's image. | |
ItemList | The list of all tree items in the control. | |
ItemParent | An item's parent. | |
ItemParentIsRoot | Determines if the item is at the root level. | |
ItemSelectable | Establishes whether or not the user can select an item. | |
ItemSelected | Determines if an item is selected. | |
ItemSort | An item's sort setting. | |
ItemSwatchColor | An item's sort setting. | |
ItemSwatchPosition | An item's sort setting. | |
ItemSwatchSize | An item's sort setting. | |
ItemType | An item's data type settings. | |
ItemVisible | Shows or hides an item. | |
KeystrokeFindEnabled | Determines if the user can type on the keyboard to jump to an item. | 4.0.0 |
KeystrokeFindTime | The time, in milliseconds, between keystrokes to continue a word when doing a keystroke search. | 4.0.0 |
LinesEnabled | Enables hierarchy lines. | |
ProgID | The control's ProgId/Class Name. | |
Prompts | Messages to instruct or inform the user. | |
Redraw | Temporarily disables redrawing of the control. | |
RootChildren | The root item's children. | |
RootIndent | Enables indenting of root level items. | |
RootSort | The root item's sort setting. | |
SelectBehavior | Selection settings. | |
SelectedItems | The currently selected tree items. | |
ShowFocusItem | Enables the focus rectangle. | |
TooltipsEnabled | Enables tooltips. | |
TopItem | The item currently at the top of the control. | |
Version | The control's version info. | |
WordWrap | Enables word wrapping. |