CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2012

    Allow user customizing styles of WPF controls and retaining them

    Hi there, in my app, I want to allow user to change the style of the individual WPF element, say Button, Label etc and when it is changed, the app should show the modified style for that element. Additionally, I want to load these modifiable elements as the user chooses to modify.
    For eg. consider there is a listbox listing all the style modifiable UI elements.

    When user selects MyStyleButton, the app should show the button with last customized style. Then the user should be able to customize the look and feel say color using the color picker.

    When the user opens the app next time, he should see the changes color.

    The same can be though of if the user selects say MyStyleLabel from listbox, and changes the porperty say Font. So how should I load the desired Label, how should I store the changed style values?

    Also how can I load those customization UI, like ColorPicker given say I have stored "Color" in the Tag property of the button and "Font" for label.

    Please help. I have started learning WPF. So I am not a Pro in WPF, but good at C#.NET, ASP.NET and ADO.NET. I didnt got reply on msdn. I am in hurry for project. So pleaseeeeeeee help. Thank you.

  2. #2
    Join Date
    Mar 2012

    Re: Allow user customizing styles of WPF controls and retaining them

    Some small direction also appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.