Click here to Skip to main content
15,798,066 members
Home / Discussions / WPF
   

WPF

 
QuestionJust a stray thought Pin
Mycroft Holmes18-Mar-12 16:22
professionalMycroft Holmes18-Mar-12 16:22 
AnswerRe: Just a stray thought Pin
Paul Daniel Ruston19-Mar-12 10:32
Paul Daniel Ruston19-Mar-12 10:32 
GeneralRe: Just a stray thought Pin
Mycroft Holmes19-Mar-12 13:53
professionalMycroft Holmes19-Mar-12 13:53 
QuestionRestore object's properties using XAMLReader Pin
Tryxo17-Mar-12 19:41
Tryxo17-Mar-12 19:41 
QuestionHow to Fill a shape with vertical and/or horizontal lines Pin
Tryxo17-Mar-12 18:14
Tryxo17-Mar-12 18:14 
AnswerRe: How to Fill a shape with vertical and/or horizontal lines Pin
Abhinav S18-Mar-12 21:11
Abhinav S18-Mar-12 21:11 
GeneralRe: How to Fill a shape with vertical and/or horizontal lines Pin
Tryxo23-Mar-12 11:58
Tryxo23-Mar-12 11:58 
QuestionWPF ViewModel - Saving user Preferences Pin
Kevin Marois17-Mar-12 12:49
professionalKevin Marois17-Mar-12 12:49 
In my view model I have:

private void loadUserSettings()
{
    OptionsAreaExpanded = Properties.Settings.Default.OptionsAreaExpanded;
    ShowActiveContactsOnly = Properties.Settings.Default.ActiveContactsOnly;
}
private void saveUserSettings()
{
    Properties.Settings.Default.OptionsAreaExpanded = OptionsAreaExpanded;
    Properties.Settings.Default.ActiveContactsOnly = ShowActiveContactsOnly;
    Properties.Settings.Default.Save();
}



The loadUserSettings method is called from the CTOR. Where's the right place to call saveUserSettings from.
Everything makes sense in someone's mind

AnswerRe: WPF ViewModel - Saving user Preferences Pin
Mycroft Holmes17-Mar-12 16:01
professionalMycroft Holmes17-Mar-12 16:01 
QuestionHow To Create This Look Pin
Kevin Marois16-Mar-12 14:56
professionalKevin Marois16-Mar-12 14:56 
AnswerRe: How To Create This Look Pin
Mycroft Holmes16-Mar-12 15:12
professionalMycroft Holmes16-Mar-12 15:12 
AnswerRe: How To Create This Look Pin
Richard MacCutchan16-Mar-12 23:35
mveRichard MacCutchan16-Mar-12 23:35 
QuestionDataGrid Dynamic Data Pin
michaelgr116-Mar-12 6:03
michaelgr116-Mar-12 6:03 
QuestionTileLayout control Pin
Nitin20TechBLR15-Mar-12 19:51
Nitin20TechBLR15-Mar-12 19:51 
QuestionUsing C# dependency property in XAML Triggers Pin
Prasoon Chaudhary15-Mar-12 1:30
Prasoon Chaudhary15-Mar-12 1:30 
AnswerRe: Using C# dependency property in XAML Triggers Pin
George Nistor15-Mar-12 8:00
George Nistor15-Mar-12 8:00 
AnswerRe: Using C# dependency property in XAML Triggers Pin
Pete O'Hanlon15-Mar-12 8:35
subeditorPete O'Hanlon15-Mar-12 8:35 
GeneralRe: Using C# dependency property in XAML Triggers Pin
Prasoon Chaudhary16-Mar-12 0:38
Prasoon Chaudhary16-Mar-12 0:38 
AnswerRe: Using C# dependency property in XAML Triggers Pin
George Nistor16-Mar-12 0:29
George Nistor16-Mar-12 0:29 
GeneralRe: Using C# dependency property in XAML Triggers Pin
Prasoon Chaudhary16-Mar-12 0:40
Prasoon Chaudhary16-Mar-12 0:40 
QuestionWhat Does This Do? Pin
Kevin Marois13-Mar-12 13:53
professionalKevin Marois13-Mar-12 13:53 
AnswerRe: What Does This Do? Pin
Abhinav S14-Mar-12 21:13
Abhinav S14-Mar-12 21:13 
QuestionWhat's the best control for ..... Pin
Sutton Mehaffey13-Mar-12 12:34
Sutton Mehaffey13-Mar-12 12:34 
AnswerRe: What's the best control for ..... Pin
Pete O'Hanlon13-Mar-12 12:41
subeditorPete O'Hanlon13-Mar-12 12:41 
GeneralRe: What's the best control for ..... Pin
Sutton Mehaffey14-Mar-12 4:27
Sutton Mehaffey14-Mar-12 4:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.