Hello,
I add UserControls to DockingManager at runtime. Then I save the DockingManager state as follows.
private void SaveDockingManager_Click(object sender, RoutedEventArgs e)
{
XmlWriter writer = XmlWriter.Create("DockStates.xml");
DocContainer.SaveDockState(writer);
writer.Close();
}
When I close and open the application, I load as follows, but it does not load. I didn't understand why. Can you help me please ?
private void LoadDockingManager_Click(object sender, RoutedEventArgs e)
{
XmlReader reader = XmlReader.Create("DockStates.xml");
DocContainer.LoadDockState(reader);
reader.Close();
}
Is there a way to reload user controls added at runtime even if the application is closed and reopened?
The layout works correctly if the application is not closed and opened and I do not close the relevant user controls.
This UserControl hosts an SfDataGrid. Is it possible that this SfDataGrid comes with filtering features already implemented?