Back to Devexpress

DxDropDownButtonBase.Tooltip Property

blazor-devexpress-dot-blazor-dot-dxdropdownbuttonbase-c0fd67ec.md

latest2.3 KB
Original Source

DxDropDownButtonBase.Tooltip Property

Specifies a button’s tooltip text.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(null)]
[Parameter]
public string Tooltip { get; set; }

Property Value

TypeDefaultDescription
Stringnull

The tooltip text

|

Remarks

Use the Tooltip property to specify tooltip text for the following components:

DxDropDownButtonA toggleable button that reveals a drop-down element with a list of commands or custom content.DxSplitButtonA composite control that consists of a primary button and a toggleable secondary button that reveals a drop-down element.DxDropDownButtonItemDefines a drop-down list item. Used in DxDropDownButton or DxSplitButton.

The following code snippet assigns tooltips to the DxDropDownButton component and its nested items:

razor
<DxDropDownButton Text="Blazor Components"
                  RenderStyleMode="ButtonRenderStyleMode.Outline"
                  Tooltip="Click to see possible options">
    <Items>
        <DxDropDownButtonItem Text="Documentation"
                              NavigateUrl="https://docs.devexpress.com/Blazor/400725/blazor-components"
                              Tooltip="This item contains a link" />
        <DxDropDownButtonItem Text="Demos"
                              NavigateUrl="https://demos.devexpress.com/blazor/"
                              Tooltip="This item contains a link" />
    </Items>
</DxDropDownButton>

See Also

DxDropDownButtonBase Class

DxDropDownButtonBase Members

DevExpress.Blazor Namespace