You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a "File" menu on my ribbon (see: mspaint.exe). If I set the "Header" property to "File", I get an exception. Seems it wants an icon there, not a header. If I don't set it to anything, I get that weirdo default icon. I can set it to {x:Null} to clear it, but that's not ideal. Can I set a simple text label?
You seem to be the first one trying to use something different than an icon for the application menu.
Currently there is no way to use a string for the header here.
Changing this would mean a breaking change.
May i ask why you are using the application menu instead of a backstage?
My application really just needs an Open, Save and Exit buttons. Putting them right on the ribbon looks weird, but the backstage seems like overkill. Have a look at mspaint or wordpad for what i'm looking for. Simple utilities I think benefit from a simple "File" menu, and I can't really find any examples that use an icon. I think it would confuse people.
I'm trying to create a "File" menu on my ribbon (see: mspaint.exe). If I set the "Header" property to "File", I get an exception. Seems it wants an icon there, not a header. If I don't set it to anything, I get that weirdo default icon. I can set it to {x:Null} to clear it, but that's not ideal. Can I set a simple text label?
Environment
The text was updated successfully, but these errors were encountered: