2024-08-05 10:11:58 +08:00
|
|
|
<local:NodeControlBase x:Class="Serein.WorkBench.Node.View.FlipflopNodeControl"
|
|
|
|
|
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"
|
2024-08-07 21:17:19 +08:00
|
|
|
xmlns:themes="clr-namespace:Serein.WorkBench.Themes">
|
2024-08-05 10:11:58 +08:00
|
|
|
|
|
|
|
|
<UserControl.Resources>
|
|
|
|
|
<vm:TypeToStringConverter x:Key="TypeToStringConverter"/>
|
|
|
|
|
<!--<themes:ConditionControl x:Key="ConditionControl"/>-->
|
|
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
<Border Grid.Row="0" Background="#FFFFD2" BorderBrush="Black" BorderThickness="1">
|
2024-08-05 19:43:57 +08:00
|
|
|
<TextBlock Text="{Binding MethodDetails.MethodTips, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-08-05 10:11:58 +08:00
|
|
|
</Border>
|
|
|
|
|
<!--<themes:ExplicitDataControl Grid.Row="1" ExplicitDatas="{Binding ExplicitDatas}" />-->
|
|
|
|
|
<themes:MethodDetailsControl Grid.Row="1" MethodDetails="{Binding MethodDetails}" />
|
|
|
|
|
<!--<themes:ConditionControl Grid.Row="2" ></themes:ConditionControl>-->
|
|
|
|
|
</Grid>
|
|
|
|
|
</local:NodeControlBase>
|