ClassPropertyBagObject
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:
public abstract class PropertyBagObject : DisposableObject, IDisposable
Inheritance: objectDisposableObjectPropertyBagObject
Derived Classes:
Implements:
Inherited Members
Constructors
PropertyBagObject()
Initializes a new instance of the PropertyBagObject class.
Declaration
protected PropertyBagObject()
Properties
PropertyStore
Gets the underlying property store that manages dynamic properties.
Declaration
public FastPropertyStore PropertyStore { get; }
Property Value
The fast property store instance.
Methods
ClearValue(int)
Clears the value of a property from the property store.
ClearValueCore(int)
Core implementation for clearing a property value. Override to provide custom clearing logic.
DisposeManagedResources()
Disposes all managed resources allocated by this instance.
Declaration
protected override void DisposeManagedResources()
Overrides
GetTypedValue<T>(int, T)
Gets a strongly-typed property value with a default fallback.
Declaration
public T GetTypedValue<T>(int key, T defaultValue)
Parameters
key
The property key.
defaultValue
T
The default value to return if the property is not set.
Returns
T
The typed property value or the default value if not found.
GetValue(int)
Gets the value of a property from the property store.
IsLocalValue(int)
Determines whether a property value is set locally in the property store.
SetValue(int, object)
Sets the value of a property in the property store.
SetValueCore(int, object)
Core implementation for setting a property value. Override to provide custom setting logic.