Skip to main content

Avalonia.Rendering.Composition

📄️ CompositionPropertySet Class

CompositionPropertySets are CompositionObjects that allow storage of key values pairs that can be shared across the application and are not tied to the lifetime of another composition object. CompositionPropertySets are most commonly used with animations, where they maintain key-value pairs that are referenced to drive portions of composition animations. CompositionPropertySets provide the ability to insert key-value pairs or retrieve a value for a given key. CompositionPropertySet does not support a delete function – ensure you use CompositionPropertySet to store values that will be shared across the application.