private void SetList(ICollection <ActionModel> actionModels) { DialogActionList.HeightRequest = RowHeight * actionModels.Count; DialogActionList.SetValue(BindableLayout.ItemsSourceProperty, actionModels); _itemCount = actionModels.Count; }