Editar

Partilhar via


TogglePattern Class

Definition

Represents a control that can cycle through a set of states and maintain a state once set.

public ref class TogglePattern : System::Windows::Automation::BasePattern
public class TogglePattern : System.Windows.Automation.BasePattern
type TogglePattern = class
    inherit BasePattern
Public Class TogglePattern
Inherits BasePattern
Inheritance
TogglePattern

Fields

Pattern

Identifies the TogglePattern control pattern.

ToggleStateProperty

Identifies the ToggleState property.

Properties

Cached

Gets the cached UI Automation property values for this TogglePattern.

Current

Gets the current UI Automation property values for this TogglePattern.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Toggle()

Cycles through the toggle states of an AutomationElement.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also