Exemplo n.º 1
0
        public void PasteFromClipboard()
        {
            if (SelectedCells == null || !SelectedCells.Cells().Any())
            {
                throw new ArgumentException("Attempt to paste text into null selection");
            }

            SelectedCells.Cells().First().Value = Clipboard.GetText();
        }