DropDownList in StatusStrip

1 Answer 40 Views
DropDownList StatusStrip
Roy
Top achievements
Rank 1
Roy asked on 21 Oct 2024, 07:23 AM
Is there a simple way of making a simple DropDownList in the StatusStrip control?  (or any other menu)

Thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 23 Oct 2024, 12:18 PM

Hello, Roy,

You can add RadDropDownListElement into RadStatusStrip.Items collection. Please refer to the following documentation article: Adding Items - RadStatusBar - Telerik UI for WinForms

Then, populate the drop down list with items: Adding Items Programmatically - WinForms DropDownList Control - Telerik UI for WinForms

I prepared a sample code snippet for your reference:

RadDropDownListElement ddl = new RadDropDownListElement();
ddl.MinSize = new Size(100, 0);
ddl.Items.Add(new RadListDataItem("item 1"));
ddl.Items.Add(new RadListDataItem("item 3"));
ddl.Items.Add(new RadListDataItem("item 3"));
this.radStatusStrip1.Items.Add(ddl);

I hope this information is useful. If you have any other questions do not hesitate to contact me. 

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Roy
Top achievements
Rank 1
commented on 24 Oct 2024, 08:13 AM

Working great, Thank you so much.
Roy
Top achievements
Rank 1
commented on 24 Oct 2024, 10:22 AM | edited

.
Tags
DropDownList StatusStrip
Asked by
Roy
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or