New to Telerik Document Processing? Start a free 30-day trial

Widget

Class

Base class for interactive form field widgets that render field content and handle user input.

Definition

Namespace:Telerik.Documents.Fixed.Model.Annotations

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public abstract class Widget : ContentAnnotationBase, IFixedDocumentElement, IStructuralElement

Inheritance: objectFixedDocumentElementBaseAnnotationContentAnnotationBaseWidget

Derived Classes: Widget<T>

Implements: IFixedDocumentElementIStructuralElement

Inherited Members ContentAnnotationBase.RecalculateContent()ContentAnnotationBase.EnsureContentIsUpToDate()Annotation.RectAnnotation.BorderAnnotation.IsPrintableAnnotation.StructureTagFixedDocumentElementBase.Parent...

Properties

Gets the actions triggered by widget events such as mouse interactions and focus changes.

C#
public WidgetActionCollection Actions { get; }

Gets the form field this widget visualizes and edits.

C#
public FormField Field { get; }

Gets or sets how the widget is visually highlighted during interaction.

C#
public HighlightingMode HighlightingMode { get; set; }

Gets or sets text formatting used by viewers when synthesizing the widget appearance.

C#
public VariableTextProperties TextProperties { get; set; }

Returns the widget annotation type.

C#
public override AnnotationType Type { get; }
Property Value:

Widget.

Overrides: Annotation.Type

Gets the widget content type that determines rendering and behavior.

C#
public abstract WidgetContentType WidgetContentType { get; }