Class ValidationFailedEventArgs
Specifies the event triggers when the barcode input is an invalid string.
Inheritance
System.Object
ValidationFailedEventArgs
Namespace: Syncfusion.Blazor.BarcodeGenerator
Assembly: Syncfusion.Blazor.dll
Syntax
public class ValidationFailedEventArgs : Object
Examples
<SfBarcodeGenerator Width="200" Height="150" Value="A" Type="BarcodeType.Code11" OnValidationFailed="@OnInvalid">
</SfBarcodeGenerator>
@code{
public void OnInvalid(ValidationFailedEventArgs args)
{
}
}
Constructors
ValidationFailedEventArgs()
Declaration
public ValidationFailedEventArgs()
Properties
Message
Represents the validation message for the barcode.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |