Please show the proper use of SettingsPane.SettingsPaneViewStyle property.
Setting this property appears to do nothing.
Following http://www.telerik.com/help/wpf/raddiagram-extensions-settingspane.html 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.
http://www.telerik.com/community/forums/wpf/diagram/adding-my-own-properties-into-settingspane-of-raddiagram-on-selection-of-shape.aspx
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}">
Mike
Setting this property appears to do nothing.
Following http://www.telerik.com/help/wpf/raddiagram-extensions-settingspane.html 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.
http://www.telerik.com/community/forums/wpf/diagram/adding-my-own-properties-into-settingspane-of-raddiagram-on-selection-of-shape.aspx
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}">
Mike