Class TwoStatesButtonWidget
Base for two‑state widgets (ON/OFF) such as checkboxes and radio buttons, providing appearance for each state.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Annotations
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public abstract class TwoStatesButtonWidget : Widget<ButtonAppearanceCharacteristics>, IFixedDocumentElement, IInstanceIdOwner, IContextClonable<Annotation>, IStructuralElement
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
|
AnnotationContentSource
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
|
AnnotationContentSource
The ON‑state content source. |
WidgetContentType
Returns the two‑states widget content type.
Declaration
public override sealed WidgetContentType WidgetContentType { get; }
Property Value
| WidgetContentType |
Overrides
Methods
RecalculateContent()
Recalculates the widget's AnnotationContentSource content based on widget text properties and dynamic appearance characteristics.
Declaration
public override sealed void RecalculateContent()