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

Button inside Item #4

Open
poochie89 opened this issue Jul 8, 2018 · 1 comment
Open

Button inside Item #4

poochie89 opened this issue Jul 8, 2018 · 1 comment

Comments

@poochie89
Copy link

When adding a Button inside the itemtemplate, it is not clickable. The same happens to other command invoking elements.

            <dragablz:DragablzItemsControl.ItemTemplate>
                <DataTemplate DataType="system:Int32">
                    <WrapPanel Width="100" Height="50" Tag="{Binding}">
                        <TextBlock VerticalAlignment="Center" Foreground="White" Width="auto" HorizontalAlignment="Center" Text="{Binding Name}" />
                        <Button Height="20" Width="40" Command="ApplicationCommands.New">New</Button>
                    </WrapPanel>
                </DataTemplate>
            </dragablz:DragablzItemsControl.ItemTemplate>

The same button works when adding outside the draggableitemscontrol (inside the same grid),

@AmeerMansourBeca
Copy link

yeah, i hope this gets sorted as well.
even if you have a user control inside datatemplate

did you figure away to achieve that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants