Class VariableContentWidget
Represents a widget with content that is generated dynamically during user interaction in a PDF viewer, such as text fields and combo boxes.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Annotations
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class VariableContentWidget : Widget<DynamicAppearanceCharacteristics>, IFixedDocumentElement, IInstanceIdOwner, IContextClonable<Annotation>, IStructuralElement, IContentAnnotation
Properties
Content
Gets the content used to initially display the widget appearance in a PDF viewer. This content has higher priority than widget appearance characteristics and text properties and is displayed by default when opening the document in PDF viewers.
Declaration
public AnnotationContentSource Content { get; }
Property Value
AnnotationContentSource
The annotation content source that provides the initial visual representation. |
WidgetContentType
Gets the widget content type, which is always VariableContent for variable content widgets.
Declaration
public override sealed WidgetContentType WidgetContentType { get; }
Property Value
WidgetContentType
Returns VariableContent. |
Overrides
Methods
RecalculateContent()
Recalculates the Widget AnnotationContentSource content based on Widget text properties and dynamic appearance characteristics.
Declaration
public override sealed void RecalculateContent()