diff --git a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs index 2f5b132f..9b704854 100644 --- a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs +++ b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs @@ -57,7 +57,7 @@ namespace Microsoft.Windows.Controls.PropertyGrid #endregion //IsCategorized - #region NameWidth + #region NameColumnWidth public static readonly DependencyProperty NameColumnWidthProperty = DependencyProperty.Register("NameColumnWidth", typeof(double), typeof(PropertyGrid), new UIPropertyMetadata(150.0)); public double NameColumnWidth @@ -66,7 +66,7 @@ namespace Microsoft.Windows.Controls.PropertyGrid set { SetValue(NameColumnWidthProperty, value); } } - #endregion //NameWidth + #endregion //NameColumnWidth #region Properties @@ -180,6 +180,17 @@ namespace Microsoft.Windows.Controls.PropertyGrid #endregion //SelectedProperty + #region DisplaySummary + + public static readonly DependencyProperty DisplaySummaryProperty = DependencyProperty.Register("DisplaySummary", typeof(bool), typeof(PropertyGrid), new UIPropertyMetadata(true)); + public bool DisplaySummary + { + get { return (bool)GetValue(DisplaySummaryProperty); } + set { SetValue(DisplaySummaryProperty, value); } + } + + #endregion //DisplaySummary + #endregion //Properties #region Constructors diff --git a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml index 59e7645f..5979294b 100644 --- a/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml +++ b/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Themes/Generic.xaml @@ -10,6 +10,7 @@ + @@ -353,8 +354,8 @@ - - + +