Skip to main content
detail property

Provides the name of the associated CommandEvent taking place.

Syntax


var nane = commandEvt.commandName;

Property values

Type: DOMString

Name of the associated CommandEvent

Remarks

The commandName maps to the following supported Windows UI Automation (UIA) methods:

commandNameUIA Method
toggle IToggleProvider::Toggle
expand IExpandCollapseProvider::Expand
collapse IExpandCollapseProvider::Collapse
scrollIntoView IScrollItemProvider::ScrollIntoView
select ISelectionItemProvider::Select
addToSelection ISelectionItemProvider::AddToSelection
removeFromSelection ISelectionItemProvider::RemoveFromSelection
setValue IValueProvider::SetValue
scrollHorizontal IScrollProvider::Scroll
scrollVertical IScrollProvider::Scroll
setHorizontalScrollPercent IScrollProvider::SetScrollPercent

 

See also

CommandEvent
command