Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class PropertyChangeBehavior
Inheritance: objectPropertyChangeBehavior
Derived Classes:
Gets or sets the property that triggers this behavior.
public RadProperty Property { get; set; }
The RadProperty that this behavior monitors for changes.
Constructors
Initializes a new instance of the PropertyChangeBehavior class.
public PropertyChangeBehavior(RadProperty executeBehaviorPropertyTrigger)
The property that triggers this behavior when it changes.
Methods
Called when this behavior is being removed from an element. Override this method to perform cleanup operations.
public virtual void BehaviorRemoving(RadElement element)
The element from which the behavior is being removed.
This method provides an opportunity to clean up any resources or reverse any changes made by the behavior before it is removed.
Called when the associated property changes on an element. Override this method to implement custom behavior logic.
public virtual void OnPropertyChange(RadElement element, RadPropertyChangedEventArgs e)
The element on which the property changed.
eRadPropertyChangedEventArgsThe event arguments containing details about the property change.
This method is called automatically by the property system when the monitored property changes. Derived classes should override this method to provide the specific behavior implementation.