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

DataGrid in TabControl - Values in TextBoxes lost after tab change #18

Closed
PorkyMcPork opened this issue Jul 3, 2019 · 1 comment
Closed

Comments

@PorkyMcPork
Copy link

Hi,

I got a small issue when the filtered DataGrid is put inside a TabItem like in the sample project. When I use a filter with TextBox input (e.g. the IntegerGreatherThanFilterControl) and I switch to another tab and back, the input value is no longer displayed. The filter itself is still active, just the input value is no longer visible.
I think this is due to the fact that the TabControl is drawing all the visuals inside a TabItem on demand and doesn't keep them loaded.

Is there a way to keep the input values in the TextBox after tab switches?

@tom-englert
Copy link
Collaborator

I have fixed the sample, see latest commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants