PropertyBagObject
Class
Represents a disposable object that stores its properties within a dynamic property bag, enabling efficient property management for charting objects.
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.dll
Syntax:
C#
public abstract class PropertyBagObject : DisposableObject, IDisposable
Inheritance: objectDisposableObjectPropertyBagObject
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the PropertyBagObject class.
C#
protected PropertyBagObject()
Properties
Gets the underlying property store that manages dynamic properties.
C#
public FastPropertyStore PropertyStore { get; }
The fast property store instance.
Methods
Disposes all managed resources allocated by this instance.
C#
protected override void DisposeManagedResources()
Overrides:
Gets a strongly-typed property value with a default fallback.
C#
public T GetTypedValue<T>(int key, T defaultValue)
The property key.
defaultValueTThe default value to return if the property is not set.
Returns:T
The typed property value or the default value if not found.