Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TabControlEx from ControlzEx as base class for BaseMetroTabControl #3514

Merged
merged 8 commits into from
May 30, 2019

Conversation

batzen
Copy link
Collaborator

@batzen batzen commented May 30, 2019

This PR changes the base class of BaseMetroTabControl from TabControl to TabControlEx from ControlzEx.
This allows us to keep the visual content in memory and prevent reloads of the UI contained in Tabs.
To be as flexible as possible i have added a need property KeepVisualTreeInMemoryWhenChangingTabs to MetroTabControl.
The default value is currently set to false to not break any current usages of the control.

@punker76 punker76 added this to the 2.0.0 milestone May 30, 2019
@punker76 punker76 merged commit 2387e4a into MahApps:develop May 30, 2019
@punker76
Copy link
Member

@batzen 👍 🛩

@batzen batzen deleted the TabControlEx branch February 16, 2020 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants