ButtonDefinition mixed/indeterminate check state

ButtonDefinition mixed/indeterminate check state

DRoam
Mentor Mentor
529 Views
2 Replies
Message 1 of 3

ButtonDefinition mixed/indeterminate check state

DRoam
Mentor
Mentor

I can make a button within a context menu appear checked or unchecked using the "Pressed" property:

 

Checked ButtonDefinition.png

 

How can I make a button appear with the "mixed"/"indeterminate" checked state, like this?

 

Mixed Check State.png

 

Is this possible with a custom add-in command button?

0 Likes
Accepted solutions (1)
530 Views
2 Replies
Replies (2)
Message 2 of 3

Rene_Gerlach
Advocate
Advocate
Accepted solution

Did you try to change the "StandardIcon" depending on your three states?

"Pressed" wouldn't help,because it has only two states.

Message 3 of 3

DRoam
Mentor
Mentor

Hi @Rene_Gerlach, that's a good idea, I didn't think of that -- setting an icon rather than using the pressed/unpressed states. I'll give that a try, I think that should work. Thanks!

0 Likes