public void OnClicked(MouseButtonEventArgs mouseButtonEventArgs) { var clickStatus = new ClickStatus(mouseButtonEventArgs.LeftButton == MouseButtonState.Pressed, mouseButtonEventArgs.RightButton == MouseButtonState.Pressed); _imageCell.Click(clickStatus); }