How can I switch the appearance of only one RadPane at runtime?

0 Answers 49 Views
Docking Styling
Melanie
Top achievements
Rank 1
Melanie asked on 06 Dec 2022, 02:03 PM

Hello,

in my Docking-Control, I want to highlight one specific RadPane at runtime (everywhere - un/pinned, floating, etc.).
I want only this RadPane to use different colors, than the others.

I was able to set the appreance for all of them, but not for a specific one.

How can I achieve the desired behaviour?

Stenly
Telerik team
commented on 09 Dec 2022, 11:44 AM

In order to provide a bit more scenario-specific answer, would it be possible to share how the RadPane elements are created?

Generally, to apply it specifically to one RadPane element only, you could retrieve it and set the custom style to its Style property.

<telerik:RadPane Header="1">
    <telerik:RadPane.Style>
        <Style TargetType="telerik:RadPane">
            <!--Set the desired properties-->
        </Style>
    </telerik:RadPane.Style>
</telerik:RadPane>

No answers yet. Maybe you can help?

Tags
Docking Styling
Asked by
Melanie
Top achievements
Rank 1
Share this question
or