i'm trying create toolbar control can group selected buttons border , label. if there built-in control use instead of building usercontrol.
if not, i'm wanting build usercontrol allow me enter one-to-many of imagebutton usercontrols , set grouplabel text below. can done in wpf?
<user_controls:toolbargroup grouplabel="entity"> <user_controls:imagebutton buttontext="entity setup"/> <user_controls:imagebutton buttontext="new entity"/> </user_controls:toolbargroup> ps: post image quirky forum won't allow me post image.
if have got correctly think can achieve way also, , on mouse eneter , leave event can button click job. setting text can use grid , label inside set text, , image buttons below it.
<usercontrol x:class="abc.view.oats" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:ignorable="d" d:designheight="300" d:designwidth="300"> <grid> <image source="{binding image}" stretch="fill"/> </grid> </usercontrol>
Comments
Post a Comment