MaterialDesignInXamlToolkit
MaterialDesignInXamlToolkit copied to clipboard
ScrollViewerAssist TreeView
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
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.