@@ -5,16 +5,29 @@ public static class TabAssist
5
5
public static readonly DependencyProperty HasFilledTabProperty = DependencyProperty . RegisterAttached (
6
6
"HasFilledTab" , typeof ( bool ) , typeof ( TabAssist ) , new PropertyMetadata ( false ) ) ;
7
7
8
- public static void SetHasFilledTab ( DependencyObject element , bool value ) => element . SetValue ( HasFilledTabProperty , value ) ;
8
+ public static void SetHasFilledTab ( DependencyObject element , bool value )
9
+ => element . SetValue ( HasFilledTabProperty , value ) ;
9
10
10
- public static bool GetHasFilledTab ( DependencyObject element ) => ( bool ) element . GetValue ( HasFilledTabProperty ) ;
11
+ public static bool GetHasFilledTab ( DependencyObject element )
12
+ => ( bool ) element . GetValue ( HasFilledTabProperty ) ;
11
13
12
14
public static readonly DependencyProperty HasUniformTabWidthProperty = DependencyProperty . RegisterAttached (
13
15
"HasUniformTabWidth" , typeof ( bool ) , typeof ( TabAssist ) , new PropertyMetadata ( false ) ) ;
14
16
15
- public static void SetHasUniformTabWidth ( DependencyObject element , bool value ) => element . SetValue ( HasUniformTabWidthProperty , value ) ;
17
+ public static void SetHasUniformTabWidth ( DependencyObject element , bool value )
18
+ => element . SetValue ( HasUniformTabWidthProperty , value ) ;
16
19
17
- public static bool GetHasUniformTabWidth ( DependencyObject element ) => ( bool ) element . GetValue ( HasUniformTabWidthProperty ) ;
20
+ public static bool GetHasUniformTabWidth ( DependencyObject element )
21
+ => ( bool ) element . GetValue ( HasUniformTabWidthProperty ) ;
22
+
23
+ public static readonly DependencyProperty HeaderPanelMarginProperty = DependencyProperty . RegisterAttached (
24
+ "HeaderPanelMargin" , typeof ( Thickness ) , typeof ( TabAssist ) , new PropertyMetadata ( default ( Thickness ) ) ) ;
25
+
26
+ public static void SetHeaderPanelMargin ( DependencyObject element , Thickness value )
27
+ => element . SetValue ( HeaderPanelMarginProperty , value ) ;
28
+
29
+ public static Thickness GetHeaderPanelMargin ( DependencyObject element )
30
+ => ( Thickness ) element . GetValue ( HeaderPanelMarginProperty ) ;
18
31
19
32
internal static Visibility GetBindableIsItemsHost ( DependencyObject obj )
20
33
=> ( Visibility ) obj . GetValue ( BindableIsItemsHostProperty ) ;
0 commit comments