Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CommandExtensions] CommandParameter is not supported on ListView #1171

Open
Xiaoy312 opened this issue Jun 27, 2024 · 0 comments
Open

[CommandExtensions] CommandParameter is not supported on ListView #1171

Xiaoy312 opened this issue Jun 27, 2024 · 0 comments
Labels
control/extensions-helpers-markup Related to attached properties, helper classes, or markup extensions without a finer tag kind/bug Something isn't working

Comments

@Xiaoy312
Copy link
Contributor

Xiaoy312 commented Jun 27, 2024

internal static object? TryGetItemCommandParameter(DependencyObject? container)
{
	if (container is ListViewItem)
	{
		// fixme: it doesn't work here, because we came from ListView::ItemClick,
		// and when that happens the SelectedIndex not yet set.

Originally posted by @Xiaoy312 in #1170 (comment)

@Xiaoy312 Xiaoy312 added kind/bug Something isn't working control/extensions-helpers-markup Related to attached properties, helper classes, or markup extensions without a finer tag labels Jun 27, 2024
@Xiaoy312 Xiaoy312 changed the title CommandParameter is not supported on ListView [CommandExtensions] CommandParameter is not supported on ListView Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
control/extensions-helpers-markup Related to attached properties, helper classes, or markup extensions without a finer tag kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant