From 61f72f5a310cc48173e0a32f88c82b3e68863372 Mon Sep 17 00:00:00 2001 From: deepa_thiruppathy Date: Tue, 1 Nov 2022 16:11:17 +0530 Subject: [PATCH 1/4] WPF-61988 Some short cut key commands are missing in UG --- wpf/Diagram/Interaction/Keyboard.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/wpf/Diagram/Interaction/Keyboard.md b/wpf/Diagram/Interaction/Keyboard.md index 0ed05a68f7..033202680a 100644 --- a/wpf/Diagram/Interaction/Keyboard.md +++ b/wpf/Diagram/Interaction/Keyboard.md @@ -25,9 +25,15 @@ The following table illustrates list of Commands with key Gesture. | Ctrl + D | Duplicate | Copies the selected element from the diagram and pastes the copied element into the diagram. | | Delete | Delete | Delete the selected elements in the diagram. | | LeftArrow | MoveLeft | MoveLeft (move the selected elements towards left by one pixel). | +| Shift + LeftArrow | MoveLeft | MoveLeft (move the selected elements towards left by ten pixels). | | RightArrow | MoveRight | MoveRight (move the selected elements towards right by one pixel). | +| Shift + RightArrow | MoveRight | MoveRight (move the selected elements towards right by ten pixels). | | UpArrow | MoveUp | MoveUp (move the selected elements towards up by one pixel). | +| Shift + UpArrow | MoveUp | MoveUp (move the selected elements towards up by ten pixels). | | DownArrow | MoveDown | MoveDown (move the selected elements towards up by one pixel). | +| Shift + DownArrow | MoveDown | MoveDown (move the selected elements towards up by ten pixels). | +| MouseScroll | Zoom | Scrolls the diagram page up and down in vertical direction. | +| Shift + MouseScroll | Zoom | Scrolls the diagram page left and right in horizontal direction. | | Ctrl + MouseScroll | Zoom | Zoom(Zoom in/Zoom out the diagram). | | Ctrl + G | Group | Grouping the element in the diagram. | | Ctrl + Shift + U | UnGroup | UnGrouping the element in the diagram. | @@ -35,11 +41,21 @@ The following table illustrates list of Commands with key Gesture. | Ctrl + [ | SendBackward | Moves the selected element behind the underlying element. | | Ctrl + Shift + F | BringToFront | Brings the selected element to front over all the other overlapped elements. | | Ctrl + ] | BringForward | Moves the selected element over the nearest overlapping element. | -| Ctrl + |Zoom | Zoom in the diagram. | -| Ctrl - | Zoom | Zoom out the diagram. | +| Ctrl + PlusKey(+)|Zoom | Zoom in the diagram. | +| Ctrl - MinusKey(-)| Zoom | Zoom out the diagram. | | Ctrl + 0 (number 0) | Reset | To reset horizontal Offset, vertical Offset, and zoom level of the Diagram. | | Ctrl + Shift + W | FitToPage | Fit the diagram content into the view with respect to either width, height, or at the whole. | | F2 | EditAnnotation | Enable annotation editing mode of the first selected diagram element. | +| Enter | SelectFocusedItem | Selects the focused item. | +| Tab | FocusToNextItem | Focus the item which is next to selected item. | +| Shift + Tab | FocusToPreviousItem | Focus the item which is previous to selected item. | +| Ctrl + R | RotateRight | Rotates the selected node in clockwise to 90 degrees. | +| Ctrl + L | RotateLeft | Rotates the selected node in anticlockwise to 90 degrees. | +| Ctrl + H | HorizontalFlip | Flips the selected node in horizontal direction. | +| Ctrl + J | VerticalFlip | Flips the selected node in vertical direction. | +| Ctrl + B | ToggleBold | Adds and removes the Bold text style to the annotation. | +| Ctrl + I | ToggleItalic | Adds and removes the Italice text style to the annotation. | +| Ctrl + U | ToggleUnderline | Adds and removes the Underline text style to the annotation. | | Ctrl + 1 | Pointer Tool | To select, move or resize the elements in the diagram. | | Ctrl + 2 | Text Tool | To draw a text node. | | Ctrl + 3 | Connector Tool | To draw a orthogonal connector. | From b85310801bd6a9b8d3794583e72d0355417136b3 Mon Sep 17 00:00:00 2001 From: deepa_thiruppathy Date: Tue, 1 Nov 2022 19:33:49 +0530 Subject: [PATCH 2/4] updated the content review changes --- wpf/Diagram/Interaction/Keyboard.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/wpf/Diagram/Interaction/Keyboard.md b/wpf/Diagram/Interaction/Keyboard.md index 033202680a..6e60a93382 100644 --- a/wpf/Diagram/Interaction/Keyboard.md +++ b/wpf/Diagram/Interaction/Keyboard.md @@ -25,15 +25,15 @@ The following table illustrates list of Commands with key Gesture. | Ctrl + D | Duplicate | Copies the selected element from the diagram and pastes the copied element into the diagram. | | Delete | Delete | Delete the selected elements in the diagram. | | LeftArrow | MoveLeft | MoveLeft (move the selected elements towards left by one pixel). | -| Shift + LeftArrow | MoveLeft | MoveLeft (move the selected elements towards left by ten pixels). | +| Shift + LeftArrow | MoveLeft | MoveLeft (move the selected elements towards the left by ten pixels). | | RightArrow | MoveRight | MoveRight (move the selected elements towards right by one pixel). | -| Shift + RightArrow | MoveRight | MoveRight (move the selected elements towards right by ten pixels). | +| Shift + RightArrow | MoveRight | MoveRight (move the selected elements towards the right by ten pixels). | | UpArrow | MoveUp | MoveUp (move the selected elements towards up by one pixel). | | Shift + UpArrow | MoveUp | MoveUp (move the selected elements towards up by ten pixels). | -| DownArrow | MoveDown | MoveDown (move the selected elements towards up by one pixel). | -| Shift + DownArrow | MoveDown | MoveDown (move the selected elements towards up by ten pixels). | -| MouseScroll | Zoom | Scrolls the diagram page up and down in vertical direction. | -| Shift + MouseScroll | Zoom | Scrolls the diagram page left and right in horizontal direction. | +| DownArrow | MoveDown | MoveDown (move the selected elements upwards by one pixel). | +| Shift + DownArrow | MoveDown | MoveDown (move the selected elements upwards by ten pixels). | +| MouseScroll | Zoom | Scrolls the diagram page up and down in a vertical direction. | +| Shift + MouseScroll | Zoom | Scrolls the diagram page left and right in a horizontal direction. | | Ctrl + MouseScroll | Zoom | Zoom(Zoom in/Zoom out the diagram). | | Ctrl + G | Group | Grouping the element in the diagram. | | Ctrl + Shift + U | UnGroup | UnGrouping the element in the diagram. | @@ -42,17 +42,17 @@ The following table illustrates list of Commands with key Gesture. | Ctrl + Shift + F | BringToFront | Brings the selected element to front over all the other overlapped elements. | | Ctrl + ] | BringForward | Moves the selected element over the nearest overlapping element. | | Ctrl + PlusKey(+)|Zoom | Zoom in the diagram. | -| Ctrl - MinusKey(-)| Zoom | Zoom out the diagram. | +| Ctrl + MinusKey(-)| Zoom | Zoom out the diagram. | | Ctrl + 0 (number 0) | Reset | To reset horizontal Offset, vertical Offset, and zoom level of the Diagram. | | Ctrl + Shift + W | FitToPage | Fit the diagram content into the view with respect to either width, height, or at the whole. | | F2 | EditAnnotation | Enable annotation editing mode of the first selected diagram element. | | Enter | SelectFocusedItem | Selects the focused item. | -| Tab | FocusToNextItem | Focus the item which is next to selected item. | -| Shift + Tab | FocusToPreviousItem | Focus the item which is previous to selected item. | -| Ctrl + R | RotateRight | Rotates the selected node in clockwise to 90 degrees. | -| Ctrl + L | RotateLeft | Rotates the selected node in anticlockwise to 90 degrees. | -| Ctrl + H | HorizontalFlip | Flips the selected node in horizontal direction. | -| Ctrl + J | VerticalFlip | Flips the selected node in vertical direction. | +| Tab | FocusToNextItem | Focus on the item next to the selected item. | +| Shift + Tab | FocusToPreviousItem | Focus on the item previous to the selected item. | +| Ctrl + R | RotateRight | Rotates the selected node clockwise to 90 degrees. | +| Ctrl + L | RotateLeft | Rotates the selected node anticlockwise to 90 degrees. | +| Ctrl + H | HorizontalFlip | Flips the selected node in a horizontal direction. | +| Ctrl + J | VerticalFlip | Flips the selected node in a vertical direction. | | Ctrl + B | ToggleBold | Adds and removes the Bold text style to the annotation. | | Ctrl + I | ToggleItalic | Adds and removes the Italice text style to the annotation. | | Ctrl + U | ToggleUnderline | Adds and removes the Underline text style to the annotation. | From be9753fba12833dcb9a05e17f63bffdba0f3f573 Mon Sep 17 00:00:00 2001 From: Prakash Perumal <63277969+prakashperumal1892@users.noreply.github.com> Date: Tue, 1 Nov 2022 19:48:01 +0530 Subject: [PATCH 3/4] Update Keyboard.md --- wpf/Diagram/Interaction/Keyboard.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wpf/Diagram/Interaction/Keyboard.md b/wpf/Diagram/Interaction/Keyboard.md index 6e60a93382..5b911b8345 100644 --- a/wpf/Diagram/Interaction/Keyboard.md +++ b/wpf/Diagram/Interaction/Keyboard.md @@ -24,14 +24,14 @@ The following table illustrates list of Commands with key Gesture. | Ctrl + Y | Redo | Redo(Restores the last editing action when no other actions have occurred since the last undo on diagram). | | Ctrl + D | Duplicate | Copies the selected element from the diagram and pastes the copied element into the diagram. | | Delete | Delete | Delete the selected elements in the diagram. | -| LeftArrow | MoveLeft | MoveLeft (move the selected elements towards left by one pixel). | +| LeftArrow | MoveLeft | MoveLeft (move the selected elements towards the left by one pixel). | | Shift + LeftArrow | MoveLeft | MoveLeft (move the selected elements towards the left by ten pixels). | -| RightArrow | MoveRight | MoveRight (move the selected elements towards right by one pixel). | +| RightArrow | MoveRight | MoveRight (move the selected elements towards the right by one pixel). | | Shift + RightArrow | MoveRight | MoveRight (move the selected elements towards the right by ten pixels). | -| UpArrow | MoveUp | MoveUp (move the selected elements towards up by one pixel). | -| Shift + UpArrow | MoveUp | MoveUp (move the selected elements towards up by ten pixels). | -| DownArrow | MoveDown | MoveDown (move the selected elements upwards by one pixel). | -| Shift + DownArrow | MoveDown | MoveDown (move the selected elements upwards by ten pixels). | +| UpArrow | MoveUp | MoveUp (move the selected elements upwards by one pixel). | +| Shift + UpArrow | MoveUp | MoveUp (move the selected elements upwards by ten pixels). | +| DownArrow | MoveDown | MoveDown (move the selected elements downwards by one pixel). | +| Shift + DownArrow | MoveDown | MoveDown (move the selected elements downwards by ten pixels). | | MouseScroll | Zoom | Scrolls the diagram page up and down in a vertical direction. | | Shift + MouseScroll | Zoom | Scrolls the diagram page left and right in a horizontal direction. | | Ctrl + MouseScroll | Zoom | Zoom(Zoom in/Zoom out the diagram). | From c38b8597b44038c1021baaafc00cef7f4d572f87 Mon Sep 17 00:00:00 2001 From: Prakash Perumal <63277969+prakashperumal1892@users.noreply.github.com> Date: Wed, 2 Nov 2022 09:32:02 +0530 Subject: [PATCH 4/4] Update Keyboard.md --- wpf/Diagram/Interaction/Keyboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpf/Diagram/Interaction/Keyboard.md b/wpf/Diagram/Interaction/Keyboard.md index 5b911b8345..dfd841284b 100644 --- a/wpf/Diagram/Interaction/Keyboard.md +++ b/wpf/Diagram/Interaction/Keyboard.md @@ -54,7 +54,7 @@ The following table illustrates list of Commands with key Gesture. | Ctrl + H | HorizontalFlip | Flips the selected node in a horizontal direction. | | Ctrl + J | VerticalFlip | Flips the selected node in a vertical direction. | | Ctrl + B | ToggleBold | Adds and removes the Bold text style to the annotation. | -| Ctrl + I | ToggleItalic | Adds and removes the Italice text style to the annotation. | +| Ctrl + I | ToggleItalic | Adds and removes the Italic text style to the annotation. | | Ctrl + U | ToggleUnderline | Adds and removes the Underline text style to the annotation. | | Ctrl + 1 | Pointer Tool | To select, move or resize the elements in the diagram. | | Ctrl + 2 | Text Tool | To draw a text node. |