Bubble tooltip window

2 posts, 0 answers
  1. Radu
    Radu avatar
    2 posts
    Member since:
    Jun 2011

    Posted 07 Jul 2011 Link to this post

    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.
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 13 Jul 2011 Link to this post

    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!

  3. DevCraft banner
Back to Top