How to expand RadMap to full screen

2 posts, 0 answers
  1. Shweta
    Shweta avatar
    17 posts
    Member since:
    Feb 2011

    Posted 15 Jun 2011 Link to this post

    Hi ,

    Can you let me now how to expand radmap to full screen on butotn click.

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 17 Jun 2011 Link to this post

    Hello Shweta,

    You can switch the application to full screen mode using standard Silverlight approach.
    The sample code is below.
    <UserControl x:Class="RadMapTest.MainPage"
        d:DesignHeight="300" d:DesignWidth="400">
        <Grid x:Name="LayoutRoot" Background="White">
            <telerik:RadMap x:Name="radMap"
                    <telerik:OpenStreetMapProvider />
            <Button VerticalAlignment="Top" HorizontalAlignment="Right" Width="150" Height="25" Content="Toggle Full Screen" Click="ToggleFullScreen" />
    private void ToggleFullScreen(object sender, RoutedEventArgs e)
        Application.Current.Host.Content.IsFullScreen = !Application.Current.Host.Content.IsFullScreen;

    All the best,
    Andrey Murzov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top