public void Initialize(nfloat cellHeight, ActionPlanListModel actionPlan)
        {
            if (!isInitialized)
            {
                iconBackgroundView = new UIView
                {
                    TranslatesAutoresizingMaskIntoConstraints = false,
                    BackgroundColor = Constants.Color.LightGray,
                };

                backgroundCircleSize = cellHeight * (38f / 60f);

                ContentView.TranslatesAutoresizingMaskIntoConstraints         = false;
                ContentView.HeightAnchor.ConstraintEqualTo(cellHeight).Active = true;
                ContentView.WidthAnchor.ConstraintGreaterThanOrEqualTo(backgroundCircleSize + (2 * cellPadding)).Active = true;

                ContentView.AddSubview(iconBackgroundView);
                iconBackgroundView.TopAnchor.ConstraintEqualTo(ContentView.TopAnchor, constant: cellPadding).Active = true;
                iconBackgroundView.CenterXAnchor.ConstraintEqualTo(ContentView.CenterXAnchor).Active = true;
                iconBackgroundView.WidthAnchor.ConstraintEqualTo(backgroundCircleSize).Active        = true;
                iconBackgroundView.HeightAnchor.ConstraintEqualTo(backgroundCircleSize).Active       = true;
                iconBackgroundView.Layer.CornerRadius = backgroundCircleSize / 2;

                iconImageView = new UIImageView {
                    TranslatesAutoresizingMaskIntoConstraints = false
                };

                ContentView.AddSubview(iconImageView);
                iconImageView.CenterXAnchor.ConstraintEqualTo(iconBackgroundView.CenterXAnchor).Active = true;
                iconImageView.CenterYAnchor.ConstraintEqualTo(iconBackgroundView.CenterYAnchor).Active = true;
                iconImageView.WidthAnchor.ConstraintEqualTo(iconBackgroundView.WidthAnchor, multiplier: iconSizeFactor).Active   = true;
                iconImageView.HeightAnchor.ConstraintEqualTo(iconBackgroundView.HeightAnchor, multiplier: iconSizeFactor).Active = true;

                titleLabel = new UILabel
                {
                    TranslatesAutoresizingMaskIntoConstraints = false,
                    Font          = Constants.Fonts.RubikOfSize(Constants.Fonts.Size.Ten),
                    TextColor     = Constants.Color.MidGray,
                    TextAlignment = UITextAlignment.Center,
                };

                var titleLayoutGuide = new UILayoutGuide();
                ContentView.AddLayoutGuide(titleLayoutGuide);
                titleLayoutGuide.TopAnchor.ConstraintEqualTo(iconBackgroundView.BottomAnchor).Active = true;
                titleLayoutGuide.BottomAnchor.ConstraintEqualTo(ContentView.BottomAnchor).Active     = true;

                ContentView.AddSubview(titleLabel);
                titleLabel.LeftAnchor.ConstraintEqualTo(ContentView.LeftAnchor, constant: cellPadding).Active    = true;
                titleLabel.RightAnchor.ConstraintEqualTo(ContentView.RightAnchor, constant: -cellPadding).Active = true;
                titleLabel.CenterYAnchor.ConstraintEqualTo(titleLayoutGuide.CenterYAnchor).Active = true;

                isInitialized = true;
            }

            selectionColor      = Constants.Color.MapFromActionPlanColor(actionPlan.Color);
            iconImage           = Constants.Assets.MapFromActionPlanIcon(actionPlan.Icon, true);
            selectedIconImage   = Constants.Assets.MapFromActionPlanIcon(actionPlan.Icon);
            titleLabel.Text     = actionPlan.Name;
            iconImageView.Image = iconImage;
        }
 void HandleOnCurrentActionPlanChanged(object sender, ActionPlanListModel actionPlan)
 {
     chatMessageTypeCollectionViewSource.SelectedActionPlan = actionPlan;
 }