Binding the Path of ArcGisLocalTiledLayer

313
0
03-11-2014 05:48 AM
Highlighted
New Contributor
Hi
I want to define the Path proprety of ArcGisLocalTiledLayer in XAML in this form:

<esri:ArcGisLocalTiledLayer  ID="MyMapLayer" Path="{Binding Path=MapName"}
....

In code behind:


public string MapName
{
get {return m_mapName;}
set
{
m_mapName=value;NotifyPropretyChanged("MapName")

}
}


in constructor:

DataContext=this;
MapName=Propreties.Settings.Default.MapName;
InitializeComponent();
.....




In this point the PropretyChanged event of NotifyPropretyChanged is null.

How I can do this ?

Thanks

Dana
Reply
0 Kudos
0 Replies