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

Bug title Pagination分页中页码绑定有问题 #1700

Open
dawndawnZyx opened this issue Feb 14, 2025 · 1 comment
Open

Bug title Pagination分页中页码绑定有问题 #1700

dawndawnZyx opened this issue Feb 14, 2025 · 1 comment

Comments

@dawndawnZyx
Copy link

Describe the bug

Pagination控件中PageIndex前端更新了,绑定的数值没变化,我使用的有问题吗

Steps to reproduce the bug

        <hc:Pagination
            Margin="5"
            HorizontalAlignment="Center"
            DataCountPerPage="{Binding PageSize}"
            DockPanel.Dock="Bottom"
            IsJumpEnabled="True"
            MaxPageCount="{Binding PageCount}"
            PageIndex="{Binding PageIndex}">
            <hc:Interaction.Triggers>
                <hc:EventTrigger EventName="PageUpdated">
                    <hc:EventToCommand Command="{Binding PageUpdatedCommand}" PassEventArgsToCommand="True" />
                </hc:EventTrigger>
            </hc:Interaction.Triggers>
        </hc:Pagination>

Expected behavior

No response

Screenshots

No response

NuGet package version

None

IDE

No response

Framework type

No response

Windows version

No response

Additional context

No response

@CodingOctocat
Copy link

Mode=TwoWay 试试

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