or
Hi,
I'm having a problem with setting the RadTreeViewItem's CheckState property through the ItemContainerStyle of the RadTreeView. Specifically, I receive an error message every time I try to edit the xaml in design mode with Blend (versions 3 or 4 RC) and nothing gets rendered on the design surfice. The message is:
"The member 'CheckState' is not recognized or is not accessible."
I managed to reproduce the problem with a stripped-down version of the xaml:
| <Window x:Class="WpfApplication18.MainWindow" x:Name="Window" |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
| mc:Ignorable="d" |
| Width="640" Height="480" |
| xmlns:sys="clr-namespace:System;assembly=mscorlib"> |
| <Grid> |
| <telerikNavigation:RadTreeView IsOptionElementsEnabled="True"> |
| <telerikNavigation:RadTreeView.Items> |
| <sys:String>Item 1</sys:String> |
| <sys:String>Item 2</sys:String> |
| <sys:String>Item 3</sys:String> |
| </telerikNavigation:RadTreeView.Items> |
| <telerikNavigation:RadTreeView.ItemContainerStyle> |
| <Style TargetType="{x:Type telerikNavigation:RadTreeViewItem}"> |
| <Setter Property="CheckState" Value="On" /> <Setter Property="OptionType" Value="CheckList" /> |
| </Style> |
| </telerikNavigation:RadTreeView.ItemContainerStyle> |
| </telerikNavigation:RadTreeView> |
| </Grid> |
| </Window> |
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; }