DanaMPS

Binding the Path of ArcGisLocalTiledLayer

Discussion created by DanaMPS on Mar 11, 2014
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

Outcomes