Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageSource from GeneratedIcon #48

Open
2 of 5 tasks
danielchalmers opened this issue Oct 24, 2022 · 0 comments
Open
2 of 5 tasks

ImageSource from GeneratedIcon #48

danielchalmers opened this issue Oct 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@danielchalmers
Copy link
Contributor

danielchalmers commented Oct 24, 2022

What would you like to be added:

Support for using GeneratedIcon in other places like Window.Icon, or more notably, MenuItem.Icon by making it an ImageSource or similar.

Why is this needed:

Easy icons without any additional dependencies like we already have for the fantastic TaskbarIcon.

Proof of concept:

<MenuItem Header="Add Item">
	<MenuItem.Icon>
		<tb:GeneratedIcon Text="+" />
	</MenuItem.Icon>
</MenuItem>

image

For which Platform:

  • All
  • WPF
  • WinUI
  • Uno
  • Core

Anything else we need to know?

@danielchalmers danielchalmers changed the title Make GeneratedIcon an Image ImageSource from GeneratedIcon Nov 1, 2022
@HavenDV HavenDV added the enhancement New feature or request label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants