コード例 #1
0
        public ColorDialog()
        {
            this.InitializeComponent();
            this.ConstructStrings();
            this.CopyButton.Tapped  += (s, e) => Clipboard2.CopyText(this.TextBox.Text);
            this.PasteButton.Tapped += async(s, e) =>
            {
                string text = await Clipboard2.PasteTextAsync();

                if (string.IsNullOrEmpty(text))
                {
                    return;
                }
                this.TextBox.Text = text.ToUpper();
            };
        }