Skip to content
This repository was archived by the owner on May 7, 2022. It is now read-only.
This repository was archived by the owner on May 7, 2022. It is now read-only.

Add native icon support #12

Open
Open

Description

@ygoe

To show an icon with each tree item, the user needs to create a template that includes that additional Image element. This is normally included in the item's selection border and thus doesn't look good in Classic-like themes (Luna etc.). Instead, and to make the use of icons easier, the icon image could be added to the default item template. Aero and Classic themes could then distinguish as to whether or not include the icon in the selection border.

While WPF offers the flexibility to include virtually anything with tree items (like 2 checkboxes and 3 images), the most often found use case is arguably text with a single icon image. This main scenario could be easier. If the additional flexibility is needed, the icon doesn't need to be used and a custom template can be defined at any time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions