Input for WinForms | ComponentOne
C1.Win.Input.DbNavigator.Items Namespace / NavButton Class / SetProperty<T> Method
Property type.
Corresponding field.
New value to set.
Property name.

In This Topic
    SetProperty<T> Method (NavButton)
    In This Topic
    Sets the specified property value.
    Syntax
    'Declaration
     
    
    Protected Sub SetProperty(Of T)( _
       ByRef field As T, _
       ByVal value As T, _
       Optional ByVal propertyName As String _
    ) 
    protected void SetProperty<T>( 
       ref T field,
       T value,
       string propertyName
    )

    Parameters

    field
    Corresponding field.
    value
    New value to set.
    propertyName
    Property name.

    Type Parameters

    T
    Property type.
    See Also