2 posts, 0 answers
  1. Mike
    Mike avatar
    13 posts
    Member since:
    Dec 2010

    Posted 01 Aug 2013 Link to this post

    Please show the proper use of SettingsPane.SettingsPaneViewStyle property.

    Setting this property appears to do nothing.

    Following I edited the control template of SettingsPaneView.  Setting the SettingsPaneViewStyle property to this new resource does nothing.  A bit frustrating since I was following the documentation.

    Searching the forums I found this thread which contains a download from Zarko showing how to edit the SettingsPaneView control template.

    In addition to editing the SettingsPaneView control template, his example also edits the SettingsPane template to hard code the use of the modified SettingsPaneView control template.  That's a small piece of very important information that has been left out of your documentation.

    The apparently defunct SettingsPane.SettingsPaneViewStyle property either needs to be implemented or removed.

    Yeah, I just edited the default SettingsPane control template and it does not contain a template biding to set the SettingsPaneView Style.  Here's the fix:

    <telerik:SettingsPaneView x:Name="SettingsPaneView" ContextItems="{x:Null}" Diagram="{TemplateBinding Diagram}" 
    Height="{TemplateBinding SettingsPaneViewHeight}" IsActive="{Binding IsActive, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" 
    Margin="7,0,0,0" Width="{TemplateBinding SettingsPaneViewWidth}"
    Style="{TemplateBinding SettingsPaneViewStyle}">

  2. Petar Mladenov
    Petar Mladenov avatar
    2991 posts

    Posted 06 Aug 2013 Link to this post

    Hello Mike,

     We understand your frustration. This property does not work currently and we logged this as a bug, we will consider mark this property obsolete, directly delete it or make it work. Currently, since Q2 2013, in order to apply a customized SettingsPaneview ControlTemplate, you have to use an implicit Style (with no x-key) targeting the SettingsPaneView - just like it is demonstrated in the GitHub Solution.
    Please excuse us for the inconvenience caused.

    Petar Mladenov
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top