[]
Saves a style value under the specified name so it can later be retrieved with GetValue(Type, string).
The value is keyed by the runtime type name of obj.
public static void SaveValue(object obj, string name)
| Type | Name | Description |
|---|---|---|
| object | obj | The style value to store. If it implements ICloneable, a clone is stored so later mutations of the original do not affect the saved style. |
| string | name | The name to store the value under. Saving under ItemDefault is ignored. |