Link to home
Create AccountLog in
.NET Programming

.NET Programming

--

Questions

--

Followers

Top Experts

Avatar of a_anis3000
a_anis3000🇪🇬

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.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of khanalprajwalkhanalprajwal🇳🇵


ASKER CERTIFIED SOLUTION
Avatar of unmeshdaveunmeshdave🇮🇳

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

.NET Programming

.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.