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

Hot to expand radmap to full screen in silverlight

2 Answers 39 Views
Map
This is a migrated thread and some comments may be shown as answers.
Shweta
Top achievements
Rank 1
Shweta asked on 11 Jun 2011, 09:57 PM
Hi,

Can you please tell me how to expand radmap to full csreen in silverlight? Is there any property fo radMap which allows me to expand it to full screen .

Reagrds,
Shweta

2 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 15 Jun 2011, 07:49 AM
Hi Shweta,

The RadMap does not contain any property which allows to expand it to full screen.
You can use the following XAML sample code to use the full size of Silverlight application for the RadMap instance.
<UserControl x:Class="RadMapTest.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:RadMap x:Name="radMap"
                        Center="40,-100">
            <telerik:RadMap.Provider>
                <telerik:OpenStreetMapProvider />
            </telerik:RadMap.Provider>
        </telerik:RadMap>
    </Grid>
</UserControl>

Best wishes,
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
0
Brian
Top achievements
Rank 1
Iron
Iron
answered on 13 Mar 2012, 04:10 PM
You can also accomplish the same result by setting the HorizontalAlignment and VerticalAlignment to Stretch.
Tags
Map
Asked by
Shweta
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Brian
Top achievements
Rank 1
Iron
Iron
Share this question
or