Skip to content

Command binding is not working for ContextFlyout #269

@JanRajnoha

Description

@JanRajnoha

Description:

I tried to add Command binding for CellContextFlyout, for MenuFlyoutItem, but it seems it is not working. I did it via link to Element table view with path to DataContext and related command, but it looks like it is not propagated or not handled correctly. Simple binding to command should work, but in my case it will be binded to command inside model, which is not required.

Steps to Reproduce:

In screenshots, could update repro repo from #263 if needed

Expected behavior:

Command is working

Screenshots:

Image Image

RelayCommand class is class I'm using heavily in my project and is working as expected.

Environment:

  • Package Version: preview
  • WinAppSDK Version: 1.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions