DynamicEditorForm.xaml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. syncfusion:SkinStorage.VisualStyle="Metro"
  14. TitleTextAlignment="Center"
  15. IconAlignment="Left"
  16. TitleBarBackground="WhiteSmoke"
  17. TitleBarForeground="Black"
  18. ResizeBorderThickness="0.75"
  19. LeftHeaderItemsSource="{DynamicResource rightHeaderItems}"
  20. BorderBrush="Gray"
  21. BorderThickness="0,0.75,0,0"
  22. Background="White"
  23. CornerRadius="0"
  24. d:DesignHeight="400" d:DesignWidth="400"
  25. >
  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" OnChanged="Form_OnOnChanged" Margin="5"/>
  36. </wpf:ThemableChromelessWindow>