Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 993145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:22:27+00:00 2026-05-16T06:22:27+00:00

I have been playing with the new Microsoft Ribbon for WPF and looking at

  • 0

I have been playing with the new Microsoft Ribbon for WPF and looking at the tutorials published in the WPF Team Blog. The tutorial for extended tool tips shows this screen shot:

Extended tool tip screen shot http://blogs.msdn.com/resized-image.ashx/__size/800×0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-38-64/0871.Post6-_2D00_-Rich-RibbonToolTips.png

Unfortunately, the tutorial doesn’t show the markup to create that tool tip.

I’ve got a couple of questions about the screen shot that I am hoping someone can help me with:

  • How do I embed a paragraph break in the tool tip, like they did in the screen shot?
  • How do I assign a Control-key shortcut to a RibbonButton?

As to the second question, I can see how they embedded the ‘(Ctrl+Shift+C)’ in the tool tip–I’m guessing thay just made it part of the ToolTipTitle. What I am trying to figure out is how to assign the Ctrl-key combo to trigger the button press.

Thanks for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T06:22:28+00:00Added an answer on May 16, 2026 at 6:22 am

    Found my answers–actually turned out to be pretty simple.

    First question: How to embed newlines? Simply embed a 
 character where the newline should appear:

    ToolTipDescription="Makes the Note List View active.

Use the Note List View to browse Notes and to search for them by Tags."
    

    Second question: How to assign a Control-key combination? In WPF, we don’t assign a control-key to a control. Instead, we create an <InputBindings> tag and add our control keys to that tag. We assign each control-key to the same ICommand as the control that it is assigned to. For example, here is a set of input bindings for three different buttons in a Ribbon control:

    <!-- Control-key shortcuts -->
    <ribbon:RibbonWindow.InputBindings>
        <KeyBinding Command="{Binding NewNote}" Key="A" Modifiers="Ctrl"/>
        <KeyBinding Command="{Binding DeleteNote}" Key="D" Modifiers="Ctrl"/>
        <KeyBinding Command="{Binding SetNoteTags}" Key="T" Modifiers="Ctrl"/>
    </ribbon:RibbonWindow.InputBindings>
    

    These input bindings aren’t defined in the Ribbon control. Instead, they are defined at the window level–I put mine just after the <Window.Resources> tag. To the user, they appears the same as if they had been assigned to the Ribbon control.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to WPF. I have been been playing around with binding data to
I have been playing with Wordpress and jQuery - both new to me. The
I have been playing around with Bundle.putStringArrayList ArrayList<String> myArrayList = new ArrayList<String>(); ArrayList<String> keys
New to SO and javascript. I have been playing with JQuery for a couple
I'm new to html5 and have been playing around with the canvas. I'm wondering
I have been playing around with the WPF GridView control (DesktopUI not Silverlight) and
I have been playing around with ElasticSearch for a new project of mine. I
Im new to jQuery and have been researching and playing with it as much
I am new to ajax and have been playing with the extenders. I have
I am new to python and have been playing around with it for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.