Esempio n. 1
0
 /// <summary>
 /// Initializes static members of the <see cref="Plot" /> class.
 /// </summary>
 static Plot()
 {
     PaddingProperty.OverrideDefaultValue <Plot>(new Thickness(8));
     PaddingProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     CultureProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     IsLegendVisibleProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendBackgroundProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendBorderProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendBorderThicknessProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendFontProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendFontSizeProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendFontWeightProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendItemAlignmentProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendItemOrderProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendItemSpacingProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendLineSpacingProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendMarginProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendMaxHeightProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendMaxWidthProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendOrientationProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendColumnSpacingProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendPaddingProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendPlacementProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendPositionProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendSymbolLengthProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendSymbolMarginProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendSymbolPlacementProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SelectionColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     RenderingDecoratorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SubtitleFontProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SubtitleColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     DefaultFontProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     DefaultFontSizeProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     DefaultColorsProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     AxisTierDistanceProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendTextColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendTitleProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendTitleColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendTitleFontProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendTitleFontSizeProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     LegendTitleFontWeightProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     PlotAreaBackgroundProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     PlotAreaBorderColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     PlotAreaBorderThicknessProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     PlotMarginsProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     PlotTypeProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SubtitleFontSizeProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SubtitleFontWeightProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SubtitleProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TextColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleAlignmentProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleFontProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleFontSizeProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleFontWeightProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitlePaddingProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleToolTipProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     InvalidateFlagProperty.Changed.AddClassHandler <Plot>((s, e) => s.InvalidateFlagChanged());
 }
 /// <summary>
 /// Initializes static members of the <see cref="Plot" /> class.
 /// </summary>
 static Plot()
 {
     PaddingProperty.OverrideDefaultValue <Plot>(new Thickness(8));
     PaddingProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     CultureProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     IsLegendVisibleProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SelectionColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     RenderingDecoratorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SubtitleFontProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SubtitleColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     DefaultFontProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     DefaultFontSizeProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     DefaultColorsProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     AxisTierDistanceProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     PlotAreaBackgroundProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     PlotAreaBorderColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     PlotAreaBorderThicknessProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     PlotMarginsProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     PlotTypeProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SubtitleFontSizeProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SubtitleFontWeightProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     SubtitleProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TextColorProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleAlignmentProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleFontProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleFontSizeProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleFontWeightProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitlePaddingProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     TitleToolTipProperty.Changed.AddClassHandler <Plot>(AppearanceChanged);
     InvalidateFlagProperty.Changed.AddClassHandler <Plot>((s, e) => s.InvalidateFlagChanged());
 }