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

Add RadSeparator-like control for BackStage

2 Answers 91 Views
New Product Suggestions
This is a migrated thread and some comments may be shown as answers.
Curtis
Top achievements
Rank 1
Iron
Iron
Veteran
Curtis asked on 20 Jul 2017, 04:18 AM

I realize we cannot add a RadSeparator to the RadRibbonBarBackStageView currently (it's not a RadItem) but there really should be some kind of "Separator" for the navigation (we have separators for every other navigational elements: ribbons, groups, menus.)

 

I also realize that earlier versions of the Office Backstage did not include a Separator however, all of the newer versions do so no harm in allowing someone to select "Windows 7" as their theme and still allow this, is there?

 

Adjustable Properties should be (IMHO)

   EdgeWidth - this is how close to either edge the line will be drawn (there's no reason the line has to go 100% across)

   LineHeight - in pixels how thick to draw the line.  set limits at something reasonable like 1-10

   LineColor - obvious

   Height - users should be allowed to adjust how tall/short the separator is.  This is not to be confused with LineHeight.  This is the total height of the control whereas LineHeight is just the line being drawn.

 

The attached image shows what I came up with in my ap - I got a little fancy with the line itself by allowing a leading and trailing linear gradient and my usercontrol lets me select the length of the gradiation but no need to go totally cray cray.

 

Anyway just my two cents :)

-C

 

2 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 20 Jul 2017, 09:16 AM
Hi Curtis,

You can use RadMenuSeparatorItem. For example:
var separator = new RadMenuSeparatorItem();
separator.LineWidth = 10;
separator.BackColor = Color.Red;
 
this.radRibbonBarBackstageView1.Items.Insert(1, separator);

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Curtis
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 20 Jul 2017, 06:07 PM

Dimitar, that is absolutely perfect!  Thank you :)

-C

 

Tags
New Product Suggestions
Asked by
Curtis
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Dimitar
Telerik team
Curtis
Top achievements
Rank 1
Iron
Iron
Veteran
Share this question
or