This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Reflection; | |
namespace SharpSerializer | |
{ | |
public static class ExtensionMethods | |
{ | |
public static PropertyInfo GetProperty(this Type type, String propertyName) | |
{ | |
return type.GetTypeInfo().GetDeclaredProperty(propertyName); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<igFramework:SampleContainer x:Class="IGDataChart.Samples.Display.Axes.MultipleAxes" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
mc:Ignorable="d" | |
d:DesignHeight="500" d:DesignWidth="700" | |
Title="MultipleAxes Page" | |
xmlns:ig="http://schemas.infragistics.com/xaml" | |
xmlns:igFramework="clr-namespace:Infragistics.Samples.Framework;assembly=Infragistics.Samples.Framework" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserControl x:Class="Telerik.Windows.Examples.Chart.MultipleYAxes.Example" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:example="clr-namespace:Telerik.Windows.Examples.Chart.MultipleYAxes" | |
xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls" | |
xmlns:chart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Charting" | |
xmlns:charting="clr-namespace:Telerik.Windows.Controls.Charting;assembly=Telerik.Windows.Controls.Charting"> | |
<UserControl.Resources> | |
<example:ExampleViewModel x:Key="ViewModel" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserControl x:Class="Telerik.Windows.Examples.ChartView.Palettes.Example" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:chart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Chart" | |
xmlns:charting="clr-namespace:Telerik.Charting;assembly=Telerik.Windows.Controls.Chart" | |
xmlns:chartView="clr-namespace:Telerik.Windows.Controls.ChartView;assembly=Telerik.Windows.Controls.Chart" | |
xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls" | |
xmlns:vm="clr-namespace:Telerik.Windows.Examples.ChartView.Palettes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<local:ChartDemoBase x:Class="SampleExplorer.LineChartDemo" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="clr-namespace:SampleExplorer" | |
xmlns:ms="http://namespaces.mindscape.co.nz/wpf"> | |
<local:ChartDemoBase.Resources> | |
<ResourceDictionary> | |
<ms:DateTimeAxisValueConverter x:Key="DateTimeScale" /> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<local:ChartDemoBase x:Class="SampleExplorer.AlternateAxesDemo" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="clr-namespace:SampleExplorer" | |
xmlns:ms="http://namespaces.mindscape.co.nz/wpf"> | |
<local:ChartDemoBase.DemoContent> | |
<ms:Chart Title="Alternate Y Axes"> | |
<ms:Chart.Series> | |
<ms:LineSeries ItemsSource="{Binding Data1}" SeriesBrush="{Binding Palette[0]}" Title="Primary" LineStyle="{StaticResource ShadowLineStyle}" /> | |
<ms:LineSeries ItemsSource="{Binding Data2}" SeriesBrush="{Binding Palette[1]}" YAxisTitle="Secondary" Title="Secondary" LineStyle="{StaticResource ShadowLineStyle}" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<chart:RadCartesianChart.Grid> | |
<chartView:CartesianChartGrid MajorLinesVisibility="Y" StripLinesVisibility="Y"> | |
<chartView:CartesianChartGrid.YStripeBrushes> | |
<SolidColorBrush Color="#FFD7D7D7" Opacity="0.3" /> | |
<SolidColorBrush Color="Transparent" /> | |
</chartView:CartesianChartGrid.YStripeBrushes> | |
</chartView:CartesianChartGrid> | |
</chart:RadCartesianChart.Grid> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
namespace SharkDice | |
{ | |
public class NanoContainer | |
{ | |
private readonly Dictionary<Type, object> _registeredDependencies = new Dictionary<Type, object>(); | |
private readonly Dictionary<Type, Type> _registeredTypes = new Dictionary<Type, Type>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<chart:RadCartesianChart Name="radChart1" Palette="Metro" VerticalAlignment="Stretch" Margin="0,0,0,10"> | |
<chartView:BarSeries ItemsSource="{Binding MonthRevenues}" ValueBinding="Actual" CategoryBinding="Month" > | |
<chartView:BarSeries.PointTemplate> | |
<DataTemplate> | |
<Rectangle Fill="{Binding Converter={StaticResource detailedInfoToBrushConverter}, ConverterParameter={StaticResource brushes}}"/> | |
</DataTemplate> | |
</chartView:BarSeries.PointTemplate> | |
</chartView:BarSeries> | |
<chartView:LineSeries ItemsSource="{Binding MonthRevenues}" ValueBinding="Target" CategoryBinding="Month" Stroke="{StaticResource ChartBrush2}" > | |
<chartView:LineSeries.PointTemplate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserControl x:Class="Telerik.Windows.Examples.ChartView.Annotations.MicrosoftChart" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" | |
mc:Ignorable="d" | |
d:DesignHeight="300" d:DesignWidth="400"> | |
<UserControl.Resources> |
OlderNewer