How can I float buttons on top of controls when the mouse enters (WPF)? -
i want make control work tab header in visual studio 2010.
when have few tabs open (mainwindow.xaml, mainwindow.xaml.cs, etc.) active tab has close button visible, when hover mouse on inactive tab close button appears, means can close tab 1 click.
it border text under floated buttons.
all wpf controls containers, can put button inside button example. can have layout manager control items want in it.
for asking have user control has textarea , button in stackpanel. hide button. have user control register mouseenter , mouseleave events , when mouse on make button visible, , when leaves hide again.
Comments
Post a Comment