| <Grid.Resources> |
| <SolidColorBrush x:Key="CustomBrush" Color="#FF4ED843" /> |
| <SolidColorBrush x:Key="CustomBrush2" Color="#FFFF9393" /> |
| <TelerikCharting:StylesPalette x:Key="{TelerikControls:ThemeResourceKey ElementType={x:Type TelerikCharting:ChartArea}, ResourceId={x:Static TelerikCharting:ResourceHelper.ResourceKeyRadialStyle}, ThemeType={x:Type TelerikControls:Office_BlackTheme}}"> |
| <Style TargetType="{x:Type Shape}"> |
| <Setter Property="Stroke" Value="Gray" /> |
| <Setter Property="StrokeThickness" Value="1" /> |
| <Setter Property="Fill" Value="{DynamicResource CustomBrush}" /> |
| </Style> |
| <Style TargetType="{x:Type Shape}"> |
| <Setter Property="Stroke" Value="Gray" /> |
| <Setter Property="StrokeThickness" Value="1" /> |
| <Setter Property="Fill" Value="{DynamicResource CustomBrush2}" /> |
| </Style> |
| </TelerikCharting:StylesPalette> |
| </Grid.Resources> |

<Grid>
<Grid.Background>
<RadialGradientBrush>
<GradientStop Color="#FF3A7198" Offset="0.982"/>
<GradientStop Color="#FF365D7A" Offset="0.029"/>
</RadialGradientBrush>
</Grid.Background>
<telerikNavigation:RadPanelBar VerticalAlignment="Stretch" x:Name="radPanelBar" Background="Transparent">
<telerikNavigation:RadPanelBarItem>
<telerikNavigation:RadPanelBarItem.Header>
<TextBlock Text="Workflow Templates" Margin="5 4 5 5" />
</telerikNavigation:RadPanelBarItem.Header>
<ListBox x:Name="lstWorkFlowTemplates"
SelectionChanged="lstTemplates_SelectionChanged"
Background="Transparent"
BorderThickness="0"
IsSynchronizedWithCurrentItem="True"/>
</telerikNavigation:RadPanelBarItem>
<telerikNavigation:RadPanelBarItem>
<telerikNavigation:RadPanelBarItem.Header>
<TextBlock Text="Column Templates" Margin="5 4 5 5" />
</telerikNavigation:RadPanelBarItem.Header>
<ListBox x:Name="lstTemplates"
SelectionChanged="lstTemplates_SelectionChanged"
Background="Transparent"
BorderThickness="0"
IsSynchronizedWithCurrentItem="True"/>
</telerikNavigation:RadPanelBarItem>
</telerikNavigation:RadPanelBar>
</Grid>
Hai
am using telerik wpf grid
in grid selection change event am getting the selected row values. the problem is the values are as object.
object myData = radGridView.SelectedItem;
the object myData contains the row values. but i don know how to get values from the myData object
here is my sample
http://cid-08ec3041618e8ee4.skydrive.live.com/self.aspx/.SharedFavorites/wpfgridview.rar