Intersoft.Client.UI.Controls.Interactivity Namespace > DragDropBehavior Class : TooltipText Property |
Each DragEffect comes with predefined tooltip image and text that indicates the drag action.
You can customize the tooltip by modifying the TooltipIcon and TooltipText properties as shown below.
Sample Code |
Copy Code
|
---|---|
<Border Height="116" Width="100"> <i:Interaction.Behaviors> <Intersoft:DragDropBehavior TooltipIcon="cursor_link.png" TooltipText="Link"/> </i:Interaction.Behaviors> <Grid> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Image Source="folder2.png"/> <TextBlock Grid.Row="1" Text="My Archive" HorizontalAlignment="Center"/> </Grid> </Border> |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2