Пример #1
0
 private void btnPaste_Click(object sender, RoutedEventArgs e)
 {
     Windows.UI.Text.ITextDocument doc = editor.Document;
     doc.Selection.Paste(0);
 }
Пример #2
0
 private void mnuItemChangeCaseUpper_Click(object sender, RoutedEventArgs e)
 {
     // Change case to upper
     Windows.UI.Text.ITextDocument doc = editor.Document;
     doc.Selection.ChangeCase(Windows.UI.Text.LetterCase.Upper);
 }
Пример #3
0
 private void btnRedo_Click(object sender, RoutedEventArgs e)
 {
     Windows.UI.Text.ITextDocument doc = editor.Document;
     doc.Redo();
 }