/// <summary> /// Initializes static members of the <see cref = "MagnitudeAxis" /> class. /// </summary> static MagnitudeAxis() { MajorGridlineStyleProperty.OverrideDefaultValue <MagnitudeAxis>(LineStyle.Solid); MinorGridlineStyleProperty.OverrideDefaultValue <MagnitudeAxis>(LineStyle.Solid); PositionProperty.OverrideDefaultValue <MagnitudeAxis>(AxisPosition.None); PositionProperty.Changed.AddClassHandler <MagnitudeAxis>(AppearanceChanged); IsPanEnabledProperty.OverrideDefaultValue <MagnitudeAxis>(false); IsZoomEnabledProperty.OverrideDefaultValue <MagnitudeAxis>(false); }