.NET Programming
--
Questions
--
Followers
Top Experts
SelectionBoxItem vs SelectedItem properties of Combobox in WPF
I am having hard time understanding the difference between the SelectionBoxItem and the SelectedItem Property of the ComboBox class. I already checked their documentation in the MSDN site (http://msdn.microsoft.com/en-us/library/system.windows.controls.combobox_properties%28v=VS.100%29.aspx)
Their definition is very similar so I am unable to see the distinction between the two properties. Here are the respective definition for SelectedItem and SelectionBoxItem according the msdn documentation
SelectedItem: Gets or sets the first item in the current selection or returns null if the selection is empty  (Inherited from Selector.)
SelectionBoxItem: Gets the item that is displayed in the selection box.
Their definition is very similar so I am unable to see the distinction between the two properties. Here are the respective definition for SelectedItem and SelectionBoxItem according the msdn documentation
SelectedItem: Gets or sets the first item in the current selection or returns null if the selection is empty  (Inherited from Selector.)
SelectionBoxItem: Gets the item that is displayed in the selection box.
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Perhaps, this will help you understand the difference -
http://msdn.microsoft.com/en-us/library/system.windows.controls.combobox.selectionboxitem%28VS.95%29.aspx
http://msdn.microsoft.com/en-us/library/system.windows.controls.combobox.selectionboxitem%28VS.95%29.aspx
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
.NET Programming
--
Questions
--
Followers
Top Experts
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.