[]
Sets the formatting property value.
protected void SetPropertyFormattingEx<T>(object value, T defaultValue, string key = "")
Protected Sub SetPropertyFormattingEx(Of T)(value As Object, defaultValue As T, Optional key As String = "")
Type | Name | Description |
---|---|---|
object | value | The formatting property value. |
T | defaultValue | The default value of the property. |
string | key | The short formatting property key to set value. |
Name | Description |
---|---|
T | A type of the value. |
If value equals default value then formatting will be removed.