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

Losing custom styles when floating panes

2 Answers 93 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 27 Jul 2010, 11:49 AM
Hi

We are having a similar problem to a previous post - we have created and applied custom styles to RadPanes and RadPaneGroups, but when as soon as they are floated out of their intial positions, they lose their custom styles and are rest to the defaults.

I've attached 3 screenshots that show the problem. In the first one, the pane docked to the right has a custom style applied to it. When it is both floated out in 2 and re-docked in 3, it has lost its custom style. (I have a sample project, but couldn't attach it as it wants an image only, let me know where to send it and I can forward it. )

I have tried intercepting all the events to see if the style can be programmatically applied as you float out the window, and can't see how it is possible. The ElementLoaded event isn't fired when the panes are floated, as was suggested in an earlier post. i have output all the dock controls events to a listbox as they are raised, and it doesn't fire.

We are using Silverlight 3, Telerik.Windows.Controls.Docking version: 2010.1.309.1030

Thanks, Sam

2 Answers, 1 is accepted

Sort by
0
Sam
Top achievements
Rank 1
answered on 27 Jul 2010, 02:09 PM
Ah ok, I get it, use theming?

http://www.telerik.com/help/silverlight/raddocking-theming-overview.html
0
Konstantina
Telerik team
answered on 28 Jul 2010, 10:02 AM
Hi Sam,

We are glad that you have found a solution by yourself.

You are right, you have to use a custom theme for the Docking control to keep the desired styles of the Panes.

If you need further assistance please let us know.

Greetings,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
Sam
Top achievements
Rank 1
Answers by
Sam
Top achievements
Rank 1
Konstantina
Telerik team
Share this question
or