Selected Text of The ComboBox

Posted by Asim Sajjad on Stack Overflow See other posts from Stack Overflow or by Asim Sajjad
Published on 2010-05-18T06:34:40Z Indexed on 2010/05/18 6:40 UTC
Read the original article Hit count: 618

Filed under:
|
|

how can I get the selected text on the SelectionChanged event of the comboBox here is my code

<ComboBox x:Name="cboRecordType" Margin="2,0" Height="23" Grid.Column="1" VerticalAlignment="Center" SelectionChanged="ComboBox_SelectionChanged">
            <ComboBoxItem Content="Weight"/>
            <ComboBoxItem Content="Height"/>
            <ComboBoxItem Content="Blood Pressure"/>
            <ComboBoxItem Content="Blood Gulocose"/>
        </ComboBox>

© Stack Overflow or respective owner

Related posts about wpf

Related posts about wpf-controls