or
TreeListViewRow
ltvrNode = e.Row as TreeListViewRow;

<telerik:MapPolygon Points="56,-100 56,-108 48,-108 48,-100" Fill="Green" Stroke="Red" StrokeThickness="4" CaptionLocation="52,-104"> <telerik:MapPolygon.CaptionTemplate> <DataTemplate> <Grid Background="Yellow"> <telerik:MapLayer.HotSpot="0.50.5"> <TextBlock Text="My Custom Text" /> </Grid> </DataTemplate> </telerik:MapPolygon.CaptionTemplate> </telerik:MapPolygon>MapPolygon CreatePolygon(IEnumerable<Location> points, string areaName) { var polygon = new MapPolygon(); polygon.Points = this.pins.Points; polygon.ToolTip = areaName; // also I want to set the area name over the MapPolygon return polygon; }public class StringFilteringControl : FilteringControl{ public override void Prepare(GridViewBoundColumnBase column) { base.Prepare(column); // <-- This fires OnCollectionChanged if actions are removed
var vm = this.DataContext as FilteringViewModel; if (vm != null) { vm.AvailableActions.Remove(FilterOperator.IsContainedIn); vm.AvailableActions.Remove(FilterOperator.IsNotContainedIn); } }}