mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
43 lines
2.1 KiB
XML
43 lines
2.1 KiB
XML
<local:NodeControlBase x:Class="Serein.Workbench.Node.View.UINodeControl"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:Serein.Workbench.Node.View"
|
|
xmlns:vm="clr-namespace:Serein.Workbench.Node.ViewModel"
|
|
xmlns:themes="clr-namespace:Serein.Workbench.Themes"
|
|
d:DataContext="{d:DesignInstance vm:UINodeControlViewModel}"
|
|
mc:Ignorable="d"
|
|
MinWidth="50"
|
|
Initialized="NodeControlBase_Initialized"
|
|
Loaded="NodeControlBase_Loaded"
|
|
>
|
|
<Grid x:Name="MainGrid">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid Grid.Row="0" Background="#E7EFF5" >
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<local:ExecuteJunctionControl Grid.Column="0" MyNode="{Binding NodeModel}" x:Name="ExecuteJunctionControl" HorizontalAlignment="Left" Grid.RowSpan="2"/>
|
|
<Border Grid.Column="1" BorderThickness="1" HorizontalAlignment="Stretch">
|
|
<TextBlock Text="{Binding NodeModel.DisplayName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center"/>
|
|
</Border>
|
|
|
|
</Grid>
|
|
|
|
<!--显示UI-->
|
|
<Border x:Name="EmbedContainer" Width="200" Height="200" Grid.Row="1" BorderBrush="Black" BorderThickness="1">
|
|
|
|
</Border>
|
|
|
|
|
|
</Grid>
|
|
</local:NodeControlBase>
|