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

Border & backgroundcolor RadScrollablePanel

1 Answer 140 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marcus
Top achievements
Rank 1
Marcus asked on 04 Aug 2011, 10:02 AM
I'm using the RadScrollablePanel in a DocumentWindow to have themable scrollbars when the content doesn't fit. Afaik the scrollbars of the DocumentWindow aren't themeable (yet).

  Is it possible to have the panel to be "invisible", that is: disable border and backgroundcolor equal to the background color of the DocumentWindow?

1 Answer, 1 is accepted

Sort by
0
Boryana
Telerik team
answered on 08 Aug 2011, 03:47 PM
Hi Guus,

Thank you for contacting us.

As you already mentioned the scrollbars of RadDock's DocumentWindow currently cannot be themed.

Using a RadScrollablePanel docked in the DocumentWindow would probably be the easiest workaround. To hide its border and fill please use the following lines of code:

this.radScrollablePanel1.PanelElement.Border.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
this.radScrollablePanel1.BackColor = Color.Transparent;
I hope you find my answer useful. Let me know if you have further queries.

Greetings,
Boryana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
Marcus
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Share this question
or