In This Topic
Constructor.
Syntax
'Declaration
Public Function New( _
ByVal As ISupportUia, _
Optional ByVal As UiaItem, _
Optional ByVal As Control, _
Optional ByVal As ISupportUiaContainer, _
Optional ByVal expandCollapseItem As IUiaExpandCollapseProvider, _
Optional ByVal As IUiaInvokeProvider, _
Optional ByVal As IUiaScrollItemProvider, _
Optional ByVal As IUiaToggleProvider, _
Optional ByVal As IUiaSelectionItemProvider, _
Optional ByVal As String, _
Optional ByVal As Control, _
Optional ByVal As Object _
)
public UiaMenuItem(
ISupportUia ,
UiaItem ,
Control ,
ISupportUiaContainer ,
IUiaExpandCollapseProvider expandCollapseItem,
IUiaInvokeProvider ,
IUiaScrollItemProvider ,
IUiaToggleProvider ,
IUiaSelectionItemProvider ,
string ,
Control ,
object
)
Parameters
- sourceItem
- Item with ISupportUia.
- uiaParent
- UIA parent of this item.
- rootControl
- Root control for all items.
- sourceContainer
- Container with inner items.
- expandCollapseItem
- Item with IUiaExpandCollapseProvider.
- invokeItem
- Item with IUiaInvokeProvider.
- scrollItem
- Item with IUiaScrollItemProvider.
- toggleItem
- Item with IUiaToggleProvider.
- selectionItem
- Item with IUiaSelectionItemProvider.
- uiaName
- Custom name for this item.
- itemControl
- Original control of this item.
- objectToCache
- Object for caching.
See Also