Skip to content

Commit fad77d5

Browse files
authored
Exposes BindableIsItemsHost attached property. (#3878)
Makes the `BindableIsItemsHost` attached property public, allowing external access and usage. Fixes: #3685
1 parent b110061 commit fad77d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MaterialDesignThemes.Wpf/TabAssist.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ public static void SetHeaderPanelMargin(DependencyObject element, Thickness valu
2929
public static Thickness GetHeaderPanelMargin(DependencyObject element)
3030
=> (Thickness)element.GetValue(HeaderPanelMarginProperty);
3131

32-
internal static Visibility GetBindableIsItemsHost(DependencyObject obj)
32+
public static Visibility GetBindableIsItemsHost(DependencyObject obj)
3333
=> (Visibility)obj.GetValue(BindableIsItemsHostProperty);
3434

35-
internal static void SetBindableIsItemsHost(DependencyObject obj, Visibility value)
35+
public static void SetBindableIsItemsHost(DependencyObject obj, Visibility value)
3636
=> obj.SetValue(BindableIsItemsHostProperty, value);
3737

38-
internal static readonly DependencyProperty BindableIsItemsHostProperty =
38+
public static readonly DependencyProperty BindableIsItemsHostProperty =
3939
DependencyProperty.RegisterAttached("BindableIsItemsHost", typeof(Visibility), typeof(TabAssist), new PropertyMetadata(Visibility.Collapsed, OnBindableIsItemsHostChanged));
4040

4141
private static void OnBindableIsItemsHostChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

0 commit comments

Comments
 (0)