public SelectionMovedOrResizedCI(CommandStack commandStack, StrokeCollection selection, Rect newrect, Rect oldrect, int editingOperationCount) : base(commandStack) { _selection = selection; _newrect = newrect; _oldrect = oldrect; _editingOperationCount = editingOperationCount; }
public StrokesAddedOrRemovedCI(CommandStack commandStack, InkCanvasEditingMode editingMode, StrokeCollection added, StrokeCollection removed, int editingOperationCount) : base(commandStack) { _editingMode = editingMode; _added = added; _removed = removed; _editingOperationCount = editingOperationCount; }
protected CommandItem(CommandStack commandStack) { _commandStack = commandStack; }
/// <summary> /// Initialization. /// </summary> protected override void OnInitialized(EventArgs e) { base.OnInitialized(e); _cmdStack = new CommandStack(MyInkCanvas.Strokes); }