Occurs when a band is about to change Dock locations.
[Visual Basic]
Public Event DockAreaChange() As ToolbarManagerEventHandler[C#]
public event ToolbarManagerEventHandler DockAreaChange();The event handler receives an argument of type ToolbarManagerEventArgs containing data related to this event. The following ToolbarManagerEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancel | Gets or sets a value indicating whether or not the event should be canceled. |
[C#]
private void tbNavigate_DockAreaChange(object sender, DataDynamics.SharpUI.Toolbars.ToolbarManagerEventArgs e) |
[Visual Basic]
Private Sub tbNavigate_DockAreaChange(ByVal sender As Object, ByVal e As DataDynamics.SharpUI.Toolbars.ToolbarManagerEventArgs) Handles tbNavigate.DockAreaChange
' change the tool that is shown if the dock area is right or left
If Me.tbNavigate.DockingArea = DataDynamics.SharpUI.Toolbars.DockAreaTypes.Left Then
Me.tForward.Visible = True
Me.tBack.Visible = False
ElseIf Me.tbNavigate.DockingArea = DataDynamics.SharpUI.Toolbars.DockAreaTypes.Right Then
Me.tBack.Visible = True
Me.tForward.Visible = False
Else
Me.tForward.Visible = True
Me.tBack.Visible = True
End If
End Sub
Copyright © 2002-2006 Data Dynamics, Ltd. All rights reserved.