protected override void OnStrokeDashArrayUpdated(DoubleCollection newValue) { base.OnStrokeDashArrayUpdated(newValue); _rectangleLayer.LineDashPattern = newValue.Safe().Select(d => new NSNumber(d)).ToArray(); this.SetNeedsDisplay(); }