CommunityToolkit / CommunityToolkit/Maui
[BUG] HeaderCell problem with IconTintColorBehavior.
- 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:

### 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
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