更新整理
This commit is contained in:
@@ -1,18 +1,17 @@
|
||||
<ui:FluentWindowEx
|
||||
x:Class="ShrlAlgo.RvKits.Windows.MessageWin"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
|
||||
xmlns:local1="clr-namespace:ShrlAlgo.RvKits.Windows"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
Height="450"
|
||||
Title="{Binding WinTitle}"
|
||||
Width="800"
|
||||
Height="450"
|
||||
d:DataContext="{d:DesignInstance Type=local1:MessageViewModel}"
|
||||
mc:Ignorable="d">
|
||||
mc:Ignorable="d"
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.Windows.MessageWin"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local1="clr-namespace:ShrlAlgoToolkit.RevitAddins.Windows"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</Window.Resources>
|
||||
@@ -21,12 +20,12 @@
|
||||
</Window.DataContext>-->
|
||||
<ui:StackPanel Margin="5" Spacing="5">
|
||||
<DataGrid
|
||||
ui:StackPanel.Fill="Fill"
|
||||
AutoGenerateColumns="False"
|
||||
CanUserAddRows="False"
|
||||
IsReadOnly="True"
|
||||
ItemsSource="{Binding ErrorModels}"
|
||||
ToolTip="双击行可快速定位">
|
||||
ToolTip="双击行可快速定位"
|
||||
ui:StackPanel.Fill="Fill">
|
||||
<b:Interaction.Triggers>
|
||||
<b:EventTrigger EventName="MouseDoubleClick">
|
||||
<b:InvokeCommandAction Command="{Binding ShowElementCommand}" CommandParameter="{Binding SelectedItem, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=DataGrid}}" />
|
||||
@@ -52,7 +51,7 @@
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<ui:StackPanel Grid.Row="1" Orientation="Horizontal">
|
||||
<TextBox ui:StackPanel.Fill="Fill" Text="注:错误需人处理、或无法处理" />
|
||||
<TextBox Text="注:错误需人处理、或无法处理" ui:StackPanel.Fill="Fill" />
|
||||
<TextBlock Text="{Binding Count, StringFormat=错误数量:{0}}" />
|
||||
<TextBlock Text="{Binding Footer}" />
|
||||
</ui:StackPanel>
|
||||
|
||||
Reference in New Issue
Block a user