Share via


ProgrammaticActionOption Enum

Definition

This enumeration provides the options for invoking a programmatic action with the InvokeProgrammaticAction(ProgrammaticActionOption) method.

This enumeration supports a bitwise combination of its member values.

public enum class ProgrammaticActionOption
[System.Flags]
public enum ProgrammaticActionOption
[<System.Flags>]
type ProgrammaticActionOption = 
Public Enum ProgrammaticActionOption
Inheritance
ProgrammaticActionOption
Attributes

Fields

Name Value Description
None 0

Specifies that no action should occur.

TakeFocus 1

Gives the element the focus.

TakeSelection 2

Selects the element.

RemoveSelection 4

Removes the selection from the element.

DefaultAction 256

Invokes the default action.

Expand 512

Expands the element.

Collapse 1024

Collapses the element.

MakeVisibleAndSelect 2048

Makes the element visible and selected.

Applies to