chore(style): add ListView small style.

This commit is contained in:
NaBian committed 2022-06-17 22:59:31 +08:00
1 parent ad5de3a45e
commit a484306f68
9 files changed
+161 -85

No files matched your search

@@ -0,0 +1,16 @@
using System.Windows;
using HandyControl.Data;
namespace HandyControl.Controls;
public class GridViewAttach
{
public static readonly DependencyProperty ColumnHeaderHeightProperty = DependencyProperty.RegisterAttached(
"ColumnHeaderHeight", typeof(double), typeof(GridViewAttach), new PropertyMetadata(ValueBoxes.Double0Box));
public static void SetColumnHeaderHeight(DependencyObject element, double value)
=> element.SetValue(ColumnHeaderHeightProperty, value);
public static double GetColumnHeaderHeight(DependencyObject element)
=> (double) element.GetValue(ColumnHeaderHeightProperty);
}