Skip to content

Commit

Permalink
improve interact drag window
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Sep 11, 2022
1 parent cc13728 commit f85da99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions AddInManager/View/FrmAddInManager.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<KeyBinding Command="{Binding HelpCommand}" Gesture="F1" />
<KeyBinding Command="{Binding ChangeThemCommand}" Gesture="Alt+T" />
</Window.InputBindings>
<Grid controls:EnableDragHelper.EnableDrag="True" Background="{DynamicResource WindowBackground}">
<Grid Background="{DynamicResource WindowBackground}">
<Grid.RowDefinitions>
<RowDefinition Height="30" />
<RowDefinition />
Expand Down Expand Up @@ -102,7 +102,7 @@
</Grid>

<Grid Grid.Row="1">
<TabControl x:Name="TabControl" SelectedIndex="{Binding SelectedTab, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
<TabControl x:Name="TabControl" SelectedIndex="{Binding SelectedTab, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
<TabItem
x:Name="TabCommand"
FontSize="14"
Expand All @@ -111,6 +111,7 @@
PreviewKeyDown="HandleTreeViewCommandKeyPress">
<control:ExtendedTreeView
x:Name="TreeViewCommand"
controls:EnableDragHelper.EnableDrag="True"
FontSize="12"
ItemsSource="{Binding CommandItems, Mode=TwoWay}"
PreviewMouseWheel="TreeViewCommand_OnPreviewMouseWheel"
Expand Down Expand Up @@ -149,6 +150,7 @@
</TabItem>
<TabItem
x:Name="TabApp"
controls:EnableDragHelper.EnableDrag="True"
FontSize="14"
Header="Load App"
IsSelected="{Binding IsTabAppSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Expand Down

0 comments on commit f85da99

Please sign in to comment.