2024-08-05 10:11:58 +08:00
|
|
|
<local:NodeControlBase x:Class="Serein.WorkBench.Node.View.ActionNodeControl"
|
|
|
|
|
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"
|
2024-08-08 21:39:42 +08:00
|
|
|
MaxWidth="300">
|
2024-08-05 10:11:58 +08:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.ToolTip>
|
2024-08-05 19:43:57 +08:00
|
|
|
<ToolTip Background="LightYellow" Foreground="Black" Content="{Binding MethodDetails.MethodName, UpdateSourceTrigger=PropertyChanged}" />
|
2024-08-05 10:11:58 +08:00
|
|
|
</Grid.ToolTip>
|
|
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
2024-08-08 21:39:42 +08:00
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal" Background="#FFCFDF">
|
|
|
|
|
<CheckBox VerticalContentAlignment="Center">
|
|
|
|
|
|
|
|
|
|
</CheckBox>
|
2024-09-06 09:13:13 +08:00
|
|
|
<TextBlock Text="{Binding MethodDetails.MethodTips}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-08-08 21:39:42 +08:00
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-05 10:11:58 +08:00
|
|
|
<themes:MethodDetailsControl Grid.Row="1" MethodDetails="{Binding MethodDetails}" />
|
2024-08-08 21:39:42 +08:00
|
|
|
|
2024-08-05 10:11:58 +08:00
|
|
|
<Grid Grid.Row="2" >
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="50"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Border Grid.Column="0" Background="#EAFFD0" BorderBrush="#EAFFD0" BorderThickness="1">
|
|
|
|
|
<TextBlock Text="result" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Column="1" Background="#EAFFD0" BorderBrush="#EAFFD0" BorderThickness="1">
|
|
|
|
|
<TextBlock Text="{Binding MethodDetails.ReturnType}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</local:NodeControlBase>
|