Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wpf-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -1863,7 +1863,7 @@
<li>
Tabbed Window
<ul>
<li><a href="/wpf/Tabbed-Window/Overview.md">Overview</a></li>
<li><a href="/wpf/Tabbed-Window/Overview">Overview</a></li>
<li><a href="/wpf/Tabbed-Window/getting-started">Getting Started</a></li>
<li><a href="/wpf/Tabbed-Window/tab-management">Tab Management</a></li>
<li><a href="/wpf/Tabbed-Window/data-binding">Data Binding</a></li>
Expand Down
Binary file modified wpf/Tabbed-Window/data-binding_images/wpf_customization.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified wpf/Tabbed-Window/data-binding_images/wpf_tabbedwindow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified wpf/Tabbed-Window/getting-started_images/tabbedwindow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified wpf/Tabbed-Window/getting-started_images/wpf_normalwindow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified wpf/Tabbed-Window/getting-started_images/wpf_tabbedwindow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions wpf/Tabbed-Window/merge-tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ Ensure `AllowDragDrop` is enabled, which is the prerequisite for tear-off functi

{% endtabs %}

![WPF TabbedWindow Tear-Off](merge-tabs_images/tear-off-tabbedwindow.gif)

### Reattaching Floating Tabs

To reattach a tab from a floating window back to the main window:
Expand Down Expand Up @@ -121,6 +123,8 @@ private void OnPreviewTabMerge(object sender, TabMergePreviewEventArgs e)

{% endtabs %}

![WPF TabbedWindow Merging](merge-tabs_images/tabbedwindow-merging.gif)

## PreviewTabMergeEventArgs Properties

| Property | Type | Description |
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion wpf/Tabbed-Window/tab-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ tabControl.Items.Add(tabItem);

When a user clicks the close button, the tab is automatically removed and the control selects the next available tab.

![WPF TabbedWindow CloseButton](tab-management_images/tabbedwindow_closebutton.gif)

## New Tab Button

Enable the new tab button to allow users to dynamically add tabs:
Expand Down Expand Up @@ -98,6 +100,8 @@ private void OnNewTabRequested(object sender, NewTabRequestedEventArgs e)

{% endtabs %}

![WPF TabbedWindow New Tab Button](tab-management_images/tabbedwindow_newbutton.gif)

### Customization of New tab button

`NewTabButtonStyle` targets the internal `Button` used for the new‑tab afford and controls visual properties such as size, background, border and padding without replacing the element tree.
Expand Down Expand Up @@ -125,7 +129,7 @@ private void OnNewTabRequested(object sender, NewTabRequestedEventArgs e)

{% endtabs %}

![WPF NewButton style](data-binding_images/wpf_newbuttonstyle.png)
![WPF NewButton style](tab-management_images/wpf_newbuttonstyle.png)

## Keyboard shortcuts

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.