ComponentOne RichTextBox for WPF and Silverlight
SetValue<T> Method (C1TextElement)

C1.Silverlight.RichTextBox.Documents Namespace > C1TextElement Class : SetValue<T> Method
The type of the values of the parameter style property.
A StyleProperty.
The value to set the style property.
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

Reference

C1TextElement Class
C1TextElement Members