I am trying to create a drop down control that is made up of a text box a button and a treeview control. I can not really find any tutorials on how to create a custom drop down control. I did find a user control that drops down a treeview control (vectorlight), but I want to implement my own custom drop down control.
Share
The answer is to use a popup control like so
From the code behind
if (popupTask.IsOpen)
{
popupTask.IsOpen = false;
}
else
{
popupTask.VerticalOffset = 25;
popupTask.HorizontalOffset = 0;
popupTask.IsOpen = true;
}