[]
Removes the named style saved for the specified element type, if present.
public static void RemoveValue(Type type, string name)
| Type | Name | Description |
|---|---|---|
| Type | type | The element type whose saved style is removed (only the type name is used). |
| string | name | The name of the style to remove. Removing ItemDefault is ignored. |
Removes the first saved style whose value equals the specified object, for the given element type. Use this overload when the value is known but its name is not.
public static void RemoveValue(string typeName, object theObj)
| Type | Name | Description |
|---|---|---|
| string | typeName | The name of the element type whose saved styles are searched. |
| object | theObj | The style value to find and remove. |