XAML for Text Page:
<Page x:Class="Page1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Page1">
<Grid>
<UniformGrid Rows="10" Columns="3">
<Label>Some Text</Label>
<TextBox></TextBox>
<TextBox></TextBox>
<Label>Stuff</Label>
<ComboBox Name="ComboBox1" IsEditable="True">
<ComboBoxItem>Apples</ComboBoxItem>
<ComboBoxItem>Oranges</ComboBoxItem>
<ComboBoxItem>Grapes</ComboBoxItem>
</ComboBox>
</UniformGrid>
</Grid>
</Page>
The Code-Behind:
Class Page1
Private Sub ComboBox1_LostFocus(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles ComboBox1.LostFocus
MessageBox.Show("LostFocus Fired")
End Sub
End Class
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.