Round Panel Edges to Cutted Edges

0
0

Hi There,
i´m trying to solve this issue.
i have 3 Diffrent Panels.
First one are docking on the top site.
second one are docking left and the third one is docking full size.
For showing thre are 3 diffrent Backcolours.
The Panels have small rounded edges but i want them cuttes like a normal rectangle.

Is there any way for it?

Thanks and Best Regrads
Luca

  • You must to post comments
0
0

Hi Frank,
your solution works wonderfull!
Thanks For!

Best regards!
Luca

  • You must to post comments
1
0

Hi Luca,

please find attached modified test project that shows how to change the rounded edges in 3 ways:

  • by code (uncomment the line in program.cs)
  • by theme mixin for all panels
  • by theme mixin for all panels with AppearanceKey (myPanel) – need to be set in the designer or at runtime

rounded1

 

 

 

 

 

 

rounded2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best regards
Frank

 

  • You must to post comments
0
0

Hi Frank,
I delete obj and bin Folder so i´m allowed to upload the hole Project.
Big Thanks!

Attachment
  • You must to post comments
0
0

Hi Luca,

please provide us with a full compilable test case (without OBJ/BIN and any license key), not just single files.
With the files you sent we don’t see which theme you’re using etc.

In general you could define a new AppearanceKey for Panels that should use non rounded edges or you could change it globally.
Both is possible through a Theme Mixin.

Best regards
Frank

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.