FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid.Util.Styles Namespace / MarqueeStyle 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 (MarqueeStyle)
    In This Topic
    Compares two values of property and raises an PropertyChanged event if they are different.
    Syntax
    'Declaration
     
    
    Protected Function SetField(Of T)( _
       ByRef field As T, _
       ByVal value As T, _
       Optional ByVal propertyName As String _
    ) As Boolean
    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