Skip to main content
.NET 6.0+

RuleStringComparisonAttribute.IgnoreCase Property

Specifies whether to perfom a case-sensitive comparison.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v23.2.dll


public bool IgnoreCase { get; set; }

Property Value

Type Description

true if a case-insensitive comparison will be performed; otherwise, false.


By default, this property is set to false.


When defining the RuleStringComparisonAttribute in code, the value for the IgnoreCase property is passed as a named parameter. This means that you do not have to specify it. However, when specifying, use the following format: IgnoreCase = true (IgnoreCase := True, in Visual Basic).

See Also