I have RadCartesianChart and i am create the AreaSeries view code behind:
RadCartesianChart chart = new RadCartesianChart();chart.HorizontalAxis = new CategoricalAxis();chart.VerticalAxis = new LinearAxis();chart.HorizontalAxis.Visibility = System.Windows.Visibility.Collapsed;chart.VerticalAxis.Visibility = System.Windows.Visibility.Collapsed;// Get the styleStyle smartLabelStyle = (Style)this.Resources["labelStyle"];// Create new labelDefinition and set its DefaultVisualStyle propertyChartSeriesLabelDefinition labelDefinition = new ChartSeriesLabelDefinition() { DefaultVisualStyle = smartLabelStyle, Format = "{0:N2}", Margin = new Thickness(-40, 0, 0, 0) };MyInstanse = new AreaSeries(); // this is my seriesMyInstanse .ShowLabels = true;MyInstanse .LabelDefinitions.Add(labelDefinition);chart.Series.Add(MyInstanse);And this is my XAML label style:<Style x:Key="labelStyle" TargetType="TextBlock"> <Setter Property="Foreground" Value="Gainsboro" /> <Setter Property="Background" Value="Transparent" /></Style>So all i want to add is border around my Label like in this example:
http://docs.telerik.com/devtools/wpf/controls/radchartview/features/labels/smart-labels.html


I've been using some usefull telerik controls for a while, at this point I'm adding some more options voor accessibility to my applications. Narrator or other screen readers are able to read AutomationProperties like Name and HelpText. But when setting these properties on the RadRichTextBox they are not reqognized by windows and the applications reading the AutomationProperties (tool to check: Inspect)
The AutomationMode of the Telerik AutomationManager is already set to FrameworkOnly. When something else is selected all my automationproperties on controls are ignored.
Here is the used xaml:
01.<telerik:RadRichTextBox HorizontalAlignment="Stretch"02. VerticalAlignment="Stretch"03. x:Name="radRichTextBox"04. BorderThickness="0"05. Margin="0,2,0,0"06. DocumentInheritsDefaultStyleSettings="True"07. Focusable="True"08. FontSize="13"09. FontFamily="Segoe UI"10. AutomationProperties.Name="Message for chat">11. <i:Interaction.Behaviors>12. <behaviors:TelerikRichTextBoxOptionsBehavior />13. <behaviors:ChatRadTextBoxBehavior />14. </i:Interaction.Behaviors>15. <telerik:RadRichTextBox.InputBindings>16. <KeyBinding Modifiers="Control"17. Key="Tab"18. Command="{Binding Path=DataContext.NextTabCommand, RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}}" />19. <KeyBinding Modifiers="Control+Shift"20. Key="Tab"21. Command="{Binding Path=DataContext.PreviousTabCommand, RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}}" />22. </telerik:RadRichTextBox.InputBindings>23.</telerik:RadRichTextBox>24.<telerik:TxtDataProvider x:Name="TextDataProvider"25. Text="{Binding PlainContent, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"26. RichTextBox="{Binding ElementName=radRichTextBox}" />Any suggestions how I can fix this or about what I'm doing wrong?


I'm trying to set an appointment's default value for TimeMarkerID for new appointments. When I add code in either the SqlAppointment's constructor or ViewModels' OnAppointmentsCollectionChanged and then hit the save button on the appointment it appears to try and save the appointment twice. The second appointment has all values blank except for the timemarker default value. I then get an exception of 'The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value.' because the start/end times are 1/1/0001.
Note: Neither appointment actually saves to SQL.
Is there a way to set the default value of TimeMarkerID?
Thanks,
Brandon
Hi,
I have an AutoCompleteBox where the selection mode is set to single, I wish to set focus on the next control when the enter key is selected when the AutoCompleteBox has a value selected. Is this possible?
Regards,
Joe
Hi,
I'm using actually a behavior to block the resize feature of an appointment but when I try to resize an appointment, the resize cursor become visible even if the resize feature was blocked!!!
Thank's
Alain