Browse Source

pull/1242/head
BoucherS_cp 10 years ago
parent
commit
a9332abb2d
  1. 2
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AssemblyVersionInfo.cs
  2. 9
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Theme.xaml
  3. 2
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/AssemblyVersionInfo.cs
  4. 9
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Theme.xaml
  5. 2
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/AssemblyVersionInfo.cs
  6. 9
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Theme.xaml
  7. 2
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/AssemblyVersionInfo.cs
  8. 39
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneDropTarget.cs
  9. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableControl.cs
  10. 10
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableTabItem.cs
  11. 35
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentControl.cs
  12. 10
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentTabItem.cs
  13. 4
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs
  14. 2
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/NativeMethods.cs
  15. 9
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Utilities.cs
  16. 15
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorablePane.cs
  17. 21
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutContent.cs
  18. 31
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentPane.cs
  19. 28
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs
  20. 50
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/generic.xaml
  21. 2
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.DataGrid/AssemblyVersionInfo.cs
  22. 23
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/CheckListsView.xaml.txt
  23. 117
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DropDownSplitButtonView.xaml.txt
  24. 35
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.cs.txt
  25. 49
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.txt
  26. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialCheckBoxView.xaml.cs.txt
  27. 46
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialCheckBoxView.xaml.txt
  28. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialComboBoxView.xaml.cs.txt
  29. 48
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialComboBoxView.xaml.txt
  30. 59
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.cs.txt
  31. 56
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.txt
  32. 41
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDemoView.cs.txt
  33. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDropDownView.xaml.cs.txt
  34. 49
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDropDownView.xaml.txt
  35. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialFrameView.xaml.cs.txt
  36. 48
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialFrameView.xaml.txt
  37. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialListBoxView.xaml.cs.txt
  38. 50
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialListBoxView.xaml.txt
  39. 50
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialProgressBarCircularView.xaml.cs.txt
  40. 60
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialProgressBarCircularView.xaml.txt
  41. 50
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialProgressBarView.xaml.cs.txt
  42. 57
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialProgressBarView.xaml.txt
  43. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialRadioButtonView.xaml.cs.txt
  44. 46
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialRadioButtonView.xaml.txt
  45. 37
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialSliderView.xaml.cs.txt
  46. 63
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialSliderView.xaml.txt
  47. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialSwitchView.xaml.cs.txt
  48. 48
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialSwitchView.xaml.txt
  49. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialTabsView.xaml.cs.txt
  50. 57
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialTabsView.xaml.txt
  51. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialTextFieldView.xaml.cs.txt
  52. 56
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialTextFieldView.xaml.txt
  53. 38
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialToastView.xaml.cs.txt
  54. 55
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialToastView.xaml.txt
  55. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialToolTipView.xaml.cs.txt
  56. 52
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialToolTipView.xaml.txt
  57. 26
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/PropertyGridAttributesView.xaml.cs.txt
  58. 14
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/PropertyGridView.xaml.txt
  59. 4
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ToggleSwitchView.xaml.txt
  60. 113
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/WatermarkTextboxView.xaml.txt
  61. 45
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/MainWindow.xaml
  62. 4
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/AssemblyInfo.cs
  63. 10
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Resources.resx
  64. 11
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Resources/TextBlockStyles.xaml
  65. 117
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Button/Views/DropDownSplitButtonView.xaml
  66. 23
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/CheckLists/Views/CheckListsView.xaml
  67. 29
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Converters/EqualsMinusOneConverter.cs
  68. 27
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Data/RequiredRule.cs
  69. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialButton.png
  70. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialCheckBox.png
  71. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialComboBox.png
  72. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialControls.png
  73. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialDropDown.png
  74. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialFrame.png
  75. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialListBox.png
  76. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialProgressBar.png
  77. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialProgressBarCircular.png
  78. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialRadioButton.png
  79. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialSlider.png
  80. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialSwitch.png
  81. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialTabs.png
  82. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialTextField.png
  83. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialToast.png
  84. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialToolTip.png
  85. 25
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Resources/CommonResources.xaml
  86. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Resources/PencilTool16.png
  87. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Resources/WhitePen.png
  88. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Resources/building16.png
  89. BIN
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Resources/italy.4.gif
  90. 49
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialButtonView.xaml
  91. 35
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialButtonView.xaml.cs
  92. 46
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialCheckBoxView.xaml
  93. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialCheckBoxView.xaml.cs
  94. 48
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialComboBoxView.xaml
  95. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialComboBoxView.xaml.cs
  96. 56
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialControlsView.xaml
  97. 59
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialControlsView.xaml.cs
  98. 41
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialDemoView.cs
  99. 49
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialDropDownView.xaml
  100. 34
      ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialDropDownView.xaml.cs

2
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/AssemblyVersionInfo.cs

@ -21,7 +21,7 @@
internal static class _XceedVersionInfo internal static class _XceedVersionInfo
{ {
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string BaseVersion = "2.6"; public const string BaseVersion = "2.7";
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string Version = BaseVersion + public const string Version = BaseVersion +
".0.0"; ".0.0";

9
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Aero/Theme.xaml

@ -957,6 +957,7 @@
<Style x:Key="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}"> <Style x:Key="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}">
<Setter Property="Background" Value="{DynamicResource {x:Static avalonDockAero:AeroColors.BaseColor7Key}}"/> <Setter Property="Background" Value="{DynamicResource {x:Static avalonDockAero:AeroColors.BaseColor7Key}}"/>
<Setter Property="BorderBrush" Value="{DynamicResource {x:Static avalonDockAero:AeroColors.BaseColor14Key}}"/> <Setter Property="BorderBrush" Value="{DynamicResource {x:Static avalonDockAero:AeroColors.BaseColor14Key}}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="shell:WindowChrome.WindowChrome"> <Setter Property="shell:WindowChrome.WindowChrome">
<Setter.Value> <Setter.Value>
<shell:WindowChrome <shell:WindowChrome
@ -972,7 +973,7 @@
<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}"> <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}">
<Grid> <Grid>
<Border x:Name="WindowBorder" <Border x:Name="WindowBorder"
BorderThickness="1" BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}" Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"> BorderBrush="{TemplateBinding BorderBrush}">
<Grid Margin="3"> <Grid Margin="3">
@ -1092,6 +1093,8 @@
<Style x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}"> <Style x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
<Setter Property="Background" Value="{DynamicResource {x:Static avalonDockAero:AeroColors.BaseColor5Key}}"/> <Setter Property="Background" Value="{DynamicResource {x:Static avalonDockAero:AeroColors.BaseColor5Key}}"/>
<Setter Property="BorderBrush" Value="{DynamicResource {x:Static avalonDockAero:AeroColors.BaseColor16Key}}"/>
<Setter Property="BorderThickness" Value="4"/>
<Setter Property="shell:WindowChrome.WindowChrome"> <Setter Property="shell:WindowChrome.WindowChrome">
<Setter.Value> <Setter.Value>
<shell:WindowChrome <shell:WindowChrome
@ -1106,9 +1109,9 @@
<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}"> <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
<Grid> <Grid>
<Border x:Name="WindowBorder" <Border x:Name="WindowBorder"
BorderThickness="4" BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}" Background="{TemplateBinding Background}"
BorderBrush="{DynamicResource {x:Static avalonDockAero:AeroColors.BaseColor16Key}}"> BorderBrush="{TemplateBinding BorderBrush}">
<Grid > <Grid >
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="18"/> <RowDefinition Height="18"/>

2
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/AssemblyVersionInfo.cs

@ -21,7 +21,7 @@
internal static class _XceedVersionInfo internal static class _XceedVersionInfo
{ {
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string BaseVersion = "2.6"; public const string BaseVersion = "2.7";
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string Version = BaseVersion + public const string Version = BaseVersion +
".0.0"; ".0.0";

9
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.Metro/Theme.xaml

@ -964,6 +964,7 @@
<Style x:Key="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}"> <Style x:Key="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}">
<Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor1}"/> <Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor1}"/>
<Setter Property="BorderBrush" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor6}"/> <Setter Property="BorderBrush" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor6}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="shell:WindowChrome.WindowChrome"> <Setter Property="shell:WindowChrome.WindowChrome">
<Setter.Value> <Setter.Value>
<shell:WindowChrome <shell:WindowChrome
@ -981,7 +982,7 @@
<Border x:Name="WindowBorder" <Border x:Name="WindowBorder"
Background="{TemplateBinding Background}" Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="1"> BorderThickness="{TemplateBinding BorderThickness}">
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="24"/> <RowDefinition Height="24"/>
@ -1113,6 +1114,8 @@
<Style x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}"> <Style x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
<Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor1}"/> <Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor1}"/>
<Setter Property="BorderBrush" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor6}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="shell:WindowChrome.WindowChrome"> <Setter Property="shell:WindowChrome.WindowChrome">
<Setter.Value> <Setter.Value>
<shell:WindowChrome <shell:WindowChrome
@ -1127,9 +1130,9 @@
<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}"> <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
<Grid> <Grid>
<Border x:Name="WindowBorder" <Border x:Name="WindowBorder"
BorderThickness="1" BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}" Background="{TemplateBinding Background}"
BorderBrush="{DynamicResource AvalonDock_ThemeMetro_BaseColor6}"> BorderBrush="{TemplateBinding BorderBrush}">
<Grid > <Grid >
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="24"/> <RowDefinition Height="24"/>

2
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/AssemblyVersionInfo.cs

@ -21,7 +21,7 @@
internal static class _XceedVersionInfo internal static class _XceedVersionInfo
{ {
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string BaseVersion = "2.6"; public const string BaseVersion = "2.7";
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string Version = BaseVersion + public const string Version = BaseVersion +
".0.0"; ".0.0";

9
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock.Themes.VS2010/Theme.xaml

@ -1035,6 +1035,7 @@
<Setter Property="Foreground" Value="{DynamicResource AvalonDock_ThemeVS2010_BaseColor10}"/> <Setter Property="Foreground" Value="{DynamicResource AvalonDock_ThemeVS2010_BaseColor10}"/>
<Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeVS2010_BaseColor33}"/> <Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeVS2010_BaseColor33}"/>
<Setter Property="BorderBrush" Value="{DynamicResource AvalonDock_ThemeVS2010_BaseColor33}"/> <Setter Property="BorderBrush" Value="{DynamicResource AvalonDock_ThemeVS2010_BaseColor33}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="shell:WindowChrome.WindowChrome"> <Setter Property="shell:WindowChrome.WindowChrome">
<Setter.Value> <Setter.Value>
<shell:WindowChrome <shell:WindowChrome
@ -1050,7 +1051,7 @@
<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}"> <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}">
<Grid> <Grid>
<Border x:Name="WindowBorder" <Border x:Name="WindowBorder"
BorderThickness="1" BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}" Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"> BorderBrush="{TemplateBinding BorderBrush}">
<Grid Margin="3"> <Grid Margin="3">
@ -1197,6 +1198,8 @@
<Style x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}"> <Style x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
<Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeVS2010_BaseColor5}"/> <Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeVS2010_BaseColor5}"/>
<Setter Property="BorderBrush" Value="{DynamicResource AvalonDock_ThemeVS2010_BaseColor16}"/>
<Setter Property="BorderThickness" Value="4"/>
<Setter Property="shell:WindowChrome.WindowChrome"> <Setter Property="shell:WindowChrome.WindowChrome">
<Setter.Value> <Setter.Value>
<shell:WindowChrome <shell:WindowChrome
@ -1211,9 +1214,9 @@
<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}"> <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
<Grid> <Grid>
<Border x:Name="WindowBorder" <Border x:Name="WindowBorder"
BorderThickness="4" BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}" Background="{TemplateBinding Background}"
BorderBrush="{DynamicResource AvalonDock_ThemeVS2010_BaseColor16}"> BorderBrush="{TemplateBinding BorderBrush}">
<Grid > <Grid >
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="18"/> <RowDefinition Height="18"/>

2
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/AssemblyVersionInfo.cs

@ -21,7 +21,7 @@
internal static class _XceedVersionInfo internal static class _XceedVersionInfo
{ {
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string BaseVersion = "2.6"; public const string BaseVersion = "2.7";
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string Version = BaseVersion + public const string Version = BaseVersion +
".0.0"; ".0.0";

39
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/DocumentPaneDropTarget.cs

@ -201,7 +201,19 @@ namespace Xceed.Wpf.AvalonDock.Controls
var paneModel = targetModel as LayoutDocumentPane; var paneModel = targetModel as LayoutDocumentPane;
var sourceModel = floatingWindow.RootDocument; var sourceModel = floatingWindow.RootDocument;
int i = _tabIndex == -1 ? 0 : _tabIndex; int i = 0;
if( _tabIndex != -1 )
{
i = _tabIndex;
}
else
{
var previousContainer = ((ILayoutPreviousContainer)sourceModel).PreviousContainer;
if( object.ReferenceEquals( previousContainer, targetModel ) && (sourceModel.PreviousContainerIndex != -1) )
{
i = sourceModel.PreviousContainerIndex;
}
}
sourceModel.IsActive = false; sourceModel.IsActive = false;
paneModel.Children.Insert(i, sourceModel); paneModel.Children.Insert(i, sourceModel);
sourceModel.IsActive = true; sourceModel.IsActive = true;
@ -384,13 +396,30 @@ namespace Xceed.Wpf.AvalonDock.Controls
var paneModel = targetModel as LayoutDocumentPane; var paneModel = targetModel as LayoutDocumentPane;
var layoutAnchorablePaneGroup = floatingWindow.RootPanel as LayoutAnchorablePaneGroup; var layoutAnchorablePaneGroup = floatingWindow.RootPanel as LayoutAnchorablePaneGroup;
int i = _tabIndex == -1 ? 0 : _tabIndex; bool checkPreviousContainer = true;
int i = 0;
if( _tabIndex != -1 )
{
i = _tabIndex;
checkPreviousContainer = false;
}
LayoutAnchorable anchorableToActivate = null; LayoutAnchorable anchorableToActivate = null;
foreach (var anchorableToImport in layoutAnchorablePaneGroup.Descendents().OfType<LayoutAnchorable>().ToArray()) foreach (var anchorableToImport in layoutAnchorablePaneGroup.Descendents().OfType<LayoutAnchorable>().ToArray())
{ {
paneModel.Children.Insert(i, anchorableToImport); if( checkPreviousContainer )
i++; {
anchorableToActivate = anchorableToImport; var previousContainer = ((ILayoutPreviousContainer)anchorableToImport).PreviousContainer;
if( object.ReferenceEquals( previousContainer, targetModel ) && (anchorableToImport.PreviousContainerIndex != -1) )
{
i = anchorableToImport.PreviousContainerIndex;
}
checkPreviousContainer = false;
}
paneModel.Children.Insert(i, anchorableToImport);
i++;
anchorableToActivate = anchorableToImport;
} }
anchorableToActivate.IsActive = true; anchorableToActivate.IsActive = true;

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableControl.cs

@ -78,10 +78,36 @@ namespace Xceed.Wpf.AvalonDock.Controls
/// </summary> /// </summary>
protected virtual void OnModelChanged(DependencyPropertyChangedEventArgs e) protected virtual void OnModelChanged(DependencyPropertyChangedEventArgs e)
{ {
if (Model != null) if( e.OldValue != null )
SetLayoutItem(Model.Root.Manager.GetLayoutItemFromModel(Model)); {
else ((LayoutContent)e.OldValue).PropertyChanged -= Model_PropertyChanged;
SetLayoutItem(null); }
if( Model != null )
{
Model.PropertyChanged += Model_PropertyChanged;
SetLayoutItem( Model.Root.Manager.GetLayoutItemFromModel( Model ) );
}
else
SetLayoutItem( null );
}
private void Model_PropertyChanged( object sender, System.ComponentModel.PropertyChangedEventArgs e )
{
if( e.PropertyName == "IsEnabled" )
{
if( Model != null )
{
IsEnabled = Model.IsEnabled;
if( !IsEnabled && Model.IsActive )
{
if( (Model.Parent != null) && (Model.Parent is LayoutAnchorablePane) )
{
((LayoutAnchorablePane)Model.Parent).SetNextSelectedIndex();
}
}
}
}
} }
#endregion #endregion

10
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorableTabItem.cs

@ -30,7 +30,7 @@ namespace Xceed.Wpf.AvalonDock.Controls
{ {
public class LayoutAnchorableTabItem : Control public class LayoutAnchorableTabItem : Control
{ {
static LayoutAnchorableTabItem() static LayoutAnchorableTabItem()
{ {
DefaultStyleKeyProperty.OverrideMetadata(typeof(LayoutAnchorableTabItem), new FrameworkPropertyMetadata(typeof(LayoutAnchorableTabItem))); DefaultStyleKeyProperty.OverrideMetadata(typeof(LayoutAnchorableTabItem), new FrameworkPropertyMetadata(typeof(LayoutAnchorableTabItem)));
} }
@ -184,8 +184,14 @@ namespace Xceed.Wpf.AvalonDock.Controls
var model = Model; var model = Model;
var container = model.Parent as ILayoutContainer; var container = model.Parent as ILayoutContainer;
var containerPane = model.Parent as ILayoutPane; var containerPane = model.Parent as ILayoutPane;
if( (containerPane is LayoutAnchorablePane) && !((LayoutAnchorablePane)containerPane).CanRepositionItems )
return;
if( (containerPane.Parent != null) && (containerPane.Parent is LayoutAnchorablePaneGroup) && !((LayoutAnchorablePaneGroup)containerPane.Parent).CanRepositionItems )
return;
var childrenList = container.Children.ToList(); var childrenList = container.Children.ToList();
containerPane.MoveChild(childrenList.IndexOf(_draggingItem.Model), childrenList.IndexOf(model)); containerPane.MoveChild( childrenList.IndexOf( _draggingItem.Model ), childrenList.IndexOf( model ) );
} }
} }

35
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentControl.cs

@ -42,7 +42,6 @@ namespace Xceed.Wpf.AvalonDock.Controls
public LayoutDocumentControl() public LayoutDocumentControl()
{ {
//SetBinding(FlowDirectionProperty, new Binding("Model.Root.Manager.FlowDirection") { Source = this }); //SetBinding(FlowDirectionProperty, new Binding("Model.Root.Manager.FlowDirection") { Source = this });
} }
@ -79,10 +78,36 @@ namespace Xceed.Wpf.AvalonDock.Controls
/// </summary> /// </summary>
protected virtual void OnModelChanged(DependencyPropertyChangedEventArgs e) protected virtual void OnModelChanged(DependencyPropertyChangedEventArgs e)
{ {
if (Model != null) if( e.OldValue != null )
SetLayoutItem(Model.Root.Manager.GetLayoutItemFromModel(Model)); {
else ((LayoutContent)e.OldValue).PropertyChanged -= Model_PropertyChanged;
SetLayoutItem(null); }
if( Model != null )
{
Model.PropertyChanged += Model_PropertyChanged;
SetLayoutItem( Model.Root.Manager.GetLayoutItemFromModel( Model ) );
}
else
SetLayoutItem( null );
}
private void Model_PropertyChanged( object sender, System.ComponentModel.PropertyChangedEventArgs e )
{
if( e.PropertyName == "IsEnabled" )
{
if( Model != null )
{
IsEnabled = Model.IsEnabled;
if( !IsEnabled && Model.IsActive )
{
if( (Model.Parent != null) && (Model.Parent is LayoutDocumentPane) )
{
((LayoutDocumentPane)Model.Parent).SetNextSelectedIndex();
}
}
}
}
} }
#endregion #endregion

10
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutDocumentTabItem.cs

@ -29,7 +29,7 @@ namespace Xceed.Wpf.AvalonDock.Controls
{ {
public class LayoutDocumentTabItem : Control public class LayoutDocumentTabItem : Control
{ {
static LayoutDocumentTabItem() static LayoutDocumentTabItem()
{ {
DefaultStyleKeyProperty.OverrideMetadata(typeof(LayoutDocumentTabItem), new FrameworkPropertyMetadata(typeof(LayoutDocumentTabItem))); DefaultStyleKeyProperty.OverrideMetadata(typeof(LayoutDocumentTabItem), new FrameworkPropertyMetadata(typeof(LayoutDocumentTabItem)));
} }
@ -182,8 +182,14 @@ namespace Xceed.Wpf.AvalonDock.Controls
var targetModel = _otherTabs[indexOfTabItemWithMouseOver].Content as LayoutContent; var targetModel = _otherTabs[indexOfTabItemWithMouseOver].Content as LayoutContent;
var container = Model.Parent as ILayoutContainer; var container = Model.Parent as ILayoutContainer;
var containerPane = Model.Parent as ILayoutPane; var containerPane = Model.Parent as ILayoutPane;
if( (containerPane is LayoutDocumentPane) && !((LayoutDocumentPane)containerPane).CanRepositionItems )
return;
if( (containerPane.Parent != null) && (containerPane.Parent is LayoutDocumentPaneGroup) && !((LayoutDocumentPaneGroup)containerPane.Parent).CanRepositionItems )
return;
var childrenList = container.Children.ToList(); var childrenList = container.Children.ToList();
containerPane.MoveChild(childrenList.IndexOf(Model), childrenList.IndexOf(targetModel)); containerPane.MoveChild( childrenList.IndexOf( Model ), childrenList.IndexOf( targetModel ) );
Model.IsActive = true; Model.IsActive = true;
_parentDocumentTabPanel.UpdateLayout(); _parentDocumentTabPanel.UpdateLayout();
UpdateDragDetails(); UpdateDragDetails();

4
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/LayoutFloatingWindowControl.cs

@ -29,6 +29,7 @@ using Xceed.Wpf.AvalonDock.Layout;
using System.Diagnostics; using System.Diagnostics;
using System.Windows.Documents; using System.Windows.Documents;
using Xceed.Wpf.AvalonDock.Themes; using Xceed.Wpf.AvalonDock.Themes;
using Microsoft.Windows.Shell;
namespace Xceed.Wpf.AvalonDock.Controls namespace Xceed.Wpf.AvalonDock.Controls
{ {
@ -249,8 +250,7 @@ namespace Xceed.Wpf.AvalonDock.Controls
if (_hwndSrc != null) if (_hwndSrc != null)
{ {
_hwndSrc.RemoveHook(_hwndSrcHook); _hwndSrc.RemoveHook(_hwndSrcHook);
_hwndSrc.Dispose(); InternalClose();
_hwndSrc = null;
} }
} }

2
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/NativeMethods.cs

@ -3417,7 +3417,7 @@ namespace Standard
} }
var dti = new DWM_TIMING_INFO { cbSize = Marshal.SizeOf(typeof(DWM_TIMING_INFO)) }; var dti = new DWM_TIMING_INFO { cbSize = Marshal.SizeOf(typeof(DWM_TIMING_INFO)) };
HRESULT hr = _DwmGetCompositionTimingInfo(hwnd, ref dti); HRESULT hr = _DwmGetCompositionTimingInfo( Utility.IsOSWindows8OrNewer ? IntPtr.Zero : hwnd, ref dti );
if (hr == HRESULT.E_PENDING) if (hr == HRESULT.E_PENDING)
{ {
// The system isn't yet ready to respond. Return null rather than throw. // The system isn't yet ready to respond. Return null rather than throw.

9
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Controls/Shell/Standard/Utilities.cs

@ -263,6 +263,15 @@ namespace Standard
get { return _osVersion >= new Version(6, 1); } get { return _osVersion >= new Version(6, 1); }
} }
[SuppressMessage( "Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode" )]
public static bool IsOSWindows8OrNewer
{
get
{
return _osVersion >= new Version( 6, 2 );
}
}
/// <summary> /// <summary>
/// Is this using WPF4? /// Is this using WPF4?
/// </summary> /// </summary>

15
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutAnchorablePane.cs

@ -125,7 +125,7 @@ namespace Xceed.Wpf.AvalonDock.Layout
SelectedContentIndex = Children.Count - 1; SelectedContentIndex = Children.Count - 1;
if (SelectedContentIndex == -1 && ChildrenCount > 0) if (SelectedContentIndex == -1 && ChildrenCount > 0)
SelectedContentIndex = 0; SetNextSelectedIndex();
} }
} }
@ -152,6 +152,19 @@ namespace Xceed.Wpf.AvalonDock.Layout
} }
} }
internal void SetNextSelectedIndex()
{
SelectedContentIndex = -1;
for( int i = 0; i < this.Children.Count; ++i )
{
if( Children[ i ].IsEnabled )
{
SelectedContentIndex = i;
return;
}
}
}
internal void UpdateIsDirectlyHostedInFloatingWindow() internal void UpdateIsDirectlyHostedInFloatingWindow()
{ {
RaisePropertyChanged("IsDirectlyHostedInFloatingWindow"); RaisePropertyChanged("IsDirectlyHostedInFloatingWindow");

21
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutContent.cs

@ -775,5 +775,26 @@ namespace Xceed.Wpf.AvalonDock.Layout
} }
#endregion #endregion
#region IsEnabled
private bool _isEnabled = true;
public bool IsEnabled
{
get
{
return _isEnabled;
}
set
{
if( _isEnabled != value )
{
_isEnabled = value;
RaisePropertyChanged( "IsEnabled" );
}
}
}
#endregion
} }
} }

31
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutDocumentPane.cs

@ -100,14 +100,16 @@ namespace Xceed.Wpf.AvalonDock.Layout
SelectedContentIndex = Children.Count - 1; SelectedContentIndex = Children.Count - 1;
if (SelectedContentIndex == -1 && ChildrenCount > 0) if (SelectedContentIndex == -1 && ChildrenCount > 0)
{ {
if (Root == null)//if I'm not yet connected just switch to first document if( Root == null )
SelectedContentIndex = 0; {
else SetNextSelectedIndex();
{ }
var childrenToSelect = Children.OrderByDescending(c => c.LastActivationTimeStamp.GetValueOrDefault()).First(); else
SelectedContentIndex = Children.IndexOf(childrenToSelect); {
childrenToSelect.IsActive = true; var childrenToSelect = Children.OrderByDescending( c => c.LastActivationTimeStamp.GetValueOrDefault() ).First();
} SelectedContentIndex = Children.IndexOf( childrenToSelect );
childrenToSelect.IsActive = true;
}
} }
base.OnChildrenCollectionChanged(); base.OnChildrenCollectionChanged();
@ -126,6 +128,19 @@ namespace Xceed.Wpf.AvalonDock.Layout
base.OnIsVisibleChanged(); base.OnIsVisibleChanged();
} }
internal void SetNextSelectedIndex()
{
SelectedContentIndex = -1;
for( int i = 0; i < this.Children.Count; ++i )
{
if( Children[ i ].IsEnabled )
{
SelectedContentIndex = i;
return;
}
}
}
void UpdateParentVisibility() void UpdateParentVisibility()
{ {
var parentPane = Parent as ILayoutElementWithVisibility; var parentPane = Parent as ILayoutElementWithVisibility;

28
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs

@ -26,7 +26,7 @@ namespace Xceed.Wpf.AvalonDock.Layout
[Serializable] [Serializable]
public abstract class LayoutPositionableGroup<T> : LayoutGroup<T>, ILayoutPositionableElement, ILayoutPositionableElementWithActualSize where T : class, ILayoutElement public abstract class LayoutPositionableGroup<T> : LayoutGroup<T>, ILayoutPositionableElement, ILayoutPositionableElementWithActualSize where T : class, ILayoutElement
{ {
public LayoutPositionableGroup() public LayoutPositionableGroup()
{ } { }
GridLength _dockWidth = new GridLength(1.0, GridUnitType.Star); GridLength _dockWidth = new GridLength(1.0, GridUnitType.Star);
@ -80,10 +80,32 @@ namespace Xceed.Wpf.AvalonDock.Layout
} }
#region CanRepositionItems
private bool _canRepositionItems = true;
public bool CanRepositionItems
{
get
{
return _canRepositionItems;
}
set
{
if( _canRepositionItems != value )
{
RaisePropertyChanging( "CanRepositionItems" );
_canRepositionItems = value;
RaisePropertyChanged( "CanRepositionItems" );
}
}
}
#endregion
#region DockMinWidth #region DockMinWidth
private double _dockMinWidth = 25.0; private double _dockMinWidth = 100.0;
public double DockMinWidth public double DockMinWidth
{ {
get { return _dockMinWidth; } get { return _dockMinWidth; }
@ -103,7 +125,7 @@ namespace Xceed.Wpf.AvalonDock.Layout
#region DockMinHeight #region DockMinHeight
private double _dockMinHeight = 25.0; private double _dockMinHeight = 100.0;
public double DockMinHeight public double DockMinHeight
{ {
get { return _dockMinHeight; } get { return _dockMinHeight; }

50
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Themes/generic.xaml

@ -21,8 +21,7 @@
xmlns:avalonDockLayout="clr-namespace:Xceed.Wpf.AvalonDock.Layout" xmlns:avalonDockLayout="clr-namespace:Xceed.Wpf.AvalonDock.Layout"
xmlns:avalonDockControls="clr-namespace:Xceed.Wpf.AvalonDock.Controls" xmlns:avalonDockControls="clr-namespace:Xceed.Wpf.AvalonDock.Controls"
xmlns:avalonDockConverters="clr-namespace:Xceed.Wpf.AvalonDock.Converters" xmlns:avalonDockConverters="clr-namespace:Xceed.Wpf.AvalonDock.Converters"
xmlns:avalonDockProperties="clr-namespace:Xceed.Wpf.AvalonDock.Properties" xmlns:avalonDockProperties="clr-namespace:Xceed.Wpf.AvalonDock.Properties">
>
<avalonDockConverters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter"/> <avalonDockConverters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter"/>
<avalonDockConverters:InverseBoolToVisibilityConverter x:Key="InverseBoolToVisibilityConverter"/> <avalonDockConverters:InverseBoolToVisibilityConverter x:Key="InverseBoolToVisibilityConverter"/>
@ -32,7 +31,7 @@
<avalonDockConverters:LayoutItemFromLayoutModelConverter x:Key="LayoutItemFromLayoutModelConverter"/> <avalonDockConverters:LayoutItemFromLayoutModelConverter x:Key="LayoutItemFromLayoutModelConverter"/>
<avalonDockConverters:ActivateCommandLayoutItemFromLayoutModelConverter x:Key="ActivateCommandLayoutItemFromLayoutModelConverter"/> <avalonDockConverters:ActivateCommandLayoutItemFromLayoutModelConverter x:Key="ActivateCommandLayoutItemFromLayoutModelConverter"/>
<!--DocumentPaneControlStyle--> <!--DocumentPaneControlStyle-->
<Style x:Key="DocumentPaneControlStyle" TargetType="{x:Type avalonDockControls:LayoutDocumentPaneControl}"> <Style x:Key="DocumentPaneControlStyle" TargetType="{x:Type avalonDockControls:LayoutDocumentPaneControl}">
<Setter Property="Template"> <Setter Property="Template">
<Setter.Value> <Setter.Value>
@ -69,7 +68,9 @@
</avalonDockControls:ContextMenuEx.ItemContainerStyle> </avalonDockControls:ContextMenuEx.ItemContainerStyle>
</avalonDockControls:ContextMenuEx> </avalonDockControls:ContextMenuEx>
</avalonDockControls:DropDownButton.DropDownContextMenu> </avalonDockControls:DropDownButton.DropDownContextMenu>
<Image Source="/Xceed.Wpf.AvalonDock;component/Themes/Generic/Images/PinDocMenu.png"/> <Border Background="White">
<Image Source="/Xceed.Wpf.AvalonDock;component/Themes/Generic/Images/PinDocMenu.png" />
</Border>
</avalonDockControls:DropDownButton> </avalonDockControls:DropDownButton>
</Grid> </Grid>
<Border x:Name="ContentPanel" <Border x:Name="ContentPanel"
@ -105,6 +106,7 @@
<Style TargetType="{x:Type TabItem}"> <Style TargetType="{x:Type TabItem}">
<Setter Property="Visibility" Value="{Binding IsVisible, Converter={StaticResource BoolToVisibilityConverter}}"/> <Setter Property="Visibility" Value="{Binding IsVisible, Converter={StaticResource BoolToVisibilityConverter}}"/>
<Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}"/> <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}"/>
<Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
<Setter Property="ToolTip" Value="{Binding ToolTip}"/> <Setter Property="ToolTip" Value="{Binding ToolTip}"/>
<Setter Property="Padding" Value="2,0,2,0"/> <Setter Property="Padding" Value="2,0,2,0"/>
<Setter Property="Margin" Value="0,2,0,0"/> <Setter Property="Margin" Value="0,2,0,0"/>
@ -218,6 +220,7 @@
<Setter.Value> <Setter.Value>
<Style TargetType="{x:Type TabItem}"> <Style TargetType="{x:Type TabItem}">
<Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}"/> <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}"/>
<Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
<Setter Property="ToolTip" Value="{Binding ToolTip}"/> <Setter Property="ToolTip" Value="{Binding ToolTip}"/>
<Setter Property="Template"> <Setter Property="Template">
<Setter.Value> <Setter.Value>
@ -317,10 +320,11 @@
Grid.Column="1" Grid.Column="1"
DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu, RelativeSource={RelativeSource TemplatedParent}}" DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu, RelativeSource={RelativeSource TemplatedParent}}"
DropDownContextMenuDataContext="{Binding Path=LayoutItem, RelativeSource={RelativeSource TemplatedParent}}" DropDownContextMenuDataContext="{Binding Path=LayoutItem, RelativeSource={RelativeSource TemplatedParent}}"
ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_CxMenu_Hint}" ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_CxMenu_Hint}">
> <Border Background="White">
<Image Source="/Xceed.Wpf.AvalonDock;component/Themes/Generic/Images/PinMenu.png"/> <Image Source="/Xceed.Wpf.AvalonDock;component/Themes/Generic/Images/PinMenu.png" />
</avalonDockControls:DropDownButton> </Border>
</avalonDockControls:DropDownButton>
<Button x:Name="PART_AutoHidePin" <Button x:Name="PART_AutoHidePin"
Grid.Column="2" Grid.Column="2"
@ -329,8 +333,10 @@
Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"
Command="{Binding Path=LayoutItem.AutoHideCommand, RelativeSource={RelativeSource TemplatedParent}}" Command="{Binding Path=LayoutItem.AutoHideCommand, RelativeSource={RelativeSource TemplatedParent}}"
ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_BtnAutoHide_Hint}"> ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_BtnAutoHide_Hint}">
<Image Source="/Xceed.Wpf.AvalonDock;component/Themes/Generic/Images/PinAutoHide.png"/> <Border Background="White">
</Button> <Image Source="/Xceed.Wpf.AvalonDock;component/Themes/Generic/Images/PinAutoHide.png" />
</Border>
</Button>
<Button x:Name="PART_HidePin" <Button x:Name="PART_HidePin"
Grid.Column="3" Grid.Column="3"
@ -339,8 +345,10 @@
Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}"
Command="{Binding Path=LayoutItem.HideCommand, RelativeSource={RelativeSource TemplatedParent}}" Command="{Binding Path=LayoutItem.HideCommand, RelativeSource={RelativeSource TemplatedParent}}"
ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_BtnClose_Hint}"> ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_BtnClose_Hint}">
<Image Source="/Xceed.Wpf.AvalonDock;component/Themes/Generic/Images/PinClose.png"/> <Border Background="White">
</Button> <Image Source="/Xceed.Wpf.AvalonDock;component/Themes/Generic/Images/PinClose.png" />
</Border>
</Button>
</Grid> </Grid>
@ -630,10 +638,10 @@
<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentTabItem}"> <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentTabItem}">
<avalonDockControls:DropDownControlArea <avalonDockControls:DropDownControlArea
DropDownContextMenu="{Binding Root.Manager.DocumentContextMenu}" DropDownContextMenu="{Binding Root.Manager.DocumentContextMenu}"
DropDownContextMenuDataContext="{Binding LayoutItem, RelativeSource={RelativeSource TemplatedParent}}" > DropDownContextMenuDataContext="{Binding LayoutItem, RelativeSource={RelativeSource TemplatedParent}}">
<Border Background="{TemplateBinding Background}" <Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"> BorderThickness="{TemplateBinding BorderThickness}">
<Grid> <Grid>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>
@ -641,8 +649,8 @@
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Border Grid.ColumnSpan="2" Background="Transparent"/> <Border Grid.ColumnSpan="2" Background="Transparent"/>
<ContentPresenter Content="{Binding Model, RelativeSource={RelativeSource TemplatedParent}}" <ContentPresenter Content="{Binding Model, RelativeSource={RelativeSource TemplatedParent}}"
ContentTemplate="{Binding DocumentHeaderTemplate, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}" ContentTemplate="{Binding DocumentHeaderTemplate, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}"
ContentTemplateSelector="{Binding DocumentHeaderTemplateSelector, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}"/> ContentTemplateSelector="{Binding DocumentHeaderTemplateSelector, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}" />
<!-- Close button should be moved out to the container style --> <!-- Close button should be moved out to the container style -->
<Button x:Name="DocumentCloseButton" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Grid.Column="1" Margin="5,0,0,0" Visibility="Hidden" <Button x:Name="DocumentCloseButton" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Grid.Column="1" Margin="5,0,0,0" Visibility="Hidden"
Command="{Binding Path=LayoutItem.CloseCommand, RelativeSource={RelativeSource TemplatedParent}}" Command="{Binding Path=LayoutItem.CloseCommand, RelativeSource={RelativeSource TemplatedParent}}"
@ -740,6 +748,8 @@
<Style x:Key="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}"> <Style x:Key="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}">
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
<Setter Property="BorderBrush" Value="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}"/>
<Setter Property="BorderThickness" Value="3"/>
<Setter Property="shell:WindowChrome.WindowChrome"> <Setter Property="shell:WindowChrome.WindowChrome">
<Setter.Value> <Setter.Value>
<shell:WindowChrome <shell:WindowChrome
@ -754,7 +764,7 @@
<Setter.Value> <Setter.Value>
<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}"> <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}">
<Grid> <Grid>
<Border x:Name="WindowBorder" BorderThickness="3" Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" BorderBrush="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}"> <Border x:Name="WindowBorder" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}">
<Grid Margin="3"> <Grid Margin="3">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="16"/> <RowDefinition Height="16"/>
@ -820,6 +830,8 @@
<Style x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}"> <Style x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
<Setter Property="BorderBrush" Value="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}"/>
<Setter Property="BorderThickness" Value="3"/>
<Setter Property="shell:WindowChrome.WindowChrome"> <Setter Property="shell:WindowChrome.WindowChrome">
<Setter.Value> <Setter.Value>
<shell:WindowChrome <shell:WindowChrome
@ -834,7 +846,7 @@
<Setter.Value> <Setter.Value>
<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}"> <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
<Grid> <Grid>
<Border x:Name="WindowBorder" BorderThickness="3" Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" BorderBrush="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}"> <Border x:Name="WindowBorder" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}">
<Grid Margin="3"> <Grid Margin="3">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="16"/> <RowDefinition Height="16"/>

2
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.DataGrid/AssemblyVersionInfo.cs

@ -19,7 +19,7 @@
internal static class _XceedVersionInfo internal static class _XceedVersionInfo
{ {
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string BaseVersion = "2.6"; public const string BaseVersion = "2.7";
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]
public const string Version = BaseVersion + ".0.0"; public const string Version = BaseVersion + ".0.0";
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )] [System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]

23
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/CheckListsView.xaml.txt

@ -88,27 +88,39 @@
HorizontalAlignment="Left" HorizontalAlignment="Left"
Text="{Binding ElementName=_checkListBox, Path=SelectedValue, Mode=TwoWay}"/> Text="{Binding ElementName=_checkListBox, Path=SelectedValue, Mode=TwoWay}"/>
<TextBlock Grid.Row="0" Grid.Column="2" <TextBlock Grid.Row="3" Grid.Column="0"
Text="SelectedMemberPath:" Text="SelectedMemberPath:"
Margin="2,5,5,5"/> Margin="2,5,5,5"/>
<TextBox x:Name="_selectedMemberPath" <TextBox x:Name="_selectedMemberPath"
Grid.Row="0" Grid.Column="3" Grid.Row="3" Grid.Column="1"
Margin="5" Margin="5"
Width="125" Width="125"
HorizontalAlignment="Left" HorizontalAlignment="Left"
IsEnabled="False" IsEnabled="False"
Text="IsSelected" /> Text="IsSelected" />
<TextBlock Grid.Row="1" Grid.Column="2" <TextBlock Grid.Row="0" Grid.Column="2"
Text="DisplayMemberPath:" Text="DisplayMemberPath:"
Margin="5"/> Margin="5"/>
<ComboBox x:Name="_displayMemberPath" <ComboBox x:Name="_displayMemberPath"
Grid.Row="1" Grid.Column="3" Grid.Row="0" Grid.Column="3"
Width="125" Width="125"
Margin="5" Margin="5"
HorizontalAlignment="Left" HorizontalAlignment="Left"
ItemsSource="{StaticResource personProperties}" ItemsSource="{StaticResource personProperties}"
SelectedIndex="1"/> SelectedIndex="1"/>
<TextBlock Grid.Row="1"
Grid.Column="2"
Text="IsEditable:"
Margin="5" />
<CheckBox x:Name="_isEditable"
Grid.Row="1"
Grid.Column="3"
Margin="5"
HorizontalAlignment="Left"
Content="(CheckComboBox only)"
ClickMode="Press"
IsChecked="{Binding IsEditable, ElementName=_checkComboBox}" />
<TextBlock Grid.Row="2" Grid.Column="2" <TextBlock Grid.Row="2" Grid.Column="2"
Text="IsDropDownOpen:" Text="IsDropDownOpen:"
Margin="5"/> Margin="5"/>
@ -176,8 +188,9 @@
ValueMemberPath="{Binding ElementName=_valueMemberPath, Path=SelectedItem}" ValueMemberPath="{Binding ElementName=_valueMemberPath, Path=SelectedItem}"
SelectedMemberPath="{Binding ElementName=_selectedMemberPath, Path=Text}" SelectedMemberPath="{Binding ElementName=_selectedMemberPath, Path=Text}"
DisplayMemberPath="{Binding ElementName=_displayMemberPath, Path=SelectedItem}" DisplayMemberPath="{Binding ElementName=_displayMemberPath, Path=SelectedItem}"
IsEditable="False"
IsDropDownOpen="false" IsDropDownOpen="false"
MaxDropDownHeight="100"/> MaxDropDownHeight="100"/>
</Grid> </Grid>
</Grid> </Grid>
</local:DemoView> </local:DemoView>

117
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/DropDownSplitButtonView.xaml.txt

@ -29,46 +29,85 @@
</local:DemoView.Description> </local:DemoView.Description>
<Grid> <Grid>
<Grid.RowDefinitions> <StackPanel Margin="10">
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<TextBlock Text="DropDownButton Usage:" Style="{StaticResource Header}" /> <GroupBox Header="Features"
<xctk:DropDownButton x:Name="_dropDownButton" Margin="0,5,0,5">
Grid.Row="1" <Grid Margin="5">
Margin="10" <Grid.ColumnDefinitions>
Width="150" <ColumnDefinition Width="Auto" />
HorizontalAlignment="Left" <ColumnDefinition Width="Auto" />
Content="Click Me" </Grid.ColumnDefinitions>
Click="DropDownButton_Click">
<xctk:DropDownButton.DropDownContent>
<StackPanel>
<xctk:ColorCanvas />
<Button Click="Button_Click" Margin="10">OK</Button>
</StackPanel>
</xctk:DropDownButton.DropDownContent>
</xctk:DropDownButton>
<TextBlock Text="SplitButton Usage:" Grid.Column="1" Style="{StaticResource Header}" /> <TextBlock Text="MaxDropDownHeight:"
<xctk:SplitButton x:Name="_splitButton" VerticalAlignment="Center"/>
Grid.Row="1" <xctk:DoubleUpDown x:Name="maxDropDownHeight"
Grid.Column="1" Grid.Column="1"
Margin="10" Width="60"
Width="150" Value="500"
HorizontalAlignment="Left" AllowInputSpecialValues="PositiveInfinity"
Content="Click Me" Minimum="0"
Click="SplitButton_Click"> VerticalAlignment="Center"
<xctk:SplitButton.DropDownContent> Margin="5"/>
<StackPanel> </Grid>
<xctk:ColorCanvas /> </GroupBox>
<Button Click="Button_Click" Margin="10">OK</Button>
</StackPanel> <StackPanel>
</xctk:SplitButton.DropDownContent> <TextBlock Text="Usage:"
</xctk:SplitButton> Style="{StaticResource Header}" />
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<TextBlock Text="DropDownButton Usage:"
Style="{StaticResource Header}" />
<xctk:DropDownButton x:Name="_dropDownButton"
Grid.Row="1"
Margin="10"
Width="150"
HorizontalAlignment="Left"
Content="Click Me"
MaxDropDownHeight="{Binding Value, ElementName=maxDropDownHeight}"
Click="DropDownButton_Click">
<xctk:DropDownButton.DropDownContent>
<StackPanel>
<xctk:ColorCanvas />
<Button Click="Button_Click"
Margin="10">OK</Button>
</StackPanel>
</xctk:DropDownButton.DropDownContent>
</xctk:DropDownButton>
<TextBlock Text="SplitButton Usage:"
Grid.Column="1"
Style="{StaticResource Header}" />
<xctk:SplitButton x:Name="_splitButton"
Grid.Row="1"
Grid.Column="1"
Margin="10"
Width="150"
HorizontalAlignment="Left"
Content="Click Me"
MaxDropDownHeight="{Binding Value, ElementName=maxDropDownHeight}"
Click="SplitButton_Click">
<xctk:SplitButton.DropDownContent>
<StackPanel>
<xctk:ColorCanvas />
<Button Click="Button_Click"
Margin="10">OK</Button>
</StackPanel>
</xctk:SplitButton.DropDownContent>
</xctk:SplitButton>
</Grid>
</StackPanel>
</StackPanel>
</Grid> </Grid>
</local:DemoView> </local:DemoView>

35
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.cs.txt

@ -0,0 +1,35 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialButtonView.xaml
/// </summary>
public partial class MaterialButtonView : MaterialDemoView
{
public MaterialButtonView()
{
InitializeComponent();
}
}
}

49
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialButtonView.xaml.txt

@ -0,0 +1,49 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialButtonView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialButton">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A Button with a raised animation on mouse over and a customizable ink animation on MousePress. It uses the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialButton.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialCheckBoxView.xaml.cs.txt

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialCheckBoxView.xaml
/// </summary>
public partial class MaterialCheckBoxView : MaterialDemoView
{
public MaterialCheckBoxView()
{
InitializeComponent();
}
}
}

46
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialCheckBoxView.xaml.txt

@ -0,0 +1,46 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialCheckBoxView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialCheckBox">
<local:DemoView.Description>
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A CheckBox with transition animations when the checked state is changed. It uses the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialCheckBox.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialComboBoxView.xaml.cs.txt

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialComboBoxView.xaml
/// </summary>
public partial class MaterialComboBoxView : MaterialDemoView
{
public MaterialComboBoxView()
{
InitializeComponent();
}
}
}

48
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialComboBoxView.xaml.txt

@ -0,0 +1,48 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialComboBoxView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialComboBox">
<local:DemoView.Description>
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>MaterialComboBox is a ComboBox that is using the Material Brushes and contains MaterialComboBoxItems.</Run>
<LineBreak />
<Run>MaterialComboBoxItems are ComboBoxItems that are using the Material Brushes. They use an ink animation when they are selected.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialComboBox.png" Width="600" Height="400"/>
</local:MaterialDemoView>

59
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.cs.txt

@ -0,0 +1,59 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialControlsView.xaml
/// </summary>
public partial class MaterialControlsView : MaterialDemoView
{
#region Constructors
public MaterialControlsView()
{
InitializeComponent();
}
#endregion
}
}

56
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialControlsView.xaml.txt

@ -0,0 +1,56 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialControlsView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialControls">
<local:DemoView.Description>
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>The Material controls redefine the base controls by adding smooth animations and special effects. They also combine the base controls together to create new controls.</Run>
<LineBreak />
<LineBreak />
<Run>The Material controls include a set of complimentary accent brush and foreground.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialControls.png" Width="600" Height="400"/>
</local:MaterialDemoView>

41
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDemoView.cs.txt

@ -0,0 +1,41 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
namespace Xceed.Wpf.Toolkit.LiveExplorer
{
public class MaterialDemoView : DemoView
{
#region Constructor
public MaterialDemoView()
{
}
#endregion
}
}

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDropDownView.xaml.cs.txt

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialDropDownView.xaml
/// </summary>
public partial class MaterialDropDownView : MaterialDemoView
{
public MaterialDropDownView()
{
InitializeComponent();
}
}
}

49
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialDropDownView.xaml.txt

@ -0,0 +1,49 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialDropDownView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialDropDown">
<local:DemoView.Description>
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A DropDownButton from the Xceed Wpf Toolkit with animations when opening the popup. It uses the MaterialButton animations and the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialDropDown.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialFrameView.xaml.cs.txt

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialFrameView.xaml
/// </summary>
public partial class MaterialFrameView : DemoView
{
public MaterialFrameView()
{
InitializeComponent();
}
}
}

48
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialFrameView.xaml.txt

@ -0,0 +1,48 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:DemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialFrameView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:conv="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Converters"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialFrame">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A ContentControl with a fully customizable shadow that can be modified through Shadow properties or with a Z property that enables predefined shadows.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialFrame.png" Width="600" Height="400"/>
</local:DemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialListBoxView.xaml.cs.txt

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialListBoxView.xaml
/// </summary>
public partial class MaterialListBoxView : MaterialDemoView
{
public MaterialListBoxView()
{
InitializeComponent();
}
}
}

50
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialListBoxView.xaml.txt

@ -0,0 +1,50 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialListBoxView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialListBox &amp; MaterialListBoxItem">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>MaterialListBox is a ListBox that is using the Material Brushes and contains MaterialListBoxItems.</Run>
<LineBreak />
<Run>MaterialListBoxItems are ListBoxItems that are using the Material Brushes. They use an ink animation when they are selected.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialListBox.png" Width="600" Height="400"/>
</local:MaterialDemoView>

50
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialProgressBarCircularView.xaml.cs.txt

@ -0,0 +1,50 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialProgressBarCircularView.xaml
/// </summary>
public partial class MaterialProgressBarCircularView : MaterialDemoView
{
#region Constructors
public MaterialProgressBarCircularView()
{
InitializeComponent();
}
#endregion
}
}

60
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialProgressBarCircularView.xaml.txt

@ -0,0 +1,60 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialProgressBarCircularView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialProgressBarCircular">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A circular ProgressBar that uses the Material Brushes. It contains properties to animate the indeterminate state.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<local:DemoView.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../Resources/CommonResources.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</local:DemoView.Resources>
<Image Source="..\OpenSourceImages\MaterialProgressBarCircular.png" Width="600" Height="400"/>
</local:MaterialDemoView>

50
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialProgressBarView.xaml.cs.txt

@ -0,0 +1,50 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialProgressBarView.xaml
/// </summary>
public partial class MaterialProgressBarView : MaterialDemoView
{
#region Constructors
public MaterialProgressBarView()
{
InitializeComponent();
}
#endregion
}
}

57
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialProgressBarView.xaml.txt

@ -0,0 +1,57 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialProgressBarView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialProgressBar">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A linear ProgressBar that uses the Material Brushes. It contains properties to animate the indeterminate state.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<local:DemoView.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../Resources/CommonResources.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</local:DemoView.Resources>
<Image Source="..\OpenSourceImages\MaterialProgressBar.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialRadioButtonView.xaml.cs.txt

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialRadioButtonView.xaml
/// </summary>
public partial class MaterialRadioButtonView : MaterialDemoView
{
public MaterialRadioButtonView()
{
InitializeComponent();
}
}
}

46
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialRadioButtonView.xaml.txt

@ -0,0 +1,46 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialRadioButtonView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialRadioButton">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A RadioButton with transition animations when the checked state is changed. It uses the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialRadioButton.png" Width="600" Height="400"/>
</local:MaterialDemoView>

37
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialSliderView.xaml.cs.txt

@ -0,0 +1,37 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Xceed.Wpf.Toolkit.Panels;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialSliderView.xaml
/// </summary>
public partial class MaterialSliderView : MaterialDemoView
{
public MaterialSliderView()
{
InitializeComponent();
}
}
}

63
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialSliderView.xaml.txt

@ -0,0 +1,63 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialSliderView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:winConv="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer.Samples.Window.Converters"
Title="MaterialSlider">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A Slider with customizable and animated thumb and bubble that is using the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialSlider.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialSwitchView.xaml.cs.txt

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialSwitchView.xaml
/// </summary>
public partial class MaterialSwitchView : MaterialDemoView
{
public MaterialSwitchView()
{
InitializeComponent();
}
}
}

48
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialSwitchView.xaml.txt

@ -0,0 +1,48 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialSwitchView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialSwitch">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A ToggleSwitch from the Xceed WPF Toolkit with thumb animations when Checked state is changed and that is using the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialSwitch.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialTabsView.xaml.cs.txt

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialTabsView.xaml
/// </summary>
public partial class MaterialTabsView : MaterialDemoView
{
public MaterialTabsView()
{
InitializeComponent();
}
}
}

57
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialTabsView.xaml.txt

@ -0,0 +1,57 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialTabsView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialTabControl &amp; MaterialTabItem">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>MaterialTabControl is a a TabControl with animated transitions when the current selection is changed. Is is using the Material Brushes and contains MaterialTabItems.</Run>
<LineBreak />
<Run>MaterialTabItems are TabItems that are using the Material Brushes and who contains customizable ink animations on mouse press.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialTabs.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialTextFieldView.xaml.cs.txt

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialTextFieldView.xaml
/// </summary>
public partial class MaterialTextFieldView : MaterialDemoView
{
public MaterialTextFieldView()
{
InitializeComponent();
}
}
}

56
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialTextFieldView.xaml.txt

@ -0,0 +1,56 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialTextFieldView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:sample="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Data"
Title="MaterialTextField">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A TextBox containing a customizable animated watermark that remains active when text is entered. It uses the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialTextField.png" Width="600" Height="400"/>
</local:MaterialDemoView>

38
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialToastView.xaml.cs.txt

@ -0,0 +1,38 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Xceed.Wpf.Toolkit.Panels;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialToastView.xaml
/// </summary>
public partial class MaterialToastView : MaterialDemoView
{
public MaterialToastView()
{
InitializeComponent();
}
}
}

55
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialToastView.xaml.txt

@ -0,0 +1,55 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialToastView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialToast">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A ContentControl that can be customized to display a content in any corner of any window or FrameworkElement. It is using the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialToast.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialToolTipView.xaml.cs.txt

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialToolTipView.xaml
/// </summary>
public partial class MaterialToolTipView : MaterialDemoView
{
public MaterialToolTipView()
{
InitializeComponent();
}
}
}

52
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/MaterialToolTipView.xaml.txt

@ -0,0 +1,52 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialToolTipView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialToolTip">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A ToolTip with animations when opening. It is using the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<local:DemoView.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../Resources/CommonResources.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</local:DemoView.Resources>
<Image Source="..\OpenSourceImages\MaterialToolTip.png" Width="600" Height="400"/>
</local:MaterialDemoView>

26
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/PropertyGridAttributesView.xaml.cs.txt

@ -52,7 +52,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views
[CategoryOrder("Information", 0)] [CategoryOrder("Information", 0)]
[CategoryOrder( "Conections", 1 )] [CategoryOrder( "Conections", 1 )]
[CategoryOrder( "Other", 2 )] [CategoryOrder( "Other", 2 )]
public abstract class Person public abstract class Person : INotifyPropertyChanged
{ {
// All properties have their own "[Category(...)]" attribute to specify which category they // All properties have their own "[Category(...)]" attribute to specify which category they
// belong to when the "Categorized" layout is used by the PropertyGrid. // belong to when the "Categorized" layout is used by the PropertyGrid.
@ -65,12 +65,22 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views
[Category( "Information" )] [Category( "Information" )]
[Description( "This property uses the [Editor(..)] attribute to provide a custom editor using the 'FirstNameEditor' class. In the Plus version, it also depends on the IsMale property to change its foreground and source." )] [Description( "This property uses the [Editor(..)] attribute to provide a custom editor using the 'FirstNameEditor' class. In the Plus version, it also depends on the IsMale property to change its foreground and source." )]
[Editor( typeof( FirstNameEditor ), typeof( FirstNameEditor ) )] [Editor( typeof( FirstNameEditor ), typeof( FirstNameEditor ) )]
public string FirstName { get; set; } public string FirstName
{
get{ return _firstName; }
set{ _firstName = value; OnPropertyChanged( "FirstName" );}
}
private string _firstName;
[Category( "Information" )] [Category( "Information" )]
[Description( "This property uses the [Editor(..)] attribute to provide a custom editor using the 'LastNameUserControlEditor' user control." )] [Description( "This property uses the [Editor(..)] attribute to provide a custom editor using the 'LastNameUserControlEditor' user control." )]
[Editor( typeof( LastNameUserControlEditor ), typeof( LastNameUserControlEditor ) )] [Editor( typeof( LastNameUserControlEditor ), typeof( LastNameUserControlEditor ) )]
public string LastName { get; set; } public string LastName
{
get{ return _lastName; }
set{ _lastName = value; OnPropertyChanged( "LastName" );}
}
private string _lastName;
[Category( "Conections" )] [Category( "Conections" )]
[Description( "This property uses the [NewItemTypes(...)] attribute to provide the underlying CollectionEditor with class types (eg. Man, Woman) that can be inserted in the collection." )] [Description( "This property uses the [NewItemTypes(...)] attribute to provide the underlying CollectionEditor with class types (eg. Man, Woman) that can be inserted in the collection." )]
@ -81,6 +91,7 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views
[DisplayName( "Writing Font Size" )] [DisplayName( "Writing Font Size" )]
[Description( "This property defines the [ItemsSource(..)] attribute that allows you to specify a ComboBox editor and control its items." )] [Description( "This property defines the [ItemsSource(..)] attribute that allows you to specify a ComboBox editor and control its items." )]
[ItemsSource( typeof( FontSizeItemsSource ) )] [ItemsSource( typeof( FontSizeItemsSource ) )]
[RefreshProperties( RefreshProperties.All )] //This will reload the PropertyGrid
public double WritingFontSize { get; set; } public double WritingFontSize { get; set; }
[Category( "Conections" )] [Category( "Conections" )]
@ -116,6 +127,15 @@ namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.PropertyGrid.Views
{ {
return FirstName + " " + LastName; return FirstName + " " + LastName;
} }
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged( string propertyName )
{
if( PropertyChanged != null )
{
PropertyChanged( this, new PropertyChangedEventArgs( propertyName ) );
}
}
} }
// The "Man" and "Woman" classes are referenced by the "NewItemTypesAttribute" // The "Man" and "Woman" classes are referenced by the "NewItemTypesAttribute"

14
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/PropertyGridView.xaml.txt

@ -47,6 +47,7 @@
<RowDefinition Height="Auto" /> <RowDefinition Height="Auto" />
<RowDefinition Height="Auto" /> <RowDefinition Height="Auto" />
<RowDefinition Height="Auto" /> <RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" />
@ -138,7 +139,17 @@
VerticalAlignment="Center" VerticalAlignment="Center"
Margin="5" Margin="5"
ToolTip="Update the source of a TextBox when True and Enter key is pressed." /> ToolTip="Update the source of a TextBox when True and Enter key is pressed." />
<TextBlock Text="HideInheritedProperties:"
VerticalAlignment="Center"
Grid.Row="4"
Grid.Column="2"
Margin="10,0,0,0" />
<CheckBox Grid.Row="4"
Grid.Column="3"
IsChecked="{Binding HideInheritedProperties, ElementName=_propertyGrid}"
VerticalAlignment="Center"
Margin="5"
ToolTip="When True, inherited properties are hidden." />
</Grid> </Grid>
@ -175,6 +186,7 @@
UpdateTextBoxSourceOnEnterKey="True" UpdateTextBoxSourceOnEnterKey="True"
IsMiscCategoryLabelHidden="False" IsMiscCategoryLabelHidden="False"
ShowPreview="True" ShowPreview="True"
HideInheritedProperties="False"
SelectedObject="{Binding ElementName=_button}"> SelectedObject="{Binding ElementName=_button}">
</xctk:PropertyGrid> </xctk:PropertyGrid>
</Grid> </Grid>

4
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/ToggleSwitchView.xaml.txt

@ -20,6 +20,7 @@
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer" xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:conv="clr-namespace:Xceed.Wpf.Toolkit.Core.Converters;assembly=Xceed.Wpf.Toolkit" xmlns:conv="clr-namespace:Xceed.Wpf.Toolkit.Core.Converters;assembly=Xceed.Wpf.Toolkit"
xmlns:localConv="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer.Samples.ToggleSwitch.Converters"
Title="ToggleSwitch"> Title="ToggleSwitch">
<local:DemoView.Description> <local:DemoView.Description>
@ -55,6 +56,9 @@

113
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/CodeFiles/WatermarkTextboxView.xaml.txt

@ -14,42 +14,81 @@
***********************************************************************************--> ***********************************************************************************-->
<local:DemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.Text.Views.WatermarkTextboxView" <local:DemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.Text.Views.WatermarkTextboxView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer" xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
Title="WatermarkTextBox"> Title="WatermarkTextBox">
<local:DemoView.Description> <local:DemoView.Description>
<Paragraph FontSize="14" FontFamily="Segoe"> <Paragraph FontSize="14"
The WatermarkTextBox is simply a TextBox that allows you to sepcify an object, usually a String, to represent null or missing text. FontFamily="Segoe">
</Paragraph> The WatermarkTextBox is simply a TextBox that allows you to sepcify an object, usually a String, to represent null or missing text.
</local:DemoView.Description> </Paragraph>
</local:DemoView.Description>
<Grid>
<StackPanel Margin="10"> <StackPanel>
<TextBlock Text="Default:" Style="{StaticResource Header}" /> <GroupBox Header="Features">
<xctk:WatermarkTextBox Margin="5" MinWidth="200" Watermark="Enter Text" /> <Grid Margin="5">
<Grid.ColumnDefinitions>
<TextBlock Text="Image Watermark:" Style="{StaticResource Header}" /> <ColumnDefinition Width="Auto" />
<xctk:WatermarkTextBox Margin="5"> <ColumnDefinition Width="Auto" />
<xctk:WatermarkTextBox.Watermark> </Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal"> <TextBlock Grid.Column="0"
<Image Source="..\Resources\PencilTool16.png" Stretch="None" /> Text="KeepWatermarkOnGotFocus: "
<TextBlock Text="Enter Text" Margin="4,0,0,0" /> VerticalAlignment="Center" />
</StackPanel> <CheckBox Grid.Column="1"
</xctk:WatermarkTextBox.Watermark> x:Name="_keepWatermarkOnGotFocus"
</xctk:WatermarkTextBox> IsChecked="False"
VerticalAlignment="Center" />
<TextBlock Text="Custom WatermarkTemplate:" Style="{StaticResource Header}" /> </Grid>
<xctk:WatermarkTextBox Margin="5" Watermark="Enter Text"> </GroupBox>
<xctk:WatermarkTextBox.WatermarkTemplate>
<DataTemplate> <StackPanel>
<Border BorderBrush="Green" BorderThickness="1" Padding="5"> <TextBlock Text="Usage:"
<ContentControl Content="{Binding}" Foreground="DarkRed" FontWeight="Bold" Focusable="False" /> Style="{StaticResource Header}" />
</Border>
</DataTemplate> <StackPanel Margin="10">
</xctk:WatermarkTextBox.WatermarkTemplate> <TextBlock Text="Default:"
</xctk:WatermarkTextBox> Style="{StaticResource Header}" />
<xctk:WatermarkTextBox Margin="5"
MinWidth="200"
Watermark="Enter Text"
KeepWatermarkOnGotFocus="{Binding IsChecked, ElementName=_keepWatermarkOnGotFocus}"/>
<TextBlock Text="Image Watermark:"
Style="{StaticResource Header}" />
<xctk:WatermarkTextBox Margin="5"
KeepWatermarkOnGotFocus="{Binding IsChecked, ElementName=_keepWatermarkOnGotFocus}">
<xctk:WatermarkTextBox.Watermark>
<StackPanel Orientation="Horizontal">
<Image Source="..\Resources\PencilTool16.png"
Stretch="None" />
<TextBlock Text="Enter Text"
Margin="4,0,0,0" />
</StackPanel>
</xctk:WatermarkTextBox.Watermark>
</xctk:WatermarkTextBox>
<TextBlock Text="Custom WatermarkTemplate:"
Style="{StaticResource Header}" />
<xctk:WatermarkTextBox Margin="5"
Watermark="Enter Text"
KeepWatermarkOnGotFocus="{Binding IsChecked, ElementName=_keepWatermarkOnGotFocus}">
<xctk:WatermarkTextBox.WatermarkTemplate>
<DataTemplate>
<Border BorderBrush="Green"
BorderThickness="1"
Padding="5">
<ContentControl Content="{Binding}"
Foreground="DarkRed"
FontWeight="Bold"
Focusable="False" />
</Border>
</DataTemplate>
</xctk:WatermarkTextBox.WatermarkTemplate>
</xctk:WatermarkTextBox>
</StackPanel>
</StackPanel> </StackPanel>
</Grid> </StackPanel>
</local:DemoView> </local:DemoView>

45
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/MainWindow.xaml

@ -56,8 +56,6 @@
<Style x:Key="ExpandCollapseToggleStyle" <Style x:Key="ExpandCollapseToggleStyle"
TargetType="{x:Type ToggleButton}"> TargetType="{x:Type ToggleButton}">
<Setter Property="Focusable"
Value="False" />
<Setter Property="Width" <Setter Property="Width"
Value="20" /> Value="20" />
<Setter Property="Height" <Setter Property="Height"
@ -458,8 +456,7 @@
ItemContainerStyle="{StaticResource TreeViewItemStyle}"> ItemContainerStyle="{StaticResource TreeViewItemStyle}">
<core:LiveExplorerTreeViewItem Header="PropertyGrid" <core:LiveExplorerTreeViewItem Header="PropertyGrid"
ItemContainerStyle="{StaticResource TreeViewSubHeaderStyle}" ItemContainerStyle="{StaticResource TreeViewSubHeaderStyle}"
SampleType="{x:Type samples:PropertyGrid.Views.PropertyGridView}" SampleType="{x:Type samples:PropertyGrid.Views.PropertyGridView}">
IsSelected="True">
<core:LiveExplorerTreeViewItem Header="Editors" <core:LiveExplorerTreeViewItem Header="Editors"
ItemContainerStyle="{StaticResource TreeViewItemStyle}"> ItemContainerStyle="{StaticResource TreeViewItemStyle}">
@ -624,7 +621,45 @@
<core:LiveExplorerTreeViewItem Header="Gauge" <core:LiveExplorerTreeViewItem Header="Gauge"
ItemContainerStyle="{StaticResource TreeViewItemStyle}" ItemContainerStyle="{StaticResource TreeViewItemStyle}"
SampleType="{x:Type samples:Gauge.Views.RadialGaugeView}" SampleType="{x:Type samples:Gauge.Views.RadialGaugeView}"
IsPlusOnlyFeature="True"> IsPlusOnlyFeature="True"/>
<core:LiveExplorerTreeViewItem Header="Material Controls"
ItemContainerStyle="{StaticResource TreeViewItemStyle}"
IsNewFeature="True"
IsPlusOnlyFeature="True"
SampleType="{x:Type samples:MaterialControls.Views.MaterialControlsView}"
IsSelected="True">
<core:LiveExplorerTreeViewItem Header="Button"
SampleType="{x:Type samples:MaterialControls.Views.MaterialButtonView}" />
<core:LiveExplorerTreeViewItem Header="CheckBox"
SampleType="{x:Type samples:MaterialControls.Views.MaterialCheckBoxView}" />
<core:LiveExplorerTreeViewItem Header="ComboBox"
SampleType="{x:Type samples:MaterialControls.Views.MaterialComboBoxView}" />
<core:LiveExplorerTreeViewItem Header="DropDown"
SampleType="{x:Type samples:MaterialControls.Views.MaterialDropDownView}" />
<core:LiveExplorerTreeViewItem Header="Frame"
SampleType="{x:Type samples:MaterialControls.Views.MaterialFrameView}" />
<core:LiveExplorerTreeViewItem Header="ListBox"
SampleType="{x:Type samples:MaterialControls.Views.MaterialListBoxView}" />
<core:LiveExplorerTreeViewItem Header="ProgressBar"
ItemContainerStyle="{StaticResource TreeViewItemStyle}"
SampleType="{x:Type samples:MaterialControls.Views.MaterialProgressBarView}">
<core:LiveExplorerTreeViewItem Header="Circular"
SampleType="{x:Type samples:MaterialControls.Views.MaterialProgressBarCircularView}" />
</core:LiveExplorerTreeViewItem>
<core:LiveExplorerTreeViewItem Header="RadioButton"
SampleType="{x:Type samples:MaterialControls.Views.MaterialRadioButtonView}" />
<core:LiveExplorerTreeViewItem Header="Slider"
SampleType="{x:Type samples:MaterialControls.Views.MaterialSliderView}" />
<core:LiveExplorerTreeViewItem Header="Switch"
SampleType="{x:Type samples:MaterialControls.Views.MaterialSwitchView}" />
<core:LiveExplorerTreeViewItem Header="Tabs"
SampleType="{x:Type samples:MaterialControls.Views.MaterialTabsView}" />
<core:LiveExplorerTreeViewItem Header="TextField"
SampleType="{x:Type samples:MaterialControls.Views.MaterialTextFieldView}" />
<core:LiveExplorerTreeViewItem Header="Toast"
SampleType="{x:Type samples:MaterialControls.Views.MaterialToastView}" />
<core:LiveExplorerTreeViewItem Header="ToolTip"
SampleType="{x:Type samples:MaterialControls.Views.MaterialToolTipView}" />
</core:LiveExplorerTreeViewItem> </core:LiveExplorerTreeViewItem>
</core:LiveExplorerTreeViewItem> </core:LiveExplorerTreeViewItem>
<core:LiveExplorerTreeViewItem Header="Other" <core:LiveExplorerTreeViewItem Header="Other"

4
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/AssemblyInfo.cs

@ -49,8 +49,8 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion( "2.6.*" )] [assembly: AssemblyVersion( "2.7.*" )]
[assembly: AssemblyFileVersion( "2.6.0.0" )] [assembly: AssemblyFileVersion( "2.7.0.0" )]
#pragma warning disable 1699 #pragma warning disable 1699
[assembly: AssemblyDelaySign( false )] [assembly: AssemblyDelaySign( false )]

10
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Properties/Resources.resx

@ -3,7 +3,7 @@
<!-- <!--
Microsoft ResX Schema Microsoft ResX Schema
Version 2.0 Version 2.7
The primary goals of this format is to allow a simple XML format The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the that is mostly human readable. The generation and parsing of the
@ -14,7 +14,7 @@
... ado.net/XML headers & schema ... ... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader> <resheader name="version">2.7</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
@ -106,12 +106,12 @@
<value>text/microsoft-resx</value> <value>text/microsoft-resx</value>
</resheader> </resheader>
<resheader name="version"> <resheader name="version">
<value>2.6</value> <value>2.7</value>
</resheader> </resheader>
<resheader name="reader"> <resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.6.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.7.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.6.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.7.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
</root> </root>

11
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Resources/TextBlockStyles.xaml

@ -32,4 +32,15 @@
</Style.Triggers> </Style.Triggers>
</Style> </Style>
<Style x:Key="DisableGrayComboBox"
TargetType="ComboBox">
<Style.Triggers>
<Trigger Property="IsEnabled"
Value="False">
<Setter Property="Foreground"
Value="Gray" />
</Trigger>
</Style.Triggers>
</Style>
</ResourceDictionary> </ResourceDictionary>

117
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Button/Views/DropDownSplitButtonView.xaml

@ -29,46 +29,85 @@
</local:DemoView.Description> </local:DemoView.Description>
<Grid> <Grid>
<Grid.RowDefinitions> <StackPanel Margin="10">
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<TextBlock Text="DropDownButton Usage:" Style="{StaticResource Header}" /> <GroupBox Header="Features"
<xctk:DropDownButton x:Name="_dropDownButton" Margin="0,5,0,5">
Grid.Row="1" <Grid Margin="5">
Margin="10" <Grid.ColumnDefinitions>
Width="150" <ColumnDefinition Width="Auto" />
HorizontalAlignment="Left" <ColumnDefinition Width="Auto" />
Content="Click Me" </Grid.ColumnDefinitions>
Click="DropDownButton_Click">
<xctk:DropDownButton.DropDownContent>
<StackPanel>
<xctk:ColorCanvas />
<Button Click="Button_Click" Margin="10">OK</Button>
</StackPanel>
</xctk:DropDownButton.DropDownContent>
</xctk:DropDownButton>
<TextBlock Text="SplitButton Usage:" Grid.Column="1" Style="{StaticResource Header}" /> <TextBlock Text="MaxDropDownHeight:"
<xctk:SplitButton x:Name="_splitButton" VerticalAlignment="Center"/>
Grid.Row="1" <xctk:DoubleUpDown x:Name="maxDropDownHeight"
Grid.Column="1" Grid.Column="1"
Margin="10" Width="60"
Width="150" Value="500"
HorizontalAlignment="Left" AllowInputSpecialValues="PositiveInfinity"
Content="Click Me" Minimum="0"
Click="SplitButton_Click"> VerticalAlignment="Center"
<xctk:SplitButton.DropDownContent> Margin="5"/>
<StackPanel> </Grid>
<xctk:ColorCanvas /> </GroupBox>
<Button Click="Button_Click" Margin="10">OK</Button>
</StackPanel> <StackPanel>
</xctk:SplitButton.DropDownContent> <TextBlock Text="Usage:"
</xctk:SplitButton> Style="{StaticResource Header}" />
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<TextBlock Text="DropDownButton Usage:"
Style="{StaticResource Header}" />
<xctk:DropDownButton x:Name="_dropDownButton"
Grid.Row="1"
Margin="10"
Width="150"
HorizontalAlignment="Left"
Content="Click Me"
MaxDropDownHeight="{Binding Value, ElementName=maxDropDownHeight}"
Click="DropDownButton_Click">
<xctk:DropDownButton.DropDownContent>
<StackPanel>
<xctk:ColorCanvas />
<Button Click="Button_Click"
Margin="10">OK</Button>
</StackPanel>
</xctk:DropDownButton.DropDownContent>
</xctk:DropDownButton>
<TextBlock Text="SplitButton Usage:"
Grid.Column="1"
Style="{StaticResource Header}" />
<xctk:SplitButton x:Name="_splitButton"
Grid.Row="1"
Grid.Column="1"
Margin="10"
Width="150"
HorizontalAlignment="Left"
Content="Click Me"
MaxDropDownHeight="{Binding Value, ElementName=maxDropDownHeight}"
Click="SplitButton_Click">
<xctk:SplitButton.DropDownContent>
<StackPanel>
<xctk:ColorCanvas />
<Button Click="Button_Click"
Margin="10">OK</Button>
</StackPanel>
</xctk:SplitButton.DropDownContent>
</xctk:SplitButton>
</Grid>
</StackPanel>
</StackPanel>
</Grid> </Grid>
</local:DemoView> </local:DemoView>

23
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/CheckLists/Views/CheckListsView.xaml

@ -88,27 +88,39 @@
HorizontalAlignment="Left" HorizontalAlignment="Left"
Text="{Binding ElementName=_checkListBox, Path=SelectedValue, Mode=TwoWay}"/> Text="{Binding ElementName=_checkListBox, Path=SelectedValue, Mode=TwoWay}"/>
<TextBlock Grid.Row="0" Grid.Column="2" <TextBlock Grid.Row="3" Grid.Column="0"
Text="SelectedMemberPath:" Text="SelectedMemberPath:"
Margin="2,5,5,5"/> Margin="2,5,5,5"/>
<TextBox x:Name="_selectedMemberPath" <TextBox x:Name="_selectedMemberPath"
Grid.Row="0" Grid.Column="3" Grid.Row="3" Grid.Column="1"
Margin="5" Margin="5"
Width="125" Width="125"
HorizontalAlignment="Left" HorizontalAlignment="Left"
IsEnabled="False" IsEnabled="False"
Text="IsSelected" /> Text="IsSelected" />
<TextBlock Grid.Row="1" Grid.Column="2" <TextBlock Grid.Row="0" Grid.Column="2"
Text="DisplayMemberPath:" Text="DisplayMemberPath:"
Margin="5"/> Margin="5"/>
<ComboBox x:Name="_displayMemberPath" <ComboBox x:Name="_displayMemberPath"
Grid.Row="1" Grid.Column="3" Grid.Row="0" Grid.Column="3"
Width="125" Width="125"
Margin="5" Margin="5"
HorizontalAlignment="Left" HorizontalAlignment="Left"
ItemsSource="{StaticResource personProperties}" ItemsSource="{StaticResource personProperties}"
SelectedIndex="1"/> SelectedIndex="1"/>
<TextBlock Grid.Row="1"
Grid.Column="2"
Text="IsEditable:"
Margin="5" />
<CheckBox x:Name="_isEditable"
Grid.Row="1"
Grid.Column="3"
Margin="5"
HorizontalAlignment="Left"
Content="(CheckComboBox only)"
ClickMode="Press"
IsChecked="{Binding IsEditable, ElementName=_checkComboBox}" />
<TextBlock Grid.Row="2" Grid.Column="2" <TextBlock Grid.Row="2" Grid.Column="2"
Text="IsDropDownOpen:" Text="IsDropDownOpen:"
Margin="5"/> Margin="5"/>
@ -176,8 +188,9 @@
ValueMemberPath="{Binding ElementName=_valueMemberPath, Path=SelectedItem}" ValueMemberPath="{Binding ElementName=_valueMemberPath, Path=SelectedItem}"
SelectedMemberPath="{Binding ElementName=_selectedMemberPath, Path=Text}" SelectedMemberPath="{Binding ElementName=_selectedMemberPath, Path=Text}"
DisplayMemberPath="{Binding ElementName=_displayMemberPath, Path=SelectedItem}" DisplayMemberPath="{Binding ElementName=_displayMemberPath, Path=SelectedItem}"
IsEditable="False"
IsDropDownOpen="false" IsDropDownOpen="false"
MaxDropDownHeight="100"/> MaxDropDownHeight="100"/>
</Grid> </Grid>
</Grid> </Grid>
</local:DemoView> </local:DemoView>

29
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Converters/EqualsMinusOneConverter.cs

@ -0,0 +1,29 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
************************************************************************************/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Windows.Data;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Converters
{
}

27
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Data/RequiredRule.cs

@ -0,0 +1,27 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
************************************************************************************/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Data
{
}

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialButton.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialCheckBox.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialComboBox.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialControls.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialDropDown.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialFrame.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialListBox.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialProgressBar.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialProgressBarCircular.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialRadioButton.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialSlider.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialSwitch.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialTabs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialTextField.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialToast.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/OpenSourceImages/MaterialToolTip.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

25
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Resources/CommonResources.xaml

@ -0,0 +1,25 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit">
<DataTemplate x:Key="ColorItemTemplate">
<Rectangle Fill="{Binding}"
Width="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}"
Height="20" />
</DataTemplate>
</ResourceDictionary>

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Resources/PencilTool16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Resources/WhitePen.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Resources/building16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Resources/italy.4.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

49
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialButtonView.xaml

@ -0,0 +1,49 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialButtonView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialButton">
<local:DemoView.Description>
<!-- TODODOC-->
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A Button with a raised animation on mouse over and a customizable ink animation on MousePress. It uses the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialButton.png" Width="600" Height="400"/>
</local:MaterialDemoView>

35
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialButtonView.xaml.cs

@ -0,0 +1,35 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialButtonView.xaml
/// </summary>
public partial class MaterialButtonView : MaterialDemoView
{
public MaterialButtonView()
{
InitializeComponent();
}
}
}

46
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialCheckBoxView.xaml

@ -0,0 +1,46 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialCheckBoxView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialCheckBox">
<local:DemoView.Description>
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A CheckBox with transition animations when the checked state is changed. It uses the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialCheckBox.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialCheckBoxView.xaml.cs

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialCheckBoxView.xaml
/// </summary>
public partial class MaterialCheckBoxView : MaterialDemoView
{
public MaterialCheckBoxView()
{
InitializeComponent();
}
}
}

48
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialComboBoxView.xaml

@ -0,0 +1,48 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialComboBoxView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialComboBox">
<local:DemoView.Description>
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>MaterialComboBox is a ComboBox that is using the Material Brushes and contains MaterialComboBoxItems.</Run>
<LineBreak />
<Run>MaterialComboBoxItems are ComboBoxItems that are using the Material Brushes. They use an ink animation when they are selected.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialComboBox.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialComboBoxView.xaml.cs

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialComboBoxView.xaml
/// </summary>
public partial class MaterialComboBoxView : MaterialDemoView
{
public MaterialComboBoxView()
{
InitializeComponent();
}
}
}

56
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialControlsView.xaml

@ -0,0 +1,56 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialControlsView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialControls">
<local:DemoView.Description>
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>The Material controls redefine the base controls by adding smooth animations and special effects. They also combine the base controls together to create new controls.</Run>
<LineBreak />
<LineBreak />
<Run>The Material controls include a set of complimentary accent brush and foreground.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialControls.png" Width="600" Height="400"/>
</local:MaterialDemoView>

59
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialControlsView.xaml.cs

@ -0,0 +1,59 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialControlsView.xaml
/// </summary>
public partial class MaterialControlsView : MaterialDemoView
{
#region Constructors
public MaterialControlsView()
{
InitializeComponent();
}
#endregion
}
}

41
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialDemoView.cs

@ -0,0 +1,41 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
namespace Xceed.Wpf.Toolkit.LiveExplorer
{
public class MaterialDemoView : DemoView
{
#region Constructor
public MaterialDemoView()
{
}
#endregion
}
}

49
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialDropDownView.xaml

@ -0,0 +1,49 @@
<!--*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
***********************************************************************************-->
<local:MaterialDemoView x:Class="Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views.MaterialDropDownView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Xceed.Wpf.Toolkit.LiveExplorer"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
Title="MaterialDropDown">
<local:DemoView.Description>
<Paragraph FontSize="14"
FontFamily="Segoe">
<Run>A DropDownButton from the Xceed Wpf Toolkit with animations when opening the popup. It uses the MaterialButton animations and the Material Brushes.</Run>
<LineBreak />
<LineBreak />
<Run>This feature is only available in the "Plus" version.</Run>
<LineBreak />
<Hyperlink NavigateUri="http://www.xceed.com/Extended_WPF_Toolkit_Intro.html" RequestNavigate="Hyperlink_RequestNavigate">
Click here for more details about Xceed Extended WPF Toolkit Plus.
</Hyperlink>
</Paragraph>
</local:DemoView.Description>
<Image Source="..\OpenSourceImages\MaterialDropDown.png" Width="600" Height="400"/>
</local:MaterialDemoView>

34
ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/MaterialControls/Views/MaterialDropDownView.xaml.cs

@ -0,0 +1,34 @@
/**************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2015 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For more features, controls, and fast professional support,
pick up the Plus Edition at http://xceed.com/wpf_toolkit
Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids
**************************************************************************************/
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.MaterialControls.Views
{
/// <summary>
/// Interaction logic for MaterialDropDownView.xaml
/// </summary>
public partial class MaterialDropDownView : MaterialDemoView
{
public MaterialDropDownView()
{
InitializeComponent();
}
}
}

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save