dotnet / dotnet/maui

Enable Button to have a Content

Open
#8,191 38 comments 87 reactions 0 assignees View on GitHub
area-controls-button delighter-sc labs-candidate partner/cat 😻 proposal/open
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

### Description

It would be great to allow the `Button` control to accept not only a `Text`, but also a `Content` or `FormattedText`.

### Public API Changes

```xaml










```

### Intended Use-Case

In this case, for instance, an icon and a label can be added to the button.
Maybe supporting `FormattedText` like on the `Label` control would do the same job (in my case)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.