RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1Span Class / SetValue<T> Method
The type of the values of the parameter style property.
A StyleProperty.
The value to set the style property.

In This Topic
    SetValue<T> Method (C1Span)
    In This Topic
    Sets the value of a style property of this C1TextElement.
    Syntax
    'Declaration
     
    
    Public Sub SetValue(Of T)( _
       ByVal prop As StyleProperty, _
       ByVal value As T _
    ) 
    public void SetValue<T>( 
       StyleProperty prop,
       T value
    )

    Parameters

    prop
    A StyleProperty.
    value
    The value to set the style property.

    Type Parameters

    T
    The type of the values of the parameter style property.
    See Also