<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Display Discription and Macro Command on ribbon in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/display-discription-and-macro-command-on-ribbon/m-p/4935922#M44613</link>
    <description>&lt;P&gt;Look into RibbonToolTip object. The code would be like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RibbonToolTip tip=new RibbonToolTip();&lt;/P&gt;
&lt;P&gt;tip.Title="My Command";&lt;/P&gt;
&lt;P&gt;tip.Content="Do something wonderful";&lt;/P&gt;
&lt;P&gt;tip.Command="MyCmd";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;storetree.ToolTip=tip;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2014 16:20:44 GMT</pubDate>
    <dc:creator>norman.yuan</dc:creator>
    <dc:date>2014-04-04T16:20:44Z</dc:date>
    <item>
      <title>Display Discription and Macro Command on ribbon</title>
      <link>https://forums.autodesk.com/t5/net-forum/display-discription-and-macro-command-on-ribbon/m-p/4935692#M44612</link>
      <description>&lt;P&gt;Would somone be able to tell me how i can add a discription to my button so i can give a discription when somone hovers over it and also say what macro it is going to run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my button at the moment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim storetree As New RibbonButton()
            storetree.Text = "Store"
            storetree.ToolTip = "Store"
            storetree.ShowText = True
            storetree.ShowImage = True
            storetree.Image = Images.getBitmap(My.Resources.Store)
            storetree.LargeImage = Images.getBitmap(My.Resources.Store_L)
            storetree.Orientation = System.Windows.Controls.Orientation.Vertical
            storetree.Size = RibbonItemSize.Large
            storetree.CommandHandler = New RibbonCommandHandler()
            storetree.Id = "_Storetree"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 15:17:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/display-discription-and-macro-command-on-ribbon/m-p/4935692#M44612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-04T15:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Display Discription and Macro Command on ribbon</title>
      <link>https://forums.autodesk.com/t5/net-forum/display-discription-and-macro-command-on-ribbon/m-p/4935922#M44613</link>
      <description>&lt;P&gt;Look into RibbonToolTip object. The code would be like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RibbonToolTip tip=new RibbonToolTip();&lt;/P&gt;
&lt;P&gt;tip.Title="My Command";&lt;/P&gt;
&lt;P&gt;tip.Content="Do something wonderful";&lt;/P&gt;
&lt;P&gt;tip.Command="MyCmd";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;storetree.ToolTip=tip;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 16:20:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/display-discription-and-macro-command-on-ribbon/m-p/4935922#M44613</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2014-04-04T16:20:44Z</dc:date>
    </item>
  </channel>
</rss>

