or
LinearAxis linearAxis = new LinearAxis { Title = "Violet Bar Axis", Maximum = maxValue + 1 };
barSeries.VerticalAxis = linearAxis;<Controls:RadCartesianChart.Behaviors> <ChartView:ChartPanAndZoomBehavior ZoomMode="Both" PanMode="Both" /> <ChartView:ChartTrackBallBehavior ShowIntersectionPoints="True" ShowTrackInfo="True" TrackInfoUpdated="ChartTrackBallBehavior_TrackInfoUpdated"/></Controls:RadCartesianChart.Behaviors>Windows8Palette.Palette.MainColor = ((SolidColorBrush)dictionary["BasicControlBackground"]).Color;Windows8Palette.Palette.AccentColor = ((SolidColorBrush)dictionary["BasicDarkAccentColor"]).Color;Windows8Palette.Palette.BasicColor = ((SolidColorBrush)dictionary["BasicHighlightColor"]).Color;Windows8Palette.Palette.StrongColor = ((SolidColorBrush)dictionary["BasicControlForegroundColor"]).Color;Windows8Palette.Palette.MarkerColor = ((SolidColorBrush)dictionary["BasicDarkAccentColor"]).Color;StyleManager.ApplicationTheme = new Windows8Theme();Example: "Arial" works. "Arial Black" and "Times New Roman" not works.
PS: Pdfsharp => http://www.pdfsharp.net

| <Page x:Class="WpfBrowserApplication9.Page1" |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| Title="Page1" xmlns:my="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
| xmlns:wfi="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration" |
| xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"> |
| <Grid> |
| <my:RadWindow Name="radWindow1" VerticalAlignment="Top" > |
| <wfi:WindowsFormsHost Height="200" Width="300"> |
| <wf:DataGridView x:Name="xy"></wf:DataGridView> |
| </wfi:WindowsFormsHost> |
| </my:RadWindow> |
| <my:RadWindow Name="radWindow2"> |
| <wfi:WindowsFormsHost Height="200" Width="300"> |
| <wf:DataGridView x:Name="xzy" BackgroundColor="Red"></wf:DataGridView> |
| </wfi:WindowsFormsHost> |
| </my:RadWindow> |
| <telerik:RadButton Height="23" HorizontalAlignment="Right" Margin="0,0,48,2" Name="radButton1" VerticalAlignment="Bottom" Width="75" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Click="radButton1_Click">Button</telerik:RadButton> |
| </Grid> |
| </Page> |
| using System; |
| using System.Collections.Generic; |
| using System.Linq; |
| using System.Text; |
| using System.Windows; |
| using System.Windows.Controls; |
| using System.Windows.Data; |
| using System.Windows.Documents; |
| using System.Windows.Input; |
| using System.Windows.Media; |
| using System.Windows.Media.Imaging; |
| using System.Windows.Navigation; |
| using System.Windows.Shapes; |
| namespace WpfBrowserApplication9 |
| { |
| /// <summary> |
| /// Page1.xaml |
| /// </summary> |
| public partial class Page1 : Page |
| { |
| public Page1() |
| { |
| InitializeComponent(); |
| radWindow1.Show(); |
| } |
| private void radButton1_Click(object sender, RoutedEventArgs e) |
| { |
| radWindow2.Show(); |
| } |
| } |
| } |