Exemple #1
0
 /// <summary>
 /// Initializes static members of the <see cref = "MagnitudeAxis" /> class.
 /// </summary>
 static MagnitudeAxis()
 {
     MajorGridlineStyleProperty.OverrideMetadata(typeof(MagnitudeAxis), new PropertyMetadata(LineStyle.Solid));
     MinorGridlineStyleProperty.OverrideMetadata(typeof(MagnitudeAxis), new PropertyMetadata(LineStyle.Solid));
     PositionProperty.OverrideMetadata(typeof(MagnitudeAxis), new PropertyMetadata(AxisPosition.None, AppearanceChanged));
     IsPanEnabledProperty.OverrideMetadata(typeof(MagnitudeAxis), new PropertyMetadata(false));
     IsZoomEnabledProperty.OverrideMetadata(typeof(MagnitudeAxis), new PropertyMetadata(false));
 }
 /// <summary>
 /// Initializes static members of the <see cref = "AngleAxis" /> class.
 /// </summary>
 static AngleAxis()
 {
     MajorGridlineStyleProperty.OverrideMetadata(typeof(AngleAxis), new StyledPropertyMetadata <LineStyle>(LineStyle.Solid));
     MinorGridlineStyleProperty.OverrideMetadata(typeof(AngleAxis), new StyledPropertyMetadata <LineStyle>(LineStyle.Solid));
     PositionProperty.OverrideMetadata(typeof(AngleAxis), new StyledPropertyMetadata <AxisPosition>(AxisPosition.None));
     TickStyleProperty.OverrideMetadata(typeof(AngleAxis), new StyledPropertyMetadata <TickStyle>(TickStyle.None));
     IsPanEnabledProperty.OverrideMetadata(typeof(AngleAxis), new StyledPropertyMetadata <bool>(false));
     IsZoomEnabledProperty.OverrideMetadata(typeof(AngleAxis), new StyledPropertyMetadata <bool>(false));
     StartAngleProperty.Changed.AddClassHandler <AngleAxis>(AppearanceChanged);
     EndAngleProperty.Changed.AddClassHandler <AngleAxis>(AppearanceChanged);
     PositionProperty.Changed.AddClassHandler <AngleAxis>(AppearanceChanged);
     TickStyleProperty.Changed.AddClassHandler <AngleAxis>(AppearanceChanged);
 }
 /// <summary>
 /// Initializes static members of the <see cref = "AngleAxis" /> class.
 /// </summary>
 static AngleAxis()
 {
     MajorGridlineStyleProperty.OverrideMetadata(typeof(AngleAxis), new PropertyMetadata(LineStyle.Solid));
     MinorGridlineStyleProperty.OverrideMetadata(typeof(AngleAxis), new PropertyMetadata(LineStyle.Solid));
 }