Skip to content

TrackingConfiguration class

Defined in

Namespace: CrissCross.WPF.UI.Configuration Assembly: CrissCross.WPF.UI.dll Full name: CrissCross.WPF.UI.Configuration.TrackingConfiguration<T> Modifiers: public sealed

Summary

        A TrackingConfiguration determines how a target object will be tracked.
        This includes list of properties to track, persist triggers and id getter.
        

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Class hierarchy
classDiagram
class TrackingConfiguration~T~
class ITrackingConfiguration {
    <>
}
ITrackingConfiguration <|.. TrackingConfiguration~T~

Implements: ITrackingConfiguration

Remarks

        Derives from TrackingConfiguration and adds a generic strongly typed API for configuring tracking.
        This class does not provide any new functionality nor store any additional state.All calls are forwarded to the base class.
        

Properties

NameSummary
TrackerGets the tracker.
PersistTriggersGets the persist triggers.
StopTrackingTriggerGets or sets the stop tracking trigger.
TargetTypeGets the type of the target.
TrackedPropertiesGets the tracked properties.

Methods

NameSummary
TrackStart tracking the target object. This will apply any previously stored data and start listening for events that indicate persisting new data is required.
WhenApplyingPropertyAllows value conversion and cancellation when applying a stored value to a property.
WhenAppliedStateAllows supplying a callback that will be called when all saved state is applied to a target object.
WhenPersistingPropertyAllows value conversion and cancellation when persisting a property of the target object.
WhenPersistedWhens the persisted.
IdIdentifiers the specified identifier function.
CanPersistDetermines whether this instance can persist the specified can persist function.
PersistOnRegisters the specified event of the target object as a trigger that will cause the target's data to be persisted.
StopTrackingOnStop tracking the target when it fires the specified event.
PropertySet up tracking for the specified property.
PropertiesSet up tracking for one or more properties.
GetStoreIdGets the store identifier.
Inherited members

See also