I'm using the MVVM pattern such that I've got a comboboxColumn bound to a datasource.
My intention was whatever the user select, it should update the description of another column. At the moment it is not updating. The underlying data has changed but not refreshed.
What am I missing?
private void treeMenuItemEditProduct_Click(object sender, RadRoutedEventArgs e){ if (this.treeProducts.SelectedItem != null) { RadTreeViewItem treeViewItem = (RadTreeViewItem)treeProducts.SelectedItem; Products selectedProduct = treeViewItem.Tag as Products; EditProductsWindow editProductWindow = new EditProductsWindow(selectedProduct); editProductWindow.Owner = Window.GetWindow(this); editProductWindow.IsRestricted = true; editProductWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner; editProductWindow.ShowDialog(); //Check if the closing window achieved or failed its task if (editProductWindow.DialogResult == true) { //Get collection Index of selected product int index = TAS2Database.DBTimers.GetProducts.EnabledProducts.IndexOf(selectedProduct); //Remove Selected Product from List TAS2Database.DBTimers.GetProducts.EnabledProducts.Remove(selectedProduct); //Add new Product to Products List TAS2Database.DBTimers.GetProducts.EnabledProducts.Insert(index, editProductWindow.newProduct); //Amend TreeViewItem treeViewItem.Tag = editProductWindow.newProduct; treeViewItem.Header = editProductWindow.newProduct.Name.ToString(); treeViewItem.ToolTip = editProductWindow.newProduct.ID.ToString(); } } else { RadWindow.Alert("Please select a product to edit."); }}//Get collection Index of selected productint index = TAS2Database.DBTimers.GetProducts.EnabledProducts.IndexOf(selectedProduct);hierarchy | items==============================root | ------------------------------ > child | ------------- | |item 1 | 1 | | |item 2 | 2 | | -------------------------------------------<telerik:RadDatePicker Name="MonthRDP" Grid.Column="1" DateSelectionMode="Month" />en Telerik.Windows.Controls.RadCalendar.PopulateMonths() en c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Input\Calendar\RadCalendar.cs:línea 3644en Telerik.Windows.Controls.RadCalendar.UpdateCalendarViews() en c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Input\Calendar\RadCalendar.cs:línea 2723en Telerik.Windows.Controls.RadDateTimePicker.OnIsDropDownOpenChanged() en c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Input\DateTimePicker\RadDateTimePicker.cs:línea 1297en Telerik.Windows.Controls.RadDateTimePicker.OnIsDropDownOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) en c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Input\DateTimePicker\RadDateTimePicker.cs:línea 1221en System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)en System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)en System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)en System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)en System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)en MS.Internal.Data.PropertyPathWorker.SetValue(Object item, Object value)en MS.Internal.Data.ClrBindingWorker.UpdateValue(Object value)en System.Windows.Data.BindingExpression.UpdateSource(Object value)Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB");Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-GB");<telerik:GridViewDataColumn DataMemberBinding="{Binding Path=StartDate}" Header="Start Date" DataFormatString="d" IsSortable="True" />Hi,
We have a situation where we need to style the RadPieChart so that it appears as shown in the attached mockup. As you can see, the selected slice of the Pie Chart has a 3D-like appearance whereas the remaining slices appear in 2D, and this is where we got stuck and didn’t know how to style something like that. Is there any way to modify the control template of the “selected slice”? But then, how do we display other selected slices to have such an edge when they are selected?
Screenshot of the pie chart is attached please check