private void AddTimeAnchor(int hour, int minute, int second, TransactionBoxControl boxControl,
                                   TransactionEvent transactionEvent)
        {
            var timeEvent = new TimeLineEvent(boxControl.Transaction.Identificator, transactionEvent, boxControl.HighlightColor);
            var anchor    = new FullTimeAnchor(hour, minute, second, currentX, timeEvent, transactionEvent.Completion);

            anchors.Add(anchor);

            layout.Children.Add(anchor, xConstraint: Constraint.RelativeToParent(p => anchor.LeftX));
            scrollView.ScrollToAsync(anchor, ScrollToPosition.End, true);

            currentX += (float)anchor.Width + FullTimeSpacing;
        }
        private void AddHourMinuteAnchor(TransactionBoxControl boxControl, TransactionEvent transactionEvent, int hour, int minute)
        {
            var timeEvent =
                new TimeLineEvent(boxControl.Transaction.Identificator, transactionEvent, boxControl.HighlightColor);
            var item = new HourMinuteAnchor(hour, minute, currentX, timeEvent, transactionEvent.Completion)
            {
                // BackgroundColor = Color.SandyBrown
            };

            anchors.Add(item);
            layout.Children.Add(item, xConstraint: Constraint.RelativeToParent(p => item.LeftX));

            currentX += (float)item.Width;
        }
        private void AddSecondsAnchor(TransactionBoxControl boxControl, TransactionEvent transactionEvent, int second)
        {
            var timeEvent = new TimeLineEvent(boxControl.Transaction.Identificator, transactionEvent, boxControl.HighlightColor);
            var item      = new SecondAnchor(second, currentX, timeEvent, transactionEvent.Completion)
            {
                //  BackgroundColor = Color.FromRgb(rnd.Next(150, 200), rnd.Next(150, 200), rnd.Next(150, 200))
            };

            anchors.Add(item);
            layout.Children.Add(item,
                                xConstraint: Constraint.RelativeToParent(p => item.LeftX),
                                yConstraint: Constraint.RelativeToParent(p => p.Height * 0.5 - item.Height * 0.5));

            currentX += (float)item.Width;
        }