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

Ribbon StartButton menu

8 Answers 138 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Ammar
Top achievements
Rank 1
Ammar asked on 13 May 2015, 02:28 PM

there are white space on the right side, how i can hide or remove it ??

second issue am sure the ribbon bar have hide button not minimize but i can't find it any one here can help me ?? 

8 Answers, 1 is accepted

Sort by
0
Ammar
Top achievements
Rank 1
answered on 13 May 2015, 02:34 PM
hi there by chance i find propertie ShowExpandButton for second issue its work fine this is what i want but still white space i cant find sol. 
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 13 May 2015, 02:59 PM
Hello Ammar,

Thank you for writing.

I suppose that this question is also related to the application menu. Here is a sample code snippet demonstrating how to reduce the white space on the right side:
RadApplicationMenuDropDown dd = this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DropDownMenu as RadApplicationMenuDropDown;
RadApplicationMenuDropDownElement el = dd.PopupElement as RadApplicationMenuDropDownElement;
el.RightColumnWidth = 1;

However, if it is not the case,would it possible to provide a screenshot of the undesired white space which is shown in the RadRibbonBar? Thus, we would be able to understand the exact requirement and assist you further. 

I am looking forward to your reply.

Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ammar
Top achievements
Rank 1
answered on 13 May 2015, 03:18 PM
Ok thanks for your time I will try your code as soon as possible.
0
Ammar
Top achievements
Rank 1
answered on 14 May 2015, 06:17 AM

bro. your code like StartMenuWidth in properties window so this is not what I want

i want remove not reduce, like this menu in pic,,

0
Ammar
Top achievements
Rank 1
answered on 14 May 2015, 06:19 AM
pic..
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 18 May 2015, 11:11 AM
Hello Ammar ,

Thank you for writing back.

You can set the StartMenuWidth property to 1 in order to simulate it is hidden:
this.radRibbonBar1.StartMenuWidth = 1;
RadApplicationMenuDropDown dd = this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DropDownMenu as RadApplicationMenuDropDown;
RadApplicationMenuDropDownElement el = dd.PopupElement as RadApplicationMenuDropDownElement;
el.TopRightContentElement.Border.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
el.ContentElement.Border.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

I hope this information helps. If you have any additional questions, please let me know.

Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ammar
Top achievements
Rank 1
answered on 18 May 2015, 11:52 AM

Ok Dear 

it work fine 

 but i have other sol.

Me.RadRibbonBar1.RibbonBar1Element.ApllicationButtonElement.ShowTwoColumnDropDownMenu=False

 

also i want menu design from up like down you can tell me how ??

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 20 May 2015, 10:02 AM
Hello Ammar,

Thank you for writing back.

Indeed, another appropriate solution is to use the ApllicationButtonElement.ShowTwoColumnDropDownMenu property. As to the question at hand I am not sure that I understand completely your requirement. Could you please give us some more details about the exact goal that you are trying to achieve?

I am looking forward to your reply.

Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
RibbonBar
Asked by
Ammar
Top achievements
Rank 1
Answers by
Ammar
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or