You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Source = new BitmapImage(new Uri("Images/Save.png")),
80
+
Stretch = Stretch.Uniform
81
+
},
82
+
Height = 40,
83
+
Width = 40,
84
+
ToolTip = "Save",
85
+
Margin = new Thickness(5, 0, 5, 0)
86
+
});
87
+
// Set the ToolBarTrayAdv as the top tray for the ToolBarManager
88
+
toolBarManager.TopToolBarTray = toolBarTray;
89
+
// Set the ToolBarManager as the main content
90
+
this.Content = toolBarManager;
75
91
76
92
{% endhighlight %}
77
93
@@ -130,13 +146,13 @@ Following code restricts docking at the top:
130
146
131
147
{% endtabs%}
132
148
133
-
## ToolBar State Changed Event
149
+
## ToolBarStateChanged event
134
150
135
-
ToolBarStateChanged event is triggered when the state of a ToolBarAdv changes, such as when it is hidden, floated, or docked. This event passes an instance of ToolBarStateChangedEventArgs, which contains information about the state change, including the old state and new state of the toolbar.
151
+
The [ToolBarStateChanged](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Tools.Controls.ToolBarAdv.html#Syncfusion_Windows_Tools_Controls_ToolBarAdv_ToolBarStateChanged) event is triggered when the state of a ToolBarAdv changes, such as when it is hidden, floated, or docked. This event passes an instance of [ToolBarStateChangedEventArgs](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Tools.Controls.ToolBarStateChangedEventArgs.html), which contains information about the state change, including the old state and the new state of the toolbar.
136
152
137
-
NewState: Gets the current state of the toolBarAdv control.
153
+
NewState: Gets the current state of the ToolBarAdv control.
138
154
139
-
OldState: Gets the previous state of the toolBarAdv control.
155
+
OldState: Gets the previous state of the ToolBarAdv control.
140
156
141
157
{% tabs %}
142
158
@@ -147,13 +163,13 @@ OldState: Gets the previous state of the toolBarAdv control.
0 commit comments