Skip to content

ValidateValueEventArgs class

Provides data for ValidateElementValue event.

public class Korzh.EasyQuery.WinForms.ValidateValueEventArgs
: EventArgs

Package: Korzh.EasyQuery.WinForms (targets: net461, net5.0-windows7.0, netcoreapp3.1)

Assembly: Korzh.EasyQuery.WinForms.dll

NameTypeDescription
ValidateValueEventArgs(XElement sourceElement, string value, bool accept)voidInitializes a new instance of the Korzh.EasyQuery.WinForms.ValidateValueEventArgs class.
NameTypeDescription
AcceptboolGets or sets a value indicating whether the Korzh.EasyQuery.WinForms.ValidateValueEventArgs.Value is accepted.
SourceElementXElementGets the source element which initiates the validation.
ValuestringGets or sets the value.