public void SetLeftButton(int resourceId, ICommand command, int?color = null) { _leftButton.SetImageResource(resourceId); _leftButton.Visibility = ViewStates.Visible; if (color.HasValue) { _leftButton.SetColorFilter(_leftButton.GetColor(color.Value)); } if (command != null) { _leftButton.SetCommand(nameof(_leftButton.Click), command); } }