WinUI | ComponentOne
C1.WinUI.DataFilter Assembly / C1.WinUI.DataFilter Namespace / TimeOnlyRangeFilter Class / SetField<T> Method
Type of property.
The previous value of property.
The new value of property.
The name of property.
In This Topic
    SetField<T> Method (TimeOnlyRangeFilter)
    In This Topic
    Compares two values of property and raises an PropertyChanged event if they are different.
    Syntax
    protected bool SetField<T>( 
       ref T field,
       T value,
       string propertyName
    )

    Parameters

    field
    The previous value of property.
    value
    The new value of property.
    propertyName
    The name of property.

    Type Parameters

    T
    Type of property.

    Return Value

    true - if values are different.
    See Also