We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

The type ToolBarAdv does not support direct content ?

Thread ID:





118803 Apr 10,2015 09:05 AM UTC Apr 10,2015 12:33 PM UTC WPF 2
Tags: ToolBarAdv
Asked On April 10, 2015 09:05 AM UTC

Hi all,

I'm trying to add a toolbar to my application, so I proceed like this

<syncfusion:ToolBarAdv HorizontalAlignment="Stretch" Name="tl_text" VerticalAlignment="Stretch"
                    <Button Name="btn_bold" Style="{DynamicResource VEGA_ToolBarButtonStyle}" Command="syncfusion:RichTextBoxAdv.ToggleBold" CommandTarget="{Binding ElementName=tb_body}"
                            IsChecked="{Binding Path=rte.CurrentInlineStyle.FontWeight, Converter={StaticResource FontWeightToChecked}, Mode=TwoWay, ElementName=tb_body}" >
                        <Image Name="img_bold"/>

But on XAML, i got an error on my button, with the error "The type ToolBarAdv does not support direct content".

What I'm doing wrong ?


Replied On April 10, 2015 09:17 AM UTC

Ok, found it, it's because I was using 4.5.1 dll instead of 4.5.

Saranya CJ [Syncfusion]
Replied On April 10, 2015 12:33 PM UTC

Hi Chris,

Thank you for your update. Please let us know if you require any other assistance on this.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon