Persisted State Control

Quality Band - Preview
Status - In Use

About

Non visual control to maintain the users state between sessions. Uses the Isolated Storage in Silverlight to store a serialized object contain view and mode values.

Usage

Bing Maps example:
XAML:
<UserControl x:Class="ExampleControlBing.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:m="clr-namespace:Microsoft.VirtualEarth.MapControl;assembly=Microsoft.VirtualEarth.MapControl" 
    xmlns:p="clr-namespace:DeepEarth.Client.Controls.PersistedState.BingMaps;assembly=DeepEarth.Client.Controls.PersistedState.BingMaps">
    <Grid x:Name="LayoutRoot" Background="White">
        <m:Map x:Name="map" ScaleVisibility="Collapsed" NavigationVisibility="Collapsed" />
        <p:PersistedState MapName="map"></p:PersistedState>
    </Grid>
</UserControl>


Reference:
  • DeepEarth.Client.Common.dll
  • DeepEarth.Client.Controls.PersistedState.dll
  • Microsoft.VirtualEarth.MapControl.dll
  • DeepEarth.Client.BingMaps.dll
  • DeepEarth.Client.Controls.PersistedState.BingMaps.dll
  • GeoAPI.dll
  • NetTopologySuite.dll

Full Blend support, simply add these DLLs, then the control appears in your toolbox, drop on the page. You must set the "MapName" to the x:Name of your map control. There is no UI.

Developers

soulsolutions

Roadmap

Version Feature Date
0.1 Initial Architecture 09/07/2009
0.1 Bing Maps support 09/07/2009
0.2 Moved to Preview 09/07/2009
1.0 DEMap support tba

Last edited Jul 9, 2009 at 3:02 AM by soulsolutions, version 2

Comments

No comments yet.