Posted 16 years ago
by Phil Devaney
-
Senior Software Engineer,
Serck Controls Ltd
Version: 4.5.0485
I have a SplitButton with a Menu containing several normal Buttons as PopupContent. Each Button in the menu is meant to execute the same command with a different parameter, and the SplitButton is meant to execute the same command as an 'All' option. I am trying to detect the 'All' option in my command handler by setting the CommandParameter to {x:Null}, but it still seems to be passed through as a CheckableCommandParameter.
This isn't too big a deal as I can simply do a type check in my handler instead of checking for null, but I was wondering if this was the intended behavior?
This isn't too big a deal as I can simply do a type check in my handler instead of checking for null, but I was wondering if this was the intended behavior?