Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create my own class, and inherit from TableView.

public class ABGridView : TableView
{
in this class I save current layout like this

string fileName = @"D:\aa.xml";
this.Grid.SaveLayoutToXml(fileName);
and it's work, but when I'm trying to restore layout it doesn't work.

private void ABGridView_Loaded(object sender, RoutedEventArgs e)
{
string fileName = @"D:\aa.xml";
this.Grid.RestoreLayoutFromXml(fileName);
}

So I need your helps friends. I can't understand why it doesn't work...
Thanks ...
Posted
Comments
ZurdoDev 24-Jul-14 7:45am    
What doesn't work about it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900