MaterialDesignInXamlToolkit icon indicating copy to clipboard operation
MaterialDesignInXamlToolkit copied to clipboard

ScrollViewerAssist TreeView

Open jbooth88 opened this issue 1 year ago • 1 comments

Bug explanation

I think the attached properties in MaterialDesignThemes.Wpf.ScrollViewerAssist do not apply to the TreeView control.

As an example, if I add the following code to the control template defined in MaterialDesignTreeView, setting IgnorePadding=False starts to have an effect:

wpf:ScrollViewerAssist.IgnorePadding="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ScrollViewerAssist.IgnorePadding)}"

This might not be limited to TreeView? idk. MaterialDesignListBox doesn't appear to have them set in the control template either, so maybe this is by design?

Version

4.9

jbooth88 avatar Dec 01 '23 19:12 jbooth88

This is likely just an oversight. It is difficult to keep up with all of the attached properties and making sure they are properly applied in all cases.

Keboo avatar Dec 02 '23 00:12 Keboo