更新整理
This commit is contained in:
@@ -1,56 +1,55 @@
|
||||
<ui:FluentWindowEx
|
||||
x:Class="ShrlAlgo.RvKits.RvCivil.BricksFinishesView"
|
||||
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:rvCivil="clr-namespace:ShrlAlgo.RvKits.RvCivil"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
Title="铺贴"
|
||||
Width="180"
|
||||
Height="500"
|
||||
MinHeight="500"
|
||||
Title="铺贴"
|
||||
Width="180"
|
||||
d:DataContext="{d:DesignInstance rvCivil:BricksFinishesViewModel}"
|
||||
mc:Ignorable="d">
|
||||
mc:Ignorable="d"
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.RvCivil.BricksFinishesView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:rvCivil="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCivil"
|
||||
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>
|
||||
<ui:AutoGrid ChildMargin="5" Columns="*">
|
||||
<ui:TextBoxEx
|
||||
x:Name="TbPavementLength"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
Prefix="砖长:"
|
||||
Suffix="mm"
|
||||
Text="{Binding PavementLength, StringFormat={}{0:F2}, UpdateSourceTrigger=PropertyChanged}" />
|
||||
Text="{Binding PavementLength, StringFormat={}{0:F2}, UpdateSourceTrigger=PropertyChanged}"
|
||||
x:Name="TbPavementLength" />
|
||||
<ui:TextBoxEx
|
||||
x:Name="TbPavementWidth"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
Prefix="砖宽:"
|
||||
Suffix="mm"
|
||||
Text="{Binding PavementWidth, StringFormat={}{0:F2}, UpdateSourceTrigger=PropertyChanged}" />
|
||||
Text="{Binding PavementWidth, StringFormat={}{0:F2}, UpdateSourceTrigger=PropertyChanged}"
|
||||
x:Name="TbPavementWidth" />
|
||||
<ui:TextBoxEx
|
||||
x:Name="TbPavementGap"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
Prefix="砖缝:"
|
||||
Suffix="mm"
|
||||
Text="{Binding PavementGap, StringFormat={}{0:F2}, UpdateSourceTrigger=PropertyChanged}" />
|
||||
Text="{Binding PavementGap, StringFormat={}{0:F2}, UpdateSourceTrigger=PropertyChanged}"
|
||||
x:Name="TbPavementGap" />
|
||||
<ui:TextBoxEx
|
||||
x:Name="TbPavementThickness"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
Prefix="砖厚:"
|
||||
Suffix="mm"
|
||||
Text="{Binding PavementThickness, StringFormat={}{0:F2}, UpdateSourceTrigger=PropertyChanged}" />
|
||||
Text="{Binding PavementThickness, StringFormat={}{0:F2}, UpdateSourceTrigger=PropertyChanged}"
|
||||
x:Name="TbPavementThickness" />
|
||||
<ui:TextBoxEx
|
||||
x:Name="TbPavementBaseOffset"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
Prefix="墙砖底标高:"
|
||||
Suffix="mm"
|
||||
Text="{Binding WallBaseOffset, StringFormat={}{0:F2}, UpdateSourceTrigger=PropertyChanged}" />
|
||||
Text="{Binding WallBaseOffset, StringFormat={}{0:F2}, UpdateSourceTrigger=PropertyChanged}"
|
||||
x:Name="TbPavementBaseOffset" />
|
||||
<ui:TextBoxEx
|
||||
x:Name="TbPavementName"
|
||||
Prefix="铺砖名(类型名):"
|
||||
Text="{Binding PanelName, UpdateSourceTrigger=PropertyChanged}" />
|
||||
Text="{Binding PanelName, UpdateSourceTrigger=PropertyChanged}"
|
||||
x:Name="TbPavementName" />
|
||||
<GroupBox Grid.Row="1" Header="铺设方式">
|
||||
<UniformGrid Rows="1">
|
||||
<RadioButton Content="房间" IsChecked="{Binding ByRoom, UpdateSourceTrigger=PropertyChanged}" />
|
||||
@@ -59,10 +58,10 @@
|
||||
</GroupBox>
|
||||
<CheckBox Content="边界留缝" IsChecked="{Binding IsEdgeExistGap, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Button
|
||||
x:Name="BtnByFace"
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding PlaceBricksCommand}"
|
||||
Content="铺设"
|
||||
IsEnabled="{Binding HasErrors, Mode=OneWay, Converter={StaticResource InvertBooleanConverter}, UpdateSourceTrigger=PropertyChanged}" />
|
||||
HorizontalAlignment="Stretch"
|
||||
IsEnabled="{Binding HasErrors, Mode=OneWay, Converter={StaticResource InvertBooleanConverter}, UpdateSourceTrigger=PropertyChanged}"
|
||||
x:Name="BtnByFace" />
|
||||
</ui:AutoGrid>
|
||||
</ui:FluentWindowEx>
|
||||
Reference in New Issue
Block a user