TrackingConfiguration class¶
Defined in
Namespace: CrissCross.WPF.UI.Configuration
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Configuration.TrackingConfiguration
Modifiers: public
Summary¶
A TrackingConfiguration is an object that determines how a target object will be tracked.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class TrackingConfiguration
class ITrackingConfiguration {
<>
}
ITrackingConfiguration <|.. TrackingConfiguration
Implements: ITrackingConfiguration
Properties¶
| Name | Summary |
|---|---|
| TargetType | Gets the type of the target. |
| Tracker | Gets the StateTracker that owns this tracking configuration. |
| TrackedProperties | Gets a dictionary containing the tracked properties. |
| PersistTriggers | Gets list containing the events that will trigger persisting. |
| StopTrackingTrigger | Gets or sets the stop tracking trigger. |
Methods¶
| Name | Summary |
|---|---|
| WhenApplyingProperty | Allows value conversion and cancallation when applying a stored value to a property. |
| WhenAppliedState | Allows supplying a callback that will be called when all saved state is applied to a target object. |
| WhenPersistingProperty | Allows value conversion and cancallation when persisting a property of the target object. |
| WhenPersisted | Whens the persisted. |
| AsGeneric | Ases the generic. |
| GetStoreId | Gets the store identifier. |
| Id | Identifiers the specified identifier function. |
| CanPersist | Determines whether this instance can persist the specified can persist function. |
| PersistOn | Registers the specified event of the target object as a trigger that will cause the target's data to be persisted. |
| StopTrackingOn | Stop tracking the target when it fires the specified event. |
| Property | Set up tracking for the specified property. Allows supplying a name for the property. This overload is used when the target object has a list of child objects whose properties ... |
| Properties | Set up tracking for one or more properties. The expression should be an anonymous type projection (e.g. x => new). |