This commit is contained in:
chfei committed 2026-09-09 15:49:28 +08:00
1 parent 11599bc7d3
commit e12c419ef3
5 files changed
+230 -16

No files matched your search

+3 -2
View File
@@ -3,6 +3,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:local="clr-namespace:Main.Test"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:tf="Trade.Framework"
@@ -12,8 +13,6 @@
Width="800"
Height="450"
DataContext="{tf:DISource Type=vm:MainViewModel}"
NonClientAreaContent=""
NonClientAreaHeight="200"
ResizeMode="CanResizeWithGrip"
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">
@@ -22,7 +21,9 @@
<DataGrid
Height="Auto"
d:ItemsSource="{d:SampleData ItemCount=10}"
hc:DataGridAttach.ShowRowNumber="True"
ItemsSource="{Binding Data}"
RowHeaderWidth="30"
Style="{StaticResource DefaultDataGridStyle}">
<DataGrid.Columns>
<DataGridTextColumn