
Is there any way to disable or remove the arrow from a SplitButton when there are no sub items?
If this is achievable via a template, do you have an example?
At present we achieve the desired effect by creating an instance of both a Button and a SplitButton and setting the Visibility to Collapsed for one of the controls. Unfortunately when we try and do this within a ribbon StackPanel control, the stack panel leaves a gap where the collapsed SplitButton or Button would have been. I would have thought that the stack panel would have calculated that one of the controls was not visible and rearranged its items accordingly. Is this intended behavior?
Which of these two approaches is the best way to achieve a split button without a drop down arrow, if no sub items are present?
Thanks.,
Chris.