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

Issue in RadPanel with border

3 Answers 346 Views
Panel
This is a migrated thread and some comments may be shown as answers.
Piyush Bhatt
Top achievements
Rank 2
Piyush Bhatt asked on 10 Oct 2014, 11:23 AM
Hi Team,

We are creating theme for our windows application so far we got most of 
controls to work as our requirement but now we are facing some issue for
every dropdown.

We are facing issue with very light transparent border on top and left side of panel. even if we set transprent border, opacity 0 , width 0, shouldpaint as false
but still we face this issue.

please check attached image with this post.
check inside black box it has very light and transprent border on top and left side of panel.


Thank You,

Piyush                 

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 15 Oct 2014, 07:42 AM
Hello Piyush,

Thank you for writing.

According to the provided screenshots it seems that the PanelElement.PanelBorder.BoxStyle property is set to BorderBoxStyle.FourBorders and the LeftShadowColor and TopShadowColor are different than transparent. It is necessary to either set the PanelElement.PanelBorder.BoxStyle property to BorderBoxStyle.SingleBorder and set the PanelElement.PanelBorder.Width property to 0 in order to hide the border, or to specify the LeftShadowColor and TopShadowColor to transparent.

I hope this information helps. Should you have further questions, I would be glad to help.

Regards,
Desislava
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 08 Jun 2020, 10:19 PM

My tip:

PanelElement.PanelBorder.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

 

#jefferson2020

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Jun 2020, 06:21 AM

Hi, Jeff,

Thank you for sharing your tip with the community.

Indeed, hiding the entire border primitive is also a suitable approach for this case.

It can be done either programmatically at run time or via the theme in Visual Style Builder.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Panel
Asked by
Piyush Bhatt
Top achievements
Rank 2
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
Share this question
or