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

Material Design 3 ToggleButton #3077

Closed
LejlaBrkic123 opened this issue Feb 7, 2023 · 2 comments
Closed

Material Design 3 ToggleButton #3077

LejlaBrkic123 opened this issue Feb 7, 2023 · 2 comments

Comments

@LejlaBrkic123
Copy link

Bug explanation

Is it possible to remove check mark icon from toggleButton?
I am changing background color, height and with but I don't want to have check mark icon.

toggleButton

Version

Material Design 3

@LejlaBrkic123 LejlaBrkic123 added bug evaluation required Items is pending review or evaluation by the team labels Feb 7, 2023
@nicolaihenriksen nicolaihenriksen removed bug evaluation required Items is pending review or evaluation by the team labels Feb 7, 2023
@nicolaihenriksen
Copy link
Contributor

Yes, you can control the "on content" using ToggleButtonAssist.OnContent. This is the content that is displayed when ToggleButton.Ischecked=True and it defaults to the checkmark.

You can simply add this to disable the "on content":
materialDesign:ToggleButtonAssist.OnContent="{x:Null}"

@LejlaBrkic123
Copy link
Author

Great. It is working. Thank you.

@Keboo Keboo closed this as completed Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants