Xceed Grid for WinForms v4.3 Documentation
Xceed.Validation.v1.3 Assembly / Xceed.Validation Namespace / ValidationCriterion Class / Trim Property


    Trim Property
    Gets or sets a boolean value indicating whether whitepace characters should be trimmed from the control's value before testing with the criterion.
    Syntax
    'Declaration
     
    Public Property Trim As Boolean
     
    'Usage
     
    Dim instance As ValidationCriterion
    Dim value As Boolean
     
    instance.Trim = value
     
    value = instance.Trim

    Property Value

    true if whitespace characters should be trimmed from the control's value before testing with the criterion; false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also