In my usage of the ChartCiew I have three line series drawn on a chart per date, all of which share the same colour which are distinguished by using the DashArray property of the LineSeries class to make one solid, one dotted (1,1) and one dashed (3,3). Each different date shown on the chart uses a different colour.
I can't seem to figure out how to make a legend that replicates the line drawn on the chart using the dash array property, do you have any advice?
I have looked at your examples and can't see one that does what I want.
I can't really attach the code but I have attached an image showing a chart containing two LineSeries (one solid and one dashed) and my desired legend to indicate my requirements.
Thanks,
lderBrowserDialog dialog = new FolderBrowserDialog(); dialog.SelectedPath = programFiles; dialog.ShowDialog(); <telerik:RadRibbonButton BorderBrush="Gray" CommandParameter="pdf" CornerRadius="3" Height="80" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=SaveCommand}" telerik:RadRichTextBoxRibbonUI.ShouldCloseBackstage="True" Width="90"> <StackPanel Width="90"> <Image HorizontalAlignment="Center" Source="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/ApplicationMenu/Pdf.png" Stretch="None" /> </StackPanel></telerik:RadRibbonButton>public class EnterKeyTraversal{ public static bool GetIsEnabled(DependencyObject obj) { return (bool)obj.GetValue(IsEnabledProperty); } public static void SetIsEnabled(DependencyObject obj, bool value) { obj.SetValue(IsEnabledProperty, value); } static void ue_PreviewKeyDown(object sender, System.Windows.Input.KeyEventArgs e) { var ue = e.OriginalSource as FrameworkElement; if (ue != null && (e.Key == Key.Enter && ue.GetType() != typeof(Button))) { e.Handled = true; ue.MoveFocus(new TraversalRequest(FocusNavigationDirection.Next)); } } private static void ue_Unloaded(object sender, RoutedEventArgs e) { var ue = sender as FrameworkElement; if (ue == null) return; ue.Unloaded -= ue_Unloaded; ue.PreviewKeyDown -= ue_PreviewKeyDown; } public static readonly DependencyProperty IsEnabledProperty = DependencyProperty.RegisterAttached("IsEnabled", typeof(bool), typeof(EnterKeyTraversal), new UIPropertyMetadata(false, IsEnabledChanged)); static void IsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { var ue = d as FrameworkElement; if (ue == null) return; if ((bool)e.NewValue) { ue.Unloaded += ue_Unloaded; ue.PreviewKeyDown += ue_PreviewKeyDown; } else { ue.PreviewKeyDown -= ue_PreviewKeyDown; } }}

Hello,
I would like to create appointments without the little x in the upper right hand corner of the appointment.
How can this be done?
Thanks in advance.
/// <summary> /// Interaction logic for BillingActivityView.xaml /// </summary> public partial class BillingActivityView { private static readonly string _appDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); private static readonly string _bambooSettingsPath = Path.Combine(_appDataPath, @"Bamboo\Settings"); private static readonly string _testsGridSettingsFilePath = Path.Combine(_bambooSettingsPath, @"TestsGridSettings.bin"); private static readonly string _oldBillClassesGridSettingsFilePath = Path.Combine(_bambooSettingsPath, @"OldBillClassesGridSettings.bin"); private static readonly string _insuranceStatusGridSettingsFilePath = Path.Combine(_bambooSettingsPath, @"InsuranceStatusGridSettings.bin"); /// <summary> /// Initializes a new instance of the <see cref="DocumentImageView"/> class. /// </summary> public BillingActivityView() { InitializeComponent(); ServiceProvider.RegisterPersistenceProvider<ICustomPropertyProvider>(typeof(RadGridView), new GridViewCustomPropertyProvider()); } private void TestsGridView_Initialized(object sender, EventArgs e) { LoadGridSettings(TestsGridView, _testsGridSettingsFilePath); } private void OldBillClassesGridView_Initialized(object sender, EventArgs e) { LoadGridSettings(OldBillClassesGridView, _oldBillClassesGridSettingsFilePath); } private void InsuranceStatusGridView_Initialized(object sender, EventArgs e) { LoadGridSettings(InsuranceStatusGridView, _insuranceStatusGridSettingsFilePath); } public void LoadGridSettings(RadGridView gridView, string settingsPath) { var manager = new PersistenceManager(); if (!Directory.Exists(_bambooSettingsPath)) { Directory.CreateDirectory(_bambooSettingsPath); } // Load settings if there is something to load if (File.Exists(settingsPath)) { try { var fileStream = File.OpenRead(settingsPath); manager.Load(gridView, fileStream); fileStream.Close(); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.Message, "BILLINGACTIVITYVIEW"); } } } public void PersistAllGridSettings() { PersistGridSettings(TestsGridView, _testsGridSettingsFilePath); PersistGridSettings(OldBillClassesGridView, _oldBillClassesGridSettingsFilePath); PersistGridSettings(InsuranceStatusGridView, _insuranceStatusGridSettingsFilePath); } public void PersistGridSettings(RadGridView gridView, string settingsPath) { var manager = new PersistenceManager(); var stream = manager.Save(gridView); using (var fileStream = File.Create(settingsPath)) { stream.CopyTo(fileStream); } } }private void RadTileViewItem_MouseLeftButtonUp(object sender, MouseButtonEventArgs e){ RadTileViewItem item = (sender as RadTileViewItem); if (item.TileState == TileViewItemState.Maximized) { item.TileState = TileViewItemState.Minimized; item.HeaderStyle = (Style)FindResource("TileViewItemHeaderStyle4"); } else { item.TileState = TileViewItemState.Maximized; } }<UserControl xmlns:my="clr-namespace:WpfApplication1" x:Class="WpfApplication1.NodeView" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:TileView="clr-namespace:Telerik.Windows.Controls.TileView;assembly=Telerik.Windows.Controls.Navigation" > <UserControl.Resources> <Style x:Key="TileViewItemHeaderStyle1" TargetType="{x:Type TileView:TileViewItemHeader}"> <Setter Property="Background" Value="red"> </Setter> </Style> <Style x:Key="TileViewItemHeaderStyle2" TargetType="{x:Type TileView:TileViewItemHeader}"> <Setter Property="Background" Value="Orange"> </Setter> </Style> <Style x:Key="TileViewItemHeaderStyle3" TargetType="{x:Type TileView:TileViewItemHeader}"> <Setter Property="Background" Value="Green"> </Setter> </Style> <Style x:Key="TileViewItemHeaderStyle4" TargetType="{x:Type TileView:TileViewItemHeader}"> <Setter Property="Background" Value="Blue"> </Setter> </Style> </UserControl.Resources> <Grid> <telerik:RadTileView Name="radTileView1" MinimizedColumnWidth="300" MinimizedRowHeight="155" VerticalAlignment="Top" IsVirtualizing="True" Grid.ColumnSpan="3"> <telerik:RadTileViewItem Header="Node Back Left" HeaderStyle="{StaticResource TileViewItemHeaderStyle1}" MouseLeftButtonUp="RadTileViewItem_MouseLeftButtonUp"/> <telerik:RadTileViewItem Header="Node Back Right" HeaderStyle="{StaticResource TileViewItemHeaderStyle2}" MouseLeftButtonUp="RadTileViewItem_MouseLeftButtonUp"/> <telerik:RadTileViewItem Header="Node Front Left" HeaderStyle="{StaticResource TileViewItemHeaderStyle3}" MouseLeftButtonUp="RadTileViewItem_MouseLeftButtonUp"/> <telerik:RadTileViewItem Header="Node Front Right" HeaderStyle="{StaticResource TileViewItemHeaderStyle4}" MouseLeftButtonUp="RadTileViewItem_MouseLeftButtonUp"/> <telerik:RadTileViewItem Header="Node Center" HeaderStyle="{StaticResource TileViewItemHeaderStyle3}" MouseLeftButtonUp="RadTileViewItem_MouseLeftButtonUp"> </telerik:RadTileViewItem> </telerik:RadTileView> </Grid></UserControl>