I have figured it out a bit of a strange way of doing it compared to the old WF forms:
ComboBoxItem typeItem = (ComboBoxItem)cboType.SelectedItem;
string value = typeItem.Content.ToString();
More Related Contents:
- Binding a WPF ComboBox to a custom list
- ComboBox- SelectionChanged event has old value, not new value
- WPF Change Background color of a Combobox
- Disallow/Block selection of disabled combobox item in wpf
- WPF Combobox: Different template in textbox and drop-downlist
- How can I make a WPF combo box have the width of its widest element in XAML?
- Interaction Triggers in Style in ResourceDictionary WPF
- Autocomplete combobox for WPF
- WPF global exception handler [duplicate]
- How to add a Blend Behavior in a Style Setter
- Change desktop wallpaper using code in .NET
- Is there a way to check if WPF is currently executing in design mode or not?
- Get the active color of Windows 8 automatic color theme
- WPF databinding to interface and not actual object – casting possible?
- Wpf animate background color
- Give some command to View in MVVM
- In C# WPF, why is my TabControl’s SelectionChanged event firing too often?
- How to programmatically mouse move,click,right click and keypress, etc. in winform and wpf?
- How to loop over the rows of a WPF toolkit Datagrid
- Using the C# Dispatcher in WPF Applications
- WPF C# Path: How to get from a string with Path Data to Geometry in Code (not in XAML)
- How to support ListBox SelectedItems binding with MVVM in a navigable application
- Error: Must create DependencySource on same Thread as the DependencyObject even by using Dispatcher
- How to drag a UserControl inside a Canvas
- WPF binding not updating the view
- Output Console.WriteLine from WPF Windows Applications to actual console
- Why do UI Controls in WPF have Thread Affinity?
- Accessing the ScrollViewer of a ListBox from C#
- WPF – converting Bitmap to ImageSource
- WPF – Remove focus when clicking outside of a textbox