ProgrammaticActionOption Enumeration

This enumeration provides the options for invoking a programmatic action with the UITechnologyElement.InvokeProgrammaticAction method.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ProgrammaticActionOption
[FlagsAttribute]
public enum ProgrammaticActionOption
[FlagsAttribute]
public enum class ProgrammaticActionOption
[<FlagsAttribute>]
type ProgrammaticActionOption
public enum ProgrammaticActionOption

Members

Member name Description
Collapse Collapses the element.
DefaultAction Invokes the default action.
Expand Expands the element.
MakeVisibleAndSelect Makes the element visible and selected.
None Specifies that no action should occur.
RemoveSelection Removes the selection from the element.
TakeFocus Gives the element the focus.
TakeSelection Selects the element.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITechnologyElement.InvokeProgrammaticAction