HandyOrg / HandyOrg/HandyControl

Subclassing PropertyGrid breaks its functionality

Open
#812 2 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
Subclassing from PropertyGrid renders it non-functional. Nothing is drawn anymore.

To Reproduce
public class MyPropertyGrid : PropertyGrid {}
<myhc:MyPropertyGrid SelectedObject="{Binding SelectedObj}"/>

Expected behavior
Subclassing should not change anything.

  • .net 5.0
  • vs2019 latest
  • Version 3.1.0

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

Reproduce the issue with a PropertyGrid subclass and the shown SelectedObject binding on .NET 5.0 using HandyControl 3.1.0. Start by locating the PropertyGrid implementation and its rendering path; done means the subclass renders and behaves like PropertyGrid without changing the binding scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.