New to Telerik Document ProcessingStart a free 30-day trial

Base for two‑state widgets (ON/OFF) such as checkboxes and radio buttons, providing appearance for each state.

Definition

Methods

Recalculates the widget's AnnotationContentSource content based on widget text properties and dynamic appearance characteristics.

C#
public override sealed void RecalculateContent()

Overrides: ContentAnnotationBase.RecalculateContent()

Properties

Gets the appearance content used when the widget is in the OFF state; this typically overrides viewer‑generated visuals.

C#
public AnnotationContentSource OffStateContent { get; }
Property Value:

The OFF‑state content source.

Gets the appearance content used when the widget is in the ON state; this typically overrides viewer‑generated visuals.

C#
public AnnotationContentSource OnStateContent { get; }
Property Value:

The ON‑state content source.

Returns the two‑states widget content type.

C#
public override sealed WidgetContentType WidgetContentType { get; }
Property Value:

TwoStatesContent.

Overrides: Widget.WidgetContentType