DynamicEditorForm.xaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <wpf:ThemableChromelessWindow x:Class="InABox.DynamicGrid.DynamicEditorForm"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:InABox.DynamicGrid"
  7. xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
  8. xmlns:wpf="clr-namespace:InABox.Wpf"
  9. mc:Ignorable="d"
  10. Title="Dynamic Editor"
  11. WindowStartupLocation="CenterScreen"
  12. Closing="Window_Closing"
  13. Loaded="ThemableChromelessWindow_Loaded"
  14. syncfusion:SkinStorage.VisualStyle="Metro"
  15. TitleTextAlignment="Center"
  16. IconAlignment="Left"
  17. TitleBarBackground="WhiteSmoke"
  18. TitleBarForeground="Black"
  19. ResizeBorderThickness="0.75"
  20. LeftHeaderItemsSource="{DynamicResource rightHeaderItems}"
  21. BorderBrush="Gray"
  22. BorderThickness="0,0.75,0,0"
  23. Background="White"
  24. CornerRadius="0"
  25. d:DesignHeight="400" d:DesignWidth="400">
  26. <syncfusion:ChromelessWindow.DataContext>
  27. <local:DynamicEditorFormModel />
  28. </syncfusion:ChromelessWindow.DataContext>
  29. <syncfusion:ChromelessWindow.Resources>
  30. <!--<local:MyObservableCollection x:Key="rightheaderItems">
  31. <Button Content="Hi There"/>
  32. <syncfusion:ButtonAdv x:Name="Wiki" Height="25" Width="100" Label="Online Documentation" SizeMode="Normal" Click="Wiki_Click" SmallIcon="pack://application:,,,/Resources/help.png"/>
  33. </local:MyObservableCollection>-->
  34. </syncfusion:ChromelessWindow.Resources>
  35. <local:EmbeddedDynamicEditorForm x:Name="Form" x:FieldModifier="public" OnChanged="Form_OnOnChanged" Margin="5"
  36. OnReload="Form_OnReload"/>
  37. </wpf:ThemableChromelessWindow>