Click here to Skip to main content
15,917,642 members

Comments by dhavalsb (Top 1 by date)

dhavalsb 15-Nov-11 1:08am View    
<combobox x:name="cmb" margin="0,0,5,0" height="46" width="46" horizontalalignment="Center" verticalalignment="Top">
<combobox.itemtemplate>
<datatemplate>
<grid name="cmbUserDeviceItemBorder" height="40" removed="Transparent" minwidth="175" maxwidth="200" verticalalignment="Stretch" horizontalalignment="Stretch" mouseleftbuttonup="Border_MouseLeftButtonUp">
<border snapstodevicepixels="true" margin="0">
<stackpanel height="40" tag="{Binding }" orientation="Horizontal" x:name="stk">
<Image Source="{Binding Image}" Height="22" Width="22" VerticalAlignment="Center" HorizontalAlignment="Center" ></Image>
<textblock text="{Binding Text}" margin="5,0,5,3" style="{DynamicResource TextNormal}" foreground="White" verticalalignment="Center" horizontalalignment="Center">







This is the designing part and you can see the "MouseLeftButtonUp" event for the grid.
Now my question is whether there is any event that can be used by keyboard "Enter" key press?