[]
        
(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 expandCollapseProvider = null, IUiaInvokeProvider invokeProvider = null, IUiaScrollItemProvider scrollItemProvider = null, IUiaToggleProvider toggleProvider = null, IUiaSelectionItemProvider selectionProvider = null, string uiaName = null, Control itemControl = null, object objectToCache = null)
Public Sub New(sourceItem As ISupportUia, Optional uiaParent As UiaItem = Nothing, Optional rootControl As Control = Nothing, Optional sourceContainer As ISupportUiaContainer = Nothing, Optional expandCollapseProvider As IUiaExpandCollapseProvider = Nothing, Optional invokeProvider As IUiaInvokeProvider = Nothing, Optional scrollItemProvider As IUiaScrollItemProvider = Nothing, Optional toggleProvider As IUiaToggleProvider = Nothing, Optional selectionProvider As IUiaSelectionItemProvider = Nothing, Optional uiaName As String = Nothing, Optional itemControl As Control = Nothing, Optional objectToCache As Object = Nothing)
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 expandCollapseProvider

Item with IUiaExpandCollapseProvider.

IUiaInvokeProvider invokeProvider

Item with IUiaInvokeProvider.

IUiaScrollItemProvider scrollItemProvider

Item with IUiaScrollItemProvider.

IUiaToggleProvider toggleProvider

Item with IUiaToggleProvider.

IUiaSelectionItemProvider selectionProvider

Item with IUiaSelectionItemProvider.

string uiaName

Custom name for this item.

Control itemControl

Original control of this item.

object objectToCache

Object for caching.