Skip to main content

RibbonButtonBase.ToolTipDescription Property

Gets or sets the ribbon button’s tooltip description text that is displayed under the ToolTipTitle. This is a dependency property.

Namespace: DevExpress.WinUI.Ribbon

Assembly: DevExpress.WinUI.Ribbon.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(null, Handler = "OnToolTipChanged")]
public string ToolTipDescription { get; set; }

Property Value

Type Description
String

The ribbon button’s tooltip description text.

Remarks

The ToolTipDescription and the ToolTipTitle are not displayed when the tooltip is specified with the ToolTip property.

Use the ToolTipDescription property to specify the tooltip’s second line of text:

<Window ... 
    xmlns:dxr="using:DevExpress.WinUI.Ribbon">
    <Grid>
        <dxr:RibbonControl>
            <dxr:RibbonControl.Tabs>
              <dxr:RibbonTab Caption="Home" >
                  <dxr:RibbonGroup Caption="Clipboard">
                      <dxr:RibbonButton Content="Copy" ToolTipTitle="Copy"
                                        ToolTipDescription="Copy the selection and put it on the Clipboard." >
                      </dxr:RibbonButton>
                      <!-- ... -->
                  </dxr:RibbonGroup>
              </dxr:RibbonTab>
            </dxr:RibbonControl.Tabs>
        </dxr:RibbonControl>
        <!-- ... -->
    </Grid>
</Window>

WinUI RibbonControl - Tooltip Description

See Also