Class PushButtonWidget
Represents a push button widget that can display text, icons, or custom content and execute actions when clicked.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Annotations
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class PushButtonWidget : Widget<PushButtonAppearanceCharacteristics>, IFixedDocumentElement, IInstanceIdOwner, IContextClonable<Annotation>, IStructuralElement, IContentAnnotation
Properties
Content
Gets the source defining the visual content of the widget. This content has higher priority than widget appearance characteristics and text properties and is displayed by default in PDF viewers.
Declaration
public AnnotationContentSource Content { get; }
Property Value
AnnotationContentSource
The annotation content source that provides the visual representation. |
WidgetContentType
Gets the widget content type, which is always PushButtonContent for push button widgets.
Declaration
public override sealed WidgetContentType WidgetContentType { get; }
Property Value
WidgetContentType
Returns PushButtonContent. |
Overrides
Methods
RecalculateContent()
Recalculates the Widget AnnotationContentSource content based on Widget text properties and dynamic appearance characteristics.
Declaration
public override sealed void RecalculateContent()