mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
分组,取消分组 ReDo UnDo 整理
This commit is contained in:
@@ -92,11 +92,17 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
get; set;
|
||||
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.None && e.Key == Key.Down;
|
||||
|
||||
[Description("Group Keyboard shortcut (CTRL+Shift+G by default)")]
|
||||
[Description("Group Keyboard shortcut (CTRL+G by default)")]
|
||||
public Func<KeyEventArgs, bool> Group
|
||||
{
|
||||
get; set;
|
||||
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Control && e.Key == Key.G;
|
||||
|
||||
[Description("Ungroup Keyboard shortcut (Shift+G by default)")]
|
||||
public Func<KeyEventArgs, bool> Ungroup
|
||||
{
|
||||
get; set;
|
||||
} = e => e.KeyboardDevice.Modifiers == ModifierKeys.Shift | e.Key == Key.G;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user