2

enter image description here

I am new to WPF. I want to create a dropdown menu similar to this image. I am not getting from which control should I start the implementation of ControlTemplate.

I guess It is a Hyperlink with a ContextMenu.

5
  • @RaviKavaiya: yes It can atleast let me started. Please share your suggestions. FYI, this image is taken from Twitter. Commented May 27, 2013 at 5:44
  • do you useing html jquery or css? Commented May 27, 2013 at 5:50
  • @RaviKavaiya : You didn't get my question properly. I am using WPF. I need xaml code. Commented May 27, 2013 at 5:54
  • 1
    Man, I hate when web applications do this. It's so inconvenient and difficult to use. I always chalk it up to a limitation of the platform. Now you're going to start doing it in a desktop app where better alternatives exist? Ugh. Commented May 27, 2013 at 9:44
  • @CodyGray: Ya you are right, But all we need is to satify customer. Commented May 27, 2013 at 9:48

1 Answer 1

2

WPF Popup control is exactly what you are looking for:

<Popup Name="myPopup" IsOpen="True">
    <Label Name="myLabel" Content="Language: English" 
          Background="Black" Foreground="White"/>
    <...other controls you like.../>
</Popup>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.