Articles in this section

How to change the background and text color of tooltip?

You can change the background and text color of tooltip using the following code example.

XAML

<ControlTemplate x:Key="CustomToolTip">
            <StackPanel Orientation="Horizontal" Background="Red">
                <TextBlock Text="Measure:"/>
                <TextBlock Text="{Binding currSegment.DataPoint.X }" FontStyle="Italic" />
            <TextBlock Text="Volume:"/>
                <TextBlock Text="{Binding currSegment.DataPoint.Y}" />
            </StackPanel>
 </ControlTemplate>

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied