dchau12
asked on
Silverlight Combo Box
In WPF, I had a combo box with an attribute of "Text" I was able to bind the selected value of the combo box with the following: Text="{Binding CarrierCriteria.insExpDate Operator}"
In Silverlight, there is no Text attribute. How do I capture the users selected value?
Here is the element:
<ComboBox >
<ComboBoxItem Content=">"></ComboBoxI tem>
<ComboBoxItem Content=">="></ComboBox Item>
<ComboBoxItem Content="<"></ComboBoxI tem>
<ComboBoxItem Content="<="></ComboBox Item>
<ComboBoxItem Content="="></ComboBoxItem >
</ComboBox>
In Silverlight, there is no Text attribute. How do I capture the users selected value?
Here is the element:
<ComboBox >
<ComboBoxItem Content=">"></ComboBoxI
<ComboBoxItem Content=">="></ComboBox
<ComboBoxItem Content="<"></ComboBoxI
<ComboBoxItem Content="<="></ComboBox
<ComboBoxItem Content="="></ComboBoxItem
</ComboBox>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
SelectedItem brings back the whole object. I am hoping it works for a static list in the combo box. The web service is down, so I'll test it in a bit when it comes back up.