ThumbButtonInfo.Description Property


Gets or sets the text to display for the thumbnail button tooltip.

 property System::String ^ Description { System::String ^ get(); void set(System::String ^ value); };
public string Description { get; set; }
member this.Description : string with get, set
Public Property Description As String

Property Value

The text to display for the thumbnail button tooltip. The default is an empty string.


The following example shows how to create a ThumbButtonInfo in markup. The ThumbButtonInfo is bound to the MediaCommands.Stop command. The tooltip descriptive text is Stop. This example is part of a larger example provided for the TaskbarItemInfo class.

    CommandTarget="{Binding ElementName=btnStop}"
    ImageSource="{StaticResource ResourceKey=StopImage}"/>


You can add an image to a thumbnail button, but no property exists for setting text on the thumbnail button face. However, you can set the Description property to add descriptive text that is displayed in a tooltip when the mouse pointer moves over the thumbnail button.

Applies to

See also