[]
        
(Showing Draft Content)

C1.Win.Accessibility.Items.UiaMenuItem.-ctor

UiaMenuItem Constructor

UiaMenuItem(ISupportUia, UiaItem, Control, ISupportUiaContainer, IUiaExpandCollapseProvider, IUiaInvokeProvider, IUiaScrollItemProvider, IUiaToggleProvider, IUiaSelectionItemProvider, string, Control, object)

Constructor.

Declaration
public UiaMenuItem(ISupportUia sourceItem, UiaItem uiaParent = null, Control rootControl = null, ISupportUiaContainer sourceContainer = null, IUiaExpandCollapseProvider expandCollapseItem = null, IUiaInvokeProvider invokeItem = null, IUiaScrollItemProvider scrollItem = null, IUiaToggleProvider toggleItem = null, IUiaSelectionItemProvider selectionItem = null, string uiaName = null, Control itemControl = null, object objectToCache = null)
Parameters
Type Name Description
ISupportUia sourceItem

Item with ISupportUia.

UiaItem uiaParent

UIA parent of this item.

Control rootControl

Root control for all items.

ISupportUiaContainer sourceContainer

Container with inner items.

IUiaExpandCollapseProvider expandCollapseItem

Item with IUiaExpandCollapseProvider.

IUiaInvokeProvider invokeItem

Item with IUiaInvokeProvider.

IUiaScrollItemProvider scrollItem

Item with IUiaScrollItemProvider.

IUiaToggleProvider toggleItem

Item with IUiaToggleProvider.

IUiaSelectionItemProvider selectionItem

Item with IUiaSelectionItemProvider.

string uiaName

Custom name for this item.

Control itemControl

Original control of this item.

object objectToCache

Object for caching.