[]
Constructor.
public UiaTreeItem(ISupportUia sourceItem, IUiaSelectionItemProvider selectItem, UiaItem uiaParent = null, ISupportUiaContainer sourceContainer = null, Control rootControl = null, IUiaScrollItemProvider scrollItem = null, IUiaInvokeProvider invokeItem = null, IUiaExpandCollapseProvider expandItem = null, string uiaName = null, Control itemControl = null, object objectToCache = null)
Public Sub New(sourceItem As ISupportUia, selectItem As IUiaSelectionItemProvider, Optional uiaParent As UiaItem = Nothing, Optional sourceContainer As ISupportUiaContainer = Nothing, Optional rootControl As Control = Nothing, Optional scrollItem As IUiaScrollItemProvider = Nothing, Optional invokeItem As IUiaInvokeProvider = Nothing, Optional expandItem As IUiaExpandCollapseProvider = Nothing, Optional uiaName As String = Nothing, Optional itemControl As Control = Nothing, Optional objectToCache As Object = Nothing)
| Type | Name | Description |
|---|---|---|
| ISupportUia | sourceItem | Item with ISupportUia. |
| IUiaSelectionItemProvider | selectItem | Item with IUiaSelectionItemProvider. |
| UiaItem | uiaParent | UIA parent of this item. |
| ISupportUiaContainer | sourceContainer | Container with inner items. |
| Control | rootControl | Root control for all items. |
| IUiaScrollItemProvider | scrollItem | Item with IUiaScrollItemProvider. |
| IUiaInvokeProvider | invokeItem | Item with IUiaInvokeProvider. |
| IUiaExpandCollapseProvider | expandItem | Item with IUiaExpandCollapseProvider. |
| string | uiaName | Custom name for this item. |
| Control | itemControl | Original control of this item. |
| object | objectToCache | Object for caching. |