splitbutton label not appearing when place in RowPanel

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 16 years ago by Steve GW
Avatar
I have a ribbon:splitbutton in a rowpanel and its label is not appearing for example

<ribbon:RowPanel>
<ribbon:ButtonGroup>
<ribbon:SplitButton ImageSourceSmall="/Resources/Images/Find16.png" Label="Find" />
<TextBox Name="FindWhatTextBox" Width="135" ></TextBox>
</ribbon:ButtonGroup>
</ribbon:RowPanel>


The word Find is not visible? Is this expected behaviour

[Modified at 04/05/2009 09:40 PM]

Comments (2)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Steve,

Everything in Ribbon is designed to use variants, and as such provides all the resizing functionality you find in Office.

When a SplitButton is in a ButtonGroup it defaults to using the Small variant size. But you can add this to the SplitButton's XAML to make it show the label:
VariantSize="Medium"


Actipro Software Support

Posted 16 years ago by Steve GW
Avatar
Thanks that helped
The latest build of this product (v25.1.0) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.