SpreadsheetGear.Windows.Controls Namespace > HorizontalScrollbarsPresenter Class : DataContextChanged Event |
'Declaration
Public Event DataContextChanged As System.Windows.DependencyPropertyChangedEventHandler
'Usage
Dim instance As HorizontalScrollbarsPresenter Dim handler As System.Windows.DependencyPropertyChangedEventHandler AddHandler instance.DataContextChanged, handler
public event System.Windows.DependencyPropertyChangedEventHandler DataContextChanged
public event DataContextChanged: System.Windows.DependencyPropertyChangedEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.DependencyPropertyChangedEventHandler* DataContextChanged
public: event System.Windows.DependencyPropertyChangedEventHandler^ DataContextChanged
The event handler receives an argument of type System.Windows.DependencyPropertyChangedEventArgs containing data related to this event. The following DependencyPropertyChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
NewValue | Gets the value of the property after the change. |
OldValue | Gets the value of the property before the change. |
Property | Gets the identifier for the dependency property where the value change occurred. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2