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.
Definition
Namespace: Avalonia.Rendering.Composition
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public sealed class CompositionPropertySet : CompositionObject
Public NotInheritable Class CompositionPropertySet
Inherits CompositionObject
[<SealedAttribute>]
type CompositionPropertySet =
class
inherit CompositionObject
end
Inheritance | Object → CompositionObject → CompositionPropertySet |
Properties
Compositor | The associated Compositor (Inherited from CompositionObject) |
ImplicitAnimations | The collection of implicit animations attached to this object. (Inherited from CompositionObject) |
IsDisposed | (Inherited from CompositionObject) |