or
private void btnDoStuff_Click(object sender, RoutedEventArgs e){ SetMapLabels(false); // Do some stuff SetMapLabels(true);}private void SetMapLabels(bool on) { if (on) { _provider.IsLabelVisible = true; // this.RadMap1.UseDefaultLayout = true; this.RadMap1.CommandBarVisibility = System.Windows.Visibility.Visible; this.RadMap1.NavigationVisibility = System.Windows.Visibility.Visible; this.RadMap1.ScaleVisibility = System.Windows.Visibility.Visible; this.RadMap1.ZoomBarPresetsVisibility = System.Windows.Visibility.Visible; this.RadMap1.ZoomBarVisibility = System.Windows.Visibility.Visible; this.RadMap1.MouseLocationIndicatorVisibility = System.Windows.Visibility.Visible; this.RadMap1.MiniMapExpanderVisibility = System.Windows.Visibility.Hidden; this.RadMap1.InvalidateVisual(); this.RadMap1.UpdateLayout(); return; } _provider.IsLabelVisible = false; // this.RadMap1.UseDefaultLayout = false; this.RadMap1.CommandBarVisibility = System.Windows.Visibility.Hidden; this.RadMap1.NavigationVisibility = System.Windows.Visibility.Hidden; this.RadMap1.ZoomBarPresetsVisibility = System.Windows.Visibility.Hidden; this.RadMap1.ZoomBarVisibility = System.Windows.Visibility.Hidden; this.RadMap1.ScaleVisibility = System.Windows.Visibility.Hidden; this.RadMap1.MouseLocationIndicatorVisibility = System.Windows.Visibility.Hidden; this.RadMap1.MiniMapExpanderVisibility = System.Windows.Visibility.Hidden; this.RadMap1.InvalidateVisual(); this.RadMap1.UpdateLayout(); }I would like to drag and drop multiple appointment located in several different resources. The default behavior of scheduleView is that all appointments are dropped into the pointed resource row on mouse release. What I want is a slide up or down of each item selected, keeping them at the same distance from each other's at the mouse release. You will see what I really want on attached pictures.
AB.
Hi
I need to change the background color of a cell based on its value while using AutoGenerateColumns="True
Without using code behind (attach property is acceptable solution)
The data context is System.Data.DataTable
Thanks in advance.
//Loop Through Document Sectionsforeach (Section sectionLayoutBox in radRichTextBox.Document.Children){ //Loop Through Section Paragraphs foreach (Paragraph paragraph in sectionLayoutBox.EnumerateChildrenOfType<Paragraph>().ToList<Paragraph>()) { //Remove Paragraph From Document //paragraph.Parent.Children.Remove(paragraph); sectionLayoutBox.Children.Remove(paragraph); }}