New to Telerik Document ProcessingStart a free 30-day trial

Dynamic Appearance Properties

Updated on May 11, 2026

Some Widgets are visualizing variable content, which should be dynamically reconstructed after each field value change. In order to define the way this content is evaluated, all widgets provide two type of properties – VariableTextProperties defining the text specific properties and DynamicAppearanceCharacteristics defining the geometry specific properties. This article describes these two types.

VariableTextProperties Class

This class is used by Widget annotations to specify the properties needed for the dynamic construction widget text. An instance of this class may also be found in the FormField class, proving easy way to ensure that all widgets created from this field will use similar text properties.

These properties are as follows:

PropertyDescription
HorizontalAlignmentGets or sets the text horizontal alignment.
CharacterSpacingGets or sets the character spacing.
WordSpacingGets or sets the word spacing.
HorizontalScalingGets or sets the text horizontal scaling.
FontGets or sets the font.
FontSizeGets or sets the font size. If zero, the size is automatically calculated to fit the available space in the widget annotation rectangle.
TextRiseGets or sets the text rise.
RenderingModeGets or sets the text rendering mode.
FillGets or sets the text fill color.
StrokeGets or sets the text stroke color.
StrokeThicknessGets or sets the text stroke thickness.
StrokeLineCapGets or sets the text stroke line cap.
StrokeLineJoinGets or sets the text stroke line join.
StrokeDashArrayGets or sets the text stroke dash array.
StrokeDashOffsetGets or sets the text stroke dash offset.
MilterLimitGets or sets the text miter limit.

In .NET Standard/.NET (Target OS: None) environments, fonts beyond the 14 standard ones require a FontsProvider implementation to be resolved correctly.

DynamicAppearanceCharacteristics Class

This class is used by VariableContentWidget and SignatureWidget classes in order to specify the dynamic construction of widget geometry representation. It provides the following properties:

PropertyDescription
RotationGets or sets the rotation of the widget content.
BorderColorGets or sets the color of the Widget rectangle border. If null, no border is drawn. Takes effect only when an AnnotationBorder is set to the widget's Border property.
BackgroundGets or sets the color of the Widget rectangle background. If null, no background is drawn.

ButtonAppearanceCharacteristics Class

This class inherits DynamicAppearanceChanacteristics and is used by TwoStateButtonWidget and RadioButtonWidget for dynamically constructing button appearances. It adds the following property to its parent class implementation:

PropertyDescription
NormalCaptionThe text drawn when the mouse is not interacting with the button.

PushButtonAppearanceCharacteristics Class

This class inherits ButtonAppearanceCharacteristics and is used by PushButtonWidget for dynamically constructing button appearances. It adds the following properties to its parent class implementation:

PropertyDescription
MouseOverCaptionThe text drawn when the mouse is over the button.
MouseDownCaptionThe text drawn when the mouse is pressed on the button.
NormalIconSourceFormSource used for drawing a button icon when the mouse is not interacting with the widget.
MouseOverIconFormSource used for drawing a button icon when the mouse is over the widget.
MouseDownIconFormSource used for drawing a button icon when the mouse is pressed on the widget.
IconAndCaptionPositionSpecifies how to position the button icon relative to the button caption.
IconFitOptionsProvides options specifying how to position and whether or how to scale the icon within the available space in the annotation rectangle.

See Also