Hello, please help me with ComboBox
<ComboBox x:Name="ComboBox" SelectionChanged="ComboBox_SelectionChanged">
<ComboBoxItem Content="Item1"></ComboBoxItem>
<ComboBoxItem Content="Item2"></ComboBoxItem>
</ComboBox>
private void ComboBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
{
if (ComboBox.SelectedItem != null)
{
ComboBoxItem cbItem = (ComboBoxItem)ComboBox.SelectedItem;
if (cbItem.Content.ToString() == "Item1")
{
}
else if (cbItem.Content.ToString() == "Item2")
{
}
}
}
How can i do the the with telerik:RadComboBox?
<ComboBox x:Name="ComboBox" SelectionChanged="ComboBox_SelectionChanged">
<ComboBoxItem Content="Item1"></ComboBoxItem>
<ComboBoxItem Content="Item2"></ComboBoxItem>
</ComboBox>
private void ComboBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
{
if (ComboBox.SelectedItem != null)
{
ComboBoxItem cbItem = (ComboBoxItem)ComboBox.SelectedItem;
if (cbItem.Content.ToString() == "Item1")
{
}
else if (cbItem.Content.ToString() == "Item2")
{
}
}
}
How can i do the the with telerik:RadComboBox?