Class PopupAnnotationSettings
Represents the settings that customize popup annotations.
Inheritance
Namespace: Syncfusion.SfPdfViewer.XForms
Assembly: Syncfusion.SfPdfViewer.XForms.dll
Syntax
public class PopupAnnotationSettings : BindableObject
Fields
ColorProperty
Gets the Color property of PopupAnnotationSettings. This is a bindable property.
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property that gets and sets the color of the popup annotation. |
OpacityProperty
Gets the Opacity property of PopupAnnotationSettings. This is a bindable property.
Declaration
public static readonly BindableProperty OpacityProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property that gets and sets the opacity of the popup annotation. |
Properties
Color
Gets or sets the color of the popup annotation.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The default value is Xamarin.Forms.Color.Yellow |
Constraints
Gets or sets a value that indicates the constraints to the annotation interactions.
Declaration
public AnnotationConstraints Constraints { get; set; }
Property Value
Type |
---|
AnnotationConstraints |
Remarks
When the value of the property is not Selectable, the annotation cannot be selected. When the annotation is tapped only the tapped event will be raised and the selected event will not be raised.
Icon
Gets or sets the icon of the popup annotation.
Declaration
public PopupIcon Icon { get; set; }
Property Value
Type | Description |
---|---|
PopupIcon | The default value is Comment |
IsLocked
Gets or sets a value indicating whether the annotations can be edited. If this property is true, annotations can be selected, but moving, editing and removing actions will be disabled for the user. Default value is false.
Declaration
public bool IsLocked { get; set; }
Property Value
Type |
---|
System.Boolean |
Opacity
Gets or sets the opacity of the popup annotation.
Declaration
public float Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The default value is 1.0 |
Text
Gets or sets the text of the popup annotation.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |