Hi Prakash,
The InformationLayer is the ItemsControl. Similar to any other Silverlight items controls it allows to show your business data using custom representation. You can customize presentation of your business data using item templates. For example:
public
class
PointOfInterest : INotifyPropertyChanged
{
public
event
PropertyChangedEventHandler PropertyChanged;
private
Location location;
private
string
title;
private
string
description;
private
HotSpot hotSpot;
private
Brush background;
private
Brush borderBrush;
private
Thickness borderThickness;
public
Location Location
{
get
{
return
this
.location;
}
set
{
this
.location = value;
this
.NotifyPropertyChanged(
"Location"
);
}
}
public
string
Title
{
get
{
return
this
.title;
}
set
{
this
.title = value;
this
.NotifyPropertyChanged(
"Title"
);
}
}
public
string
Description
{
get
{
return
this
.description;
}
set
{
this
.description = value;
this
.NotifyPropertyChanged(
"Description"
);
}
}
public
HotSpot HotSpot
{
get
{
return
this
.hotSpot;
}
set
{
this
.hotSpot = value;
this
.NotifyPropertyChanged(
"HotSpot"
);
}
}
public
Brush Background
{
get
{
return
this
.background;
}
set
{
this
.background = value;
this
.NotifyPropertyChanged(
"Background"
);
}
}
public
Brush BorderBrush
{
get
{
return
this
.borderBrush;
}
set
{
this
.borderBrush = value;
this
.NotifyPropertyChanged(
"BorderBrush"
);
}
}
public
Thickness BorderThickness
{
get
{
return
this
.borderThickness;
}
set
{
this
.borderThickness = value;
this
.NotifyPropertyChanged(
"BorderThickness"
);
}
}
protected
void
NotifyPropertyChanged(
string
propertyName)
{
if
(
this
.PropertyChanged !=
null
)
{
this
.PropertyChanged(
this
,
new
PropertyChangedEventArgs(propertyName));
}
}
}
Greetings,
Andrey Murzov
the Telerik team