Skip to content

How to add behavior to ComboBox SelectionChanged event #16856

Answered by agneszitte
modula2019 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @modula2019,
Just so it is easier for anyone searching for the same info, I will re-share here the same info I shared with you on Discord here. I noticed after my answer there that you opened a discussion here.

Similar concept to the WCT v7.1.2 details that I previously shared with you in terms of how to add the PackageReference and PackageVersion with the new single project structure. In attachment here UnoApp1-updated.zip, you will find your sample with the adjustments.

In Directory.Package.props:

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">
    <PackageVersion Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@agneszitte
Comment options

@modula2019
Comment options

@agneszitte
Comment options

Answer selected by modula2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants