or
<LinearGradientBrush x:Key="GridViewRowSelectedBackground" EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FFFFCA5D" Offset="1"/> <GradientStop Color="#FFFFDC9C" Offset="0"/></LinearGradientBrush> <Style x:Key="Form_Style" TargetType="Border" > <Setter Property="BorderBrush" Value="White" /> <Setter Property="BorderThickness" Value="2" /> <Setter Property="Padding" Value="1" /> <Setter Property="Margin" Value="1" /> <Setter Property="CornerRadius" Value="5"/> <Setter Property="Background" Value="{StaticResource Form_Background}" /> <Style.Triggers> <Trigger Property="IsKeyboardFocusWithin" Value="True" > <Setter Property="Background" Value="{StaticResource GridViewRowSelectedBackground}" /> </Trigger> </Style.Triggers></Style><Window x:Class="WpfApplication1.Window1" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls" Title="Window1" Height="300" Width="300"> <WrapPanel Orientation="Vertical"> <Border telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True"> <telerik:RadChart x:Name="RadChart1" ItemsSource="{Binding StaticResource Umsatzdaten}" VerticalContentAlignment="Top"> <telerik:RadChart.Content> <Label Content="Umsätze der letzten 6 Monate" FontWeight="Bold"/> </telerik:RadChart.Content> <telerik:RadChart.DefaultSeriesDefinition> <telerik:DoughnutSeriesDefinition LegendDisplayMode="None"> <telerik:DoughnutSeriesDefinition.InteractivitySettings> <telerik:InteractivitySettings HoverScope="Item" SelectionScope="Item" SelectionMode="Single" /> </telerik:DoughnutSeriesDefinition.InteractivitySettings> </telerik:DoughnutSeriesDefinition> </telerik:RadChart.DefaultSeriesDefinition> <telerik:RadChart.SeriesMappings> <telerik:SeriesMapping> <telerik:SeriesMapping.ItemMappings> <telerik:ItemMapping DataPointMember="YValue" FieldName="Umsatz" /> <telerik:ItemMapping DataPointMember="Label" FieldName="MonatsnameMitUmsatz" /> <telerik:ItemMapping DataPointMember="LegendLabel" FieldName="Monatsname" /> <telerik:ItemMapping DataPointMember="XCategory" FieldName="Monat" /> </telerik:SeriesMapping.ItemMappings> </telerik:SeriesMapping> </telerik:RadChart.SeriesMappings> </telerik:RadChart> </Border> </WrapPanel> </Window>I have the following comboboxcolumn that is bound to a collection of strings. The DataMemberBinding points to a property in the object model. This property gets updated in another part of the system, but the comboboxcolumn does not reflect the new value in view mode. As soon as I click on the field, the combox displays the updated value. How can I get it to update in view mode?
<telerik:GridViewComboBoxColumn Header="M"DataMemberBinding="{Binding SummaryGroupDetail.MisclassifiedType, Mode=TwoWay, NotifyOnSourceUpdated=True}"UniqueName="MisclassifiedType"ItemsSourceBinding="{Binding Path=DataContext.MisclassifiedTypes, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" /><Window x:Class="TestTablePaste.MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="MainWindow" Height="350" Width="525"> <Grid> <telerik:RadGridView> <telerik:RadContextMenu.ContextMenu> <telerik:RadContextMenu> <telerik:RadMenuItem Header="Paste" Command="ApplicationCommands.Paste"></telerik:RadMenuItem> </telerik:RadContextMenu> </telerik:RadContextMenu.ContextMenu> </telerik:RadGridView> </Grid></Window>