CommunityToolkit / CommunityToolkit/Maui

[BUG] HeaderCell problem with IconTintColorBehavior.

Open
#1,808 2 comments 0 reactions 0 assignees View on GitHub
area/behaviors bug unverified
Dominant language
C#
Stars
2.7k
Forks
500
Avg merge
2d 14h
Merged PRs (30d)
7

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Did you read the "Reporting a bug" section on Contributing file?

- [X] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

### Current Behavior

IconTintColorBehavior is not working in ListView HeaderCell

### Expected Behavior

IconTintColorBehavior is working in ListView HeaderCell

### Steps To Reproduce

Create page with listview with HeaderTemplate. Inside header DataTemplate - put image with IconTintColorBehavior and add Header object to display it. Image is not tinted. Repo included. Screen from sample repo:
![image](https://github.com/CommunityToolkit/Maui/assets/2082525/be988185-7cff-4b3c-8b1b-b4270790252c)

### Link to public reproduction project repository

https://github.com/arkadiuszokon/ExampleTintColorApp

### Environment

```markdown
- .NET MAUI CommunityToolkit: 8.0.1
- OS: both
- .NET MAUI: 8.0.7
```

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked ExampleTintColorApp reproduction and inspect the ListView HeaderTemplate containing the image and IconTintColorBehavior. Compare the behavior in the HeaderCell with a working context, then verify that the icon is tinted on the listed .NET MAUI environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.