[]
Sets value of the existing styled property.
protected bool SetProperty(object value, string name = "")
| Type | Name | Description |
|---|---|---|
| object | value | Property value. |
| string | name | Styled property name. |
| Type | Description |
|---|---|
| bool | True if the value was successfully set, otherwise False |
| Type | Condition |
|---|---|
| KeyNotFoundException | |
| ArgumentOutOfRangeException |
Sets value of the existing styled property. Obsolete: use SetProperty(object, string) instead.
[Obsolete]
protected bool SetProperty(string name, object value)
| Type | Name | Description |
|---|---|---|
| string | name | Styled property name. |
| object | value | Property value. |
| Type | Description |
|---|---|
| bool | Returns True if the value was successfully set, otherwise False |