TogglePattern TogglePattern TogglePattern TogglePattern Class


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


Pattern Pattern Pattern Pattern

Identifies the TogglePattern control pattern.

ToggleStateProperty ToggleStateProperty ToggleStateProperty ToggleStateProperty

Identifies the ToggleState property.


Cached Cached Cached Cached

Gets the cached UI Automation property values for this TogglePattern.

Current Current Current Current

Gets the current UI Automation property values for this TogglePattern.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Toggle() Toggle() Toggle() Toggle()

Cycles through the toggle states of an AutomationElement.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also