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

Extension properties for the RadToggleButton class.

Definition

Namespace:Telerik.WinControls.UI.Diagrams.Primitives

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public static class ToggleButtonExtensions

Inheritance: objectToggleButtonExtensions

Fields

The CheckedContentProperty dependency property.

C#
public static readonly RadProperty CheckedContentProperty

The UncheckedContentProperty dependency property.

C#
public static readonly RadProperty UncheckedContentProperty

Methods

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

C#
public static object GetCheckedContent(RadObject obj)
Parameters:objRadObject

The object.

Returns:

object

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

C#
public static object GetUncheckedContent(RadObject obj)
Parameters:objRadObject

The object.

Returns:

object

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

C#
public static void SetCheckedContent(RadObject obj, object value)
Parameters:objRadObject

The object.

valueobject

The value.

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

C#
public static void SetUncheckedContent(RadObject obj, object value)
Parameters:objRadObject

The object.

valueobject

The value.