Skip to content

PdfVisualAnnotationStateChangeEventArgs.AllowStateChange Property

Gets or sets a value indicating whether the state change is allowed.

C#
public bool AllowStateChange { get; set; }

Property Value

Boolean

True if state change is allowed, false otherwise. Default is true.

Remarks

You can set this property to false in !:PdfAnnotationsView.BeforeReviewStateChange and/or !:PdfAnnotationsView.BeforeCheckmarkChange to reject the state change.
This property is not used in !:PdfAnnotationsView.AfterReviewStateChange and !:PdfAnnotationsView.AfterCheckmarkChange events.