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
Methods
Recalculates the widget's AnnotationContentSource content based on widget text properties and dynamic appearance characteristics.
public override sealed void RecalculateContent()
Overrides:
Properties
Gets the appearance content used when the widget is in the OFF state; this typically overrides viewer‑generated visuals.
public AnnotationContentSource OffStateContent { get; }
The OFF‑state content source.
Gets the appearance content used when the widget is in the ON state; this typically overrides viewer‑generated visuals.
public AnnotationContentSource OnStateContent { get; }
The ON‑state content source.
Returns the two‑states widget content type.
public override sealed WidgetContentType WidgetContentType { get; }
Overrides: