How to add TextBox controls to the Menu control?

3 posts, 1 answers
  1. xu jundong
    xu jundong avatar
    20 posts
    Member since:
    Jan 2010

    Posted 03 Mar 2010 Link to this post

    Hi,Telerik.

    I need your help!

    I want to add some other controls ( like TextBox, ComboBox)  to the Menu control.
    Is there any way to accomplish it?

    Thank you!
  2. Answer
    Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 04 Mar 2010 Link to this post

    Hi xu jundong,

    RadMenuItem Header property is of type Object so you can place everything there.
    Here is an example:
    <telerik:RadMenu>
       <telerik:RadMenuItem>
          <telerik:RadMenuItem.Header>
             <TextBox Text="Some Text Here." />
          </telerik:RadMenuItem.Header>
       </telerik:RadMenuItem>
    </telerik:RadMenu>

    Let us know if you need more information.

    Greetings,
    Hristo
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WPF is Visual Studio 2017 Ready
  4. xu jundong
    xu jundong avatar
    20 posts
    Member since:
    Jan 2010

    Posted 05 Mar 2010 Link to this post

    Thank you,Hristo!
Back to Top