wpf - Changing ListBoxItem Height while using MahApps.Metro -
i have project uses mahapps.metro.
in code behind of listbox temporarily make height of listboxitem
0.
dim draggeditemcontainer uielement = helper.getitemcontainerfrompoint(itemscontrol, _dragstartposition) if draggeditemcontainer isnot nothing dim lbi listboxitem = ctype(draggeditemcontainer, listboxitem) lbi.height = 0 end if
without using mahapps.metro works fine. there special here?
the metrolistboxitem
style of mahapps.metro sets minheight
25
, must set 0
.
Comments
Post a Comment