Class
Widget

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

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Annotations

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
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

Actions

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

Declaration

cs-api-definition
public WidgetActionCollection Actions { get; }

Property Value

WidgetActionCollection

Field

Gets the form field this widget visualizes and edits.

Declaration

cs-api-definition
public FormField Field { get; }

Property Value

FormField

HighlightingMode

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

Declaration

cs-api-definition
public HighlightingMode HighlightingMode { get; set; }

Property Value

HighlightingMode

TextProperties

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

Declaration

cs-api-definition
public VariableTextProperties TextProperties { get; set; }

Property Value

VariableTextProperties

Type

Returns the widget annotation type.

Declaration

cs-api-definition
public override AnnotationType Type { get; }

Property Value

AnnotationType

Widget.

Overrides Annotation.Type

WidgetContentType

Gets the widget content type that determines rendering and behavior.

Declaration

cs-api-definition
public abstract WidgetContentType WidgetContentType { get; }

Property Value

WidgetContentType