Files
BeWoPlaner/BeWo/View/Detail/AI/AiPromptbausteinComplexSelectionView.xaml

49 lines
2.1 KiB
Plaintext
Raw Normal View History

2026-06-12 11:21:28 +02:00
<view:BeWoView
2026-06-12 15:44:39 +02:00
x:Class="BeWo.View.Detail.AI.AiPromptbausteinComplexSelectionView"
2026-01-13 12:46:43 +01:00
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ai="clr-namespace:BeWo.ViewModel.View.AI"
2026-06-12 11:21:28 +02:00
xmlns:controls="clr-namespace:BeWo.View.Controls.AI"
2026-01-13 12:46:43 +01:00
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
2026-06-12 15:44:39 +02:00
xmlns:view="clr-namespace:BeWo.View"
2026-01-13 12:46:43 +01:00
d:DataContext="{d:DesignInstance Type=ai:AiPromptbausteinSelectionComplexViewModel,
IsDesignTimeCreatable=True}"
d:DesignHeight="450"
d:DesignWidth="800"
Background="{StaticResource ObjectEditBackgroundBrush}"
2026-01-13 12:46:43 +01:00
mc:Ignorable="d">
2026-06-12 11:21:28 +02:00
<view:BeWoView.Resources>
2026-01-13 12:46:43 +01:00
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="..\..\..\Styles\ModernOrangeBlack.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
2026-06-12 11:21:28 +02:00
</view:BeWoView.Resources>
2026-01-13 12:46:43 +01:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
2026-01-13 12:46:43 +01:00
</Grid.RowDefinitions>
2026-06-12 15:44:39 +02:00
<Rectangle Height="6" Fill="{DynamicResource ServiceRecordContentBrush}" />
<Grid Grid.Row="1" Margin="6">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
2026-06-12 11:21:28 +02:00
<controls:AiPromptbausteinLibraryControl
x:Name="libraryControl"
2026-06-12 15:44:39 +02:00
IsEditMode="{Binding CanOpenContextMenu}"
2026-06-12 11:21:28 +02:00
PromptActivatedCommand="{Binding SendCommand}"
RoutineActivatedCommand="{Binding SendCommand}" />
<Button
2026-06-12 11:21:28 +02:00
Grid.Row="1"
MinWidth="50"
2026-06-12 11:21:28 +02:00
Margin="6"
Command="{Binding SendCommand}"
Content="{Binding AcceptButtonText}"
Style="{StaticResource PrimaryButton}" />
</Grid>
2026-01-13 12:46:43 +01:00
</Grid>
2026-06-12 11:21:28 +02:00
</view:BeWoView>