ToggleSwitchTemplateSettings ToggleSwitchTemplateSettings ToggleSwitchTemplateSettings ToggleSwitchTemplateSettings Class

Definition

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ToggleSwitch control. Not intended for general use.

public : sealed class ToggleSwitchTemplateSettings : DependencyObject, IToggleSwitchTemplateSettingspublic sealed class ToggleSwitchTemplateSettings : DependencyObject, IToggleSwitchTemplateSettingsPublic NotInheritable Class ToggleSwitchTemplateSettings Inherits DependencyObject Implements IToggleSwitchTemplateSettings// This API is not available in Javascript.
Inheritance
ToggleSwitchTemplateSettingsToggleSwitchTemplateSettingsToggleSwitchTemplateSettingsToggleSwitchTemplateSettings
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Properties

CurtainCurrentToOffOffset CurtainCurrentToOffOffset CurtainCurrentToOffOffset CurtainCurrentToOffOffset

Gets the calculated value of the offset for the "curtain" element of the ToggleSwitch, calculated for an "Off" action and current switch position.

public : double CurtainCurrentToOffOffset { get; }public double CurtainCurrentToOffOffset { get; }Public ReadOnly Property CurtainCurrentToOffOffset As double// This API is not available in Javascript.
Value
double double double double

A value in pixels.

CurtainCurrentToOnOffset CurtainCurrentToOnOffset CurtainCurrentToOnOffset CurtainCurrentToOnOffset

Gets the calculated value of the offset for the "curtain" element of the ToggleSwitch, calculated for an "On" action and current switch position.

public : double CurtainCurrentToOnOffset { get; }public double CurtainCurrentToOnOffset { get; }Public ReadOnly Property CurtainCurrentToOnOffset As double// This API is not available in Javascript.
Value
double double double double

A value in pixels.

CurtainOffToOnOffset CurtainOffToOnOffset CurtainOffToOnOffset CurtainOffToOnOffset

Gets the calculated value of the offset for the "curtain" element of the ToggleSwitch, in "Off" to "On" direction.

public : double CurtainOffToOnOffset { get; }public double CurtainOffToOnOffset { get; }Public ReadOnly Property CurtainOffToOnOffset As double// This API is not available in Javascript.
Value
double double double double

A value in pixels.

CurtainOnToOffOffset CurtainOnToOffOffset CurtainOnToOffOffset CurtainOnToOffOffset

Gets the calculated value of the offset for the "curtain" element of the ToggleSwitch, in "On" to "Off" direction.

public : double CurtainOnToOffOffset { get; }public double CurtainOnToOffOffset { get; }Public ReadOnly Property CurtainOnToOffOffset As double// This API is not available in Javascript.
Value
double double double double

A value in pixels.

KnobCurrentToOffOffset KnobCurrentToOffOffset KnobCurrentToOffOffset KnobCurrentToOffOffset

Gets the calculated value of the offset for the "knob" element of the ToggleSwitch, calculated for an "Off" action and current switch position.

public : double KnobCurrentToOffOffset { get; }public double KnobCurrentToOffOffset { get; }Public ReadOnly Property KnobCurrentToOffOffset As double// This API is not available in Javascript.
Value
double double double double

A value in pixels.

KnobCurrentToOnOffset KnobCurrentToOnOffset KnobCurrentToOnOffset KnobCurrentToOnOffset

Gets the calculated value of the offset for the "knob" element of the ToggleSwitch, calculated for an "On" action and current switch position.

public : double KnobCurrentToOnOffset { get; }public double KnobCurrentToOnOffset { get; }Public ReadOnly Property KnobCurrentToOnOffset As double// This API is not available in Javascript.
Value
double double double double

A value in pixels.

KnobOffToOnOffset KnobOffToOnOffset KnobOffToOnOffset KnobOffToOnOffset

Gets the calculated value of the offset for the "knob" element of the ToggleSwitch, in "Off" to "On" direction.

public : double KnobOffToOnOffset { get; }public double KnobOffToOnOffset { get; }Public ReadOnly Property KnobOffToOnOffset As double// This API is not available in Javascript.
Value
double double double double

A value in pixels.

KnobOnToOffOffset KnobOnToOffOffset KnobOnToOffOffset KnobOnToOffOffset

Gets the calculated value of the offset for the "knob" element of the ToggleSwitch, in "On" to "Off" direction.

public : double KnobOnToOffOffset { get; }public double KnobOnToOffOffset { get; }Public ReadOnly Property KnobOnToOffOffset As double// This API is not available in Javascript.
Value
double double double double

A value in pixels.

See Also