New to Telerik UI for WPFStart a free 30-day trial

Extension properties for the RadToggleButton class.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Primitives

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

C#
public static class ToggleButtonExtensions

Inheritance: objectToggleButtonExtensions

Fields

CheckedContentProperty

DependencyProperty

The CheckedContentProperty dependency property.

C#
public static readonly DependencyProperty CheckedContentProperty

UncheckedContentProperty

DependencyProperty

The UncheckedContentProperty dependency property.

C#
public static readonly DependencyProperty UncheckedContentProperty

Methods

Gets the content for the checked state of the Toggle button.

C#
public static object GetCheckedContent(DependencyObject obj)
Parameters:objDependencyObject

The object.

Returns:

object

Gets the content for the unchecked state of the Toggle button.

C#
public static object GetUncheckedContent(DependencyObject obj)
Parameters:objDependencyObject

The object.

Returns:

object

Sets the content for the checked state of the Toggle button.

C#
public static void SetCheckedContent(DependencyObject obj, object value)
Parameters:objDependencyObject

The object.

valueobject

The value.

Sets the content for the unchecked state of the Toggle button.

C#
public static void SetUncheckedContent(DependencyObject obj, object value)
Parameters:objDependencyObject

The object.

valueobject

The value.