Class TwoStatesButtonWidget
Represents widget that has ON and OFF states.
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>
Properties
OffStateContent
Represents the content source displayed when the widget is in its OFF state. This content is with bigger priority compared to Widget appearance characteristics and text properties and it is visualized by default when opening the exported document in some PDF viewer.
Declaration
public AnnotationContentSource OffStateContent { get; }
Property Value
AnnotationContentSource
|
OnStateContent
Represents the content source displayed when the widget is in its ON state. This content is with bigger priority compared to Widget appearance characteristics and text properties and it is visualized by default when opening the exported document in some PDF viewer.
Declaration
public AnnotationContentSource OnStateContent { get; }
Property Value
AnnotationContentSource
|
WidgetContentType
Gets the widget content type.
Declaration
public override sealed WidgetContentType WidgetContentType { get; }
Property Value
WidgetContentType
|
Overrides
Methods
RecalculateContent()
Recalculates the Widget AnnotationContentSource content based on Widget text properties and dynamic appearance characteristics.
Declaration
public override sealed void RecalculateContent()