PropertyStore Methods |
The PropertyStore type exposes the following members.
| Name | Description | |
|---|---|---|
| AddEvent |
Adds a generic event delegate with the specified key
| |
| AddHandlerEvent |
Adds a handler-based event delegate with the specified key
| |
| CreateT(Object) |
Gets a value from the property store with the specified key of a concrete type, and creates a new instance if it doesn't exist yet.
| |
| CreateT(Object, FuncT) |
Gets a value from the property store with the specified key of a concrete type, and creates a new instance if it doesn't exist yet.
| |
| GetT(Object, FuncT) |
Gets a value from the property store with the specified key of a concrete type
| |
| GetT(Object, T) |
Gets a value from the property store with the specified key of a concrete type
| |
| GetCommand |
Gets the command instance for the specified property key.
| |
| RemoveEvent |
Removes the event delegate with the specified key | |
| SetT(Object, T, T) |
Set the value for the specified property key, removing the value from the dictionary if it is the default value of T.
| |
| SetT(Object, T, Action, T) |
Set the value for the specified property key, calling the propertyChanged delegate if it has changed.
| |
| SetT(Object, T, PropertyChangedEventHandler, T, String) |
Set the value for the specified property key, raising the propertyChanged handler if it has changed.
| |
| SetCommand |
Sets an ICommand value for the specified property key.
| |
| TriggerEventT |
Triggers an event with the specified key
| |
| TrySetT |
Set the value for the specified property key, removing the value from the dictionary if it is the default value of T.
| |
| UpdateCommandCanExecute |
Updates the command's execute status, typically when the CommandParameter changes.
|