GetNewClipboard() public static method

public static GetNewClipboard ( ) : string
return string
Example #1
0
        public void OnControl(object s, CharacterEventArgs args)
        {
            switch (args.Character)
            {
            case ControlCharacters.CtrlV:
                string c = KeyboardEventDispatcher.GetNewClipboard();
                Insert(c);
                return;

            case ControlCharacters.CtrlC:
                if (text.Length > 0)
                {
                    KeyboardEventDispatcher.SetToClipboard(Text);
                }
                return;
            }
        }