This is a migrated thread and some comments may be shown as answers.

Bubble tooltip window

1 Answer 61 Views
Window
This is a migrated thread and some comments may be shown as answers.
Radu
Top achievements
Rank 1
Radu asked on 07 Jul 2011, 08:46 AM
Hello, I need to show a tooltip for the user in a bubble window (like you use to show that there is an updated version of Telerik controls in Visual Studio).
Is there a way to accomplish it?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 13 Jul 2011, 06:47 AM
Hi Radu,

You need well designed XAML and no RadControls. Click on the following button to see the bubble open:

<ToggleButton x:Name="ToggleButton" Width="22" Height="22">
    <Popup IsOpen="{Binding ElementName=ToggleButton, Path=IsChecked, Mode=TwoWay}" HorizontalOffset="-15" VerticalOffset="0">
        <Grid>
            <Border BorderBrush="Orange" Background="Yellow" Padding="15" CornerRadius="15" Margin="0 15 0 0" BorderThickness="1">
                <TextBlock Text="Bubble window" />
            </Border>
            <Path HorizontalAlignment="Left" VerticalAlignment="Top" Width="16" Height="16" Data="M0,16 L0,0 16,16" Stretch="None" Stroke="Orange" Fill="Yellow" StrokeThickness="1" Margin="16 0 0 0" />
        </Grid>
    </Popup>
</ToggleButton>
Note you can set the IsOpen in code behind and do not use a button.

Regards,
Pana
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Window
Asked by
Radu
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or