зеркало из https://github.com/telerik/xaml-sdk.git
c94f26461f | ||
---|---|---|
.. | ||
Properties | ||
App.xaml | ||
App.xaml.cs | ||
App_SL.xaml | ||
App_SL.xaml.cs | ||
CloseSinglePaneInToolWindow_SL.csproj | ||
CloseSinglePaneInToolWindow_WPF.csproj | ||
CustomItemsFactory.cs | ||
CustomToolWindow.cs | ||
Example.xaml | ||
Example.xaml.cs | ||
MainPage.xaml | ||
MainPage.xaml.cs | ||
MainWindow.xaml | ||
MainWindow.xaml.cs | ||
Readme.md |
Readme.md
Close Single Pane In Tool Window
This example demonstrates how to create a custom ItemsFactory and ToolWindow in order to customize the way the Close button of the floating ToolWindow closes Panes when there are multiple Panes in the PaneGroup for Silverllight and WPF.
The example shows how to achieve a behavior, where the close button closes only the current active Pane rather than the hole PaneGroup.