DynamicEditorForm.xaml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. <syncfusion:ChromelessWindow.DataContext>
  26. <local:DynamicEditorFormModel />
  27. </syncfusion:ChromelessWindow.DataContext>
  28. <syncfusion:ChromelessWindow.Resources>
  29. <!--<local:MyObservableCollection x:Key="rightheaderItems">
  30. <Button Content="Hi There"/>
  31. <syncfusion:ButtonAdv x:Name="Wiki" Height="25" Width="100" Label="Online Documentation" SizeMode="Normal" Click="Wiki_Click" SmallIcon="pack://application:,,,/Resources/help.png"/>
  32. </local:MyObservableCollection>-->
  33. </syncfusion:ChromelessWindow.Resources>
  34. <local:EmbeddedDynamicEditorForm x:Name="Form"/>
  35. </wpf:ThemableChromelessWindow>