大量更新
This commit is contained in:
@@ -1,20 +1,22 @@
|
||||
<neu:NeoWindow
|
||||
Height="600"
|
||||
Icon="/Resources/Images/ImageTest.png"
|
||||
Title="Custom Control Test"
|
||||
Width="800"
|
||||
d:Height="1200"
|
||||
d:SizeToContent="WidthAndHeight"
|
||||
mc:Ignorable="d"
|
||||
x:Class="NeoUITest.ControlTestWindow"
|
||||
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:dataModel="clr-namespace:NeoUITest.DataModel"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:neu="https://github.com/ShrlAlgo/NeoUI"
|
||||
xmlns:sys="clr-namespace:System;assembly=netfx.force.conflicts"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
Title="测试"
|
||||
Width="800"
|
||||
Height="600"
|
||||
d:Height="1200"
|
||||
d:SizeToContent="WidthAndHeight"
|
||||
Icon="/Resources/Images/ImageTest.png"
|
||||
mc:Ignorable="d">
|
||||
<!-- 主窗口背景色,这是拟态风格的基础 -->
|
||||
<neu:NeoWindow.Resources>
|
||||
<dataModel:DataGridDemo x:Key="Dgd" />
|
||||
<!--<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="pack://application:,,,/NeuWPFTest;component/ButtonStyles.xaml" />
|
||||
@@ -42,31 +44,48 @@
|
||||
PropertyValue="154" />
|
||||
<UniformGrid
|
||||
Grid.Row="6"
|
||||
HorizontalAlignment="Center"
|
||||
Margin="20">
|
||||
Margin="20"
|
||||
HorizontalAlignment="Center">
|
||||
<Button
|
||||
Content="Button"
|
||||
Style="{StaticResource NeuButtonStyle}"
|
||||
Style="{StaticResource EmbossButtonStyle}"
|
||||
ToolTip="测试"
|
||||
ToolTipService.Placement="Left" />
|
||||
<Button
|
||||
Content="Button"
|
||||
Style="{StaticResource NeuButtonStyle}"
|
||||
Style="{StaticResource EmbossButtonStyle}"
|
||||
ToolTip="测试"
|
||||
ToolTipService.Placement="Top" />
|
||||
<Button
|
||||
Content="Button"
|
||||
Style="{StaticResource NeuButtonStyle}"
|
||||
Style="{StaticResource EmbossButtonStyle}"
|
||||
ToolTip="测试"
|
||||
ToolTipService.Placement="Right" />
|
||||
<Button
|
||||
Content="Button"
|
||||
Style="{StaticResource NeuButtonStyle}"
|
||||
Style="{StaticResource EmbossButtonStyle}"
|
||||
ToolTip="测试"
|
||||
ToolTipService.InitialShowDelay="0"
|
||||
ToolTipService.Placement="Bottom" />
|
||||
<TextBox Style="{StaticResource NeuTextBoxStyle}" Text="TextBox" />
|
||||
<TextBox Style="{StaticResource SlotTextBoxStyle}" Text="TextBox" />
|
||||
</UniformGrid>
|
||||
<neu:NeuDataGrid
|
||||
x:Name="NeuDG1"
|
||||
Margin="4"
|
||||
BindableSelectedItems="{Binding SelectedDataGridItems, Mode=TwoWay}"
|
||||
DataContext="{StaticResource Dgd}"
|
||||
ItemsSource="{Binding DataCollection}" />
|
||||
<DataGrid
|
||||
Margin="4"
|
||||
DataContext="{StaticResource Dgd}"
|
||||
ItemsSource="{Binding DataCollection}" />
|
||||
<DataGrid
|
||||
x:Name="DataGridCheckBox"
|
||||
Margin="4"
|
||||
DataContext="{StaticResource Dgd}"
|
||||
ItemsSource="{Binding DataCollection}"
|
||||
Style="{StaticResource CheckBoxHeadDataGridStyle}" />
|
||||
|
||||
</neu:StackPanel>
|
||||
</Grid>
|
||||
</neu:NeoWindow>
|
||||
Reference in New Issue
Block a user