Skip to main content

ThrowException Property

Gets or sets a value indicating whether Exception should be thrown.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public bool ThrowException { get; set; }

Property Value​

Boolean
True if the exception should be thrown; otherwise, false.

Exceptions​

ArgumentExceptionIf set to true and Exception is null.

See Also​

Reference​

CalendarDatePickerDateValidationErrorEventArgs Class
Avalonia.Controls Namespace