HandyOrg / HandyOrg/HandyControl

Pagination 编辑模板会导致PageUpdated失效

Open
#1,372 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
7.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

Pagination 编辑模板会导致PageUpdated失效

Steps to reproduce the bug

1.选择Pagination控件
2.编辑模板,但是不更改任何模板内容
3.启动项目,选择页码,比如共10页,直接点击第3页
4.会发现Pagination控件上的页码改变,但是datagrid内容不改变,且进入函数
5.控件不引用模板style,datagrid内容改变且进入函数

Expected behavior

No response

Screenshots

No response

NuGet package version

HandyControl 3.3.0

IDE

Visual Studio 2019

Framework type

.Net Framework 4.7.2

Windows version

Windows 11 (22000)

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the Pagination control, an edited template, and a DataGrid, following the listed steps in a WPF sample. Compare the behavior with a control that does not reference a template style. Done means changing pages both updates the DataGrid and triggers PageUpdated when the edited template is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.