Skip to content

Commit 26c25c8

Browse files
committed
#1036 removing redundant code
1 parent ec918ff commit 26c25c8

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/GridSplitter/GridSplitter.Events.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private void Gripper_KeyDown(object sender, KeyRoutedEventArgs e)
9595
return;
9696
}
9797

98-
if (gripper.ResizeDirection == GridSplitter.GridResizeDirection.Rows)
98+
if (gripper.ResizeDirection == GridResizeDirection.Rows)
9999
{
100100
if (e.Key == VirtualKey.Up)
101101
{

Microsoft.Toolkit.Uwp.UI.Controls/GridSplitter/GridSplitterGripper.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// ******************************************************************
1212

1313
using System;
14-
using Windows.System;
15-
using Windows.UI.Core;
1614
using Windows.UI.Xaml;
1715
using Windows.UI.Xaml.Controls;
1816
using Windows.UI.Xaml.Media;
@@ -31,10 +29,6 @@ internal class GridSplitterGripper : ContentControl
3129

3230
public GridSplitter.GridResizeDirection ResizeDirection { get; private set; }
3331

34-
internal Action<double> OnKeyboardHorizontalMoveAction { get; set; }
35-
36-
internal Action<double> OnKeyboardVerticalMoveAction { get; set; }
37-
3832
internal Brush GripperForeground
3933
{
4034
set

0 commit comments

Comments
 (0)