Wrong order of redo and undo strokes?

I want to implement undo and redo of inkcanvas strokes. I want to implement redo and undo that can operate multiple times in a row. I don’t know where is the problem with my code. Please help me. My code is as follows´╝Ü xaml: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="100" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="50"… Read More Wrong order of redo and undo strokes?