This is a migrated thread and some comments may be shown as answers.

Column.Width binding to Settings

2 Answers 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kevin Hendriks
Top achievements
Rank 1
Kevin Hendriks asked on 10 Feb 2012, 04:33 PM
For our application we would like to save alot of the customers settings.
One of these is the width of columns and the order. So I have done the following
  Width="{Binding ProjectPartsOverview_Column_Width_Delete, Mode=TwoWay, Source={x:Static properties:Settings.Default}}"

But that width is not being loaded from the settings or updated.
Also I have no clue how to save the order of the columns

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 13 Feb 2012, 07:58 AM
Hello,

 Why not use our persistence framework? You can find the same demo in your local copy of our WPF examples. 

Greetings,
Vlad
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Kevin Hendriks
Top achievements
Rank 1
answered on 13 Feb 2012, 02:50 PM
I did not know about the persistence framework but it worked very good thank you
Tags
GridView
Asked by
Kevin Hendriks
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Kevin Hendriks
Top achievements
Rank 1
Share this question
or