ClassTwoStatesButtonWidget
Base for two‑state widgets (ON/OFF) such as checkboxes and radio buttons, providing appearance for each state.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Annotations
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public abstract class TwoStatesButtonWidget : Widget<ButtonAppearanceCharacteristics>, IFixedDocumentElement, IStructuralElement
Inheritance: objectFixedDocumentElementBaseAnnotationContentAnnotationBaseWidgetWidget<ButtonAppearanceCharacteristics>TwoStatesButtonWidget
Derived Classes:
Implements:
Inherited Members
Properties
OffStateContent
Gets the appearance content used when the widget is in the OFF state; this typically overrides viewer‑generated visuals.
Declaration
public AnnotationContentSource OffStateContent { get; }
Property Value
The OFF‑state content source.
OnStateContent
Gets the appearance content used when the widget is in the ON state; this typically overrides viewer‑generated visuals.
Declaration
public AnnotationContentSource OnStateContent { get; }
Property Value
The ON‑state content source.
WidgetContentType
Returns the two‑states widget content type.
Declaration
public override sealed WidgetContentType WidgetContentType { get; }
Property Value
Overrides
Methods
RecalculateContent()
Recalculates the widget's AnnotationContentSource content based on widget text properties and dynamic appearance characteristics.
Declaration
public override sealed void RecalculateContent()
Overrides