ArcFM Desktop Developer Guide
IMMListTree Interface Members
Properties  Methods 

Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

The following tables list the members exposed by IMMListTree.

Public Properties
 NameDescription
 PropertyAutoSelectModeGets or puts a value from the mmAutoSelection enumeration.  
 PropertyBackColorGets or sets the background color of the tree.  
 PropertyBorderStyleGets or sets the border style of the tree. 0=flat and 1=bevelled  
 PropertyD8ContextCatIdentifies (by GUID) the component category from which to load context menu tools.  
 PropertyDragDropModeGets or sets the drag/drop mode of the list using the mmDragAndDropMode enumeration.  
 PropertyDropHighlightGets or sets the list item to be highlighted as the user drags and drops on the list.  
 PropertyDropHighlightListitemReturns the list item onto which the user has dragged and dropped another item.  
 PropertyEnabledEnables or disables the MMListTree control.  
 PropertyEnableDblClickToolsSets or gets whether to enable double-click tools.  
 PropertyFirstItemSelReturns the first D8ListItem object in the MMListTree's selected set.  
 PropertyFontGets or sets the font of the list items.  
 PropertyForeColorGets or sets the color of the list items.  
 PropertyhWndReturns the MMListTree's window handle. This is useful for resizing the MMListTree control as your form is resized.  
 PropertyItemSelectedReturns a boolean value indicating whether a list item is selected.  
 PropertyListCountReturns the number of items in the control's list.  
 PropertyMMSelectionReturns an IMMTreeViewSelection interface reference which provides functionality to operate on the selected objects in the control's list.  
 PropertySelectionStyle

Gets or sets the selection style using the mmSTSelectionType enumeration.

IMMListTree.SelectionStyle expects an int, but when you give it a selection style it throws an error that can't convert the mmSTSelectionStyle to an int. To solve this issue, put (int) in front of the selection style
Example: (int) MSTSelectionType.MMSTNodeSelectRange

 
 PropertyShowTreeBitmapsInstructs the MMListTree control whether or not to show bitmaps on each node of the tree.  
 PropertyTreeToolsDetermines the context tool set based on D8ContextCat.  
Top
Public Methods
 NameDescription
 MethodHitTestReturns the key of the node at the given XY coordinates. If no node is found at the coordinates -1 is returned.  
 MethodHitTestListItemGiven X and Y coordinates, returns the list item at the designated location.  
 MethodInitializeTreeInitializes the MMListTree, loading and displaying pListItem.  
 MethodRefreshCauses the MMListTree's display to refresh.  
 MethodSelectItemAdds D8ListItem to the MMListTree's selected set.  
 MethodSetListItemImageSets an image to be displayed next to pListItem's tree node.  
Top
See Also

Reference

IMMListTree Interface
Miner.Interop Namespace

 

 


Send Comment