Posted 15 years ago
by Phil Devaney
-
Senior Software Engineer,
Serck Controls Ltd
Version: 4.5.0485
![Avatar](https://secure.gravatar.com/avatar/4a06b63e32d94d60b9fdfccb467d6857.jpg?s=64&d=identicon&r=g)
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?