This project has moved. For the latest updates, please go here.

"ButtonChrome" not included in namespace "xmlns:chrome="clr-namespace:Xceed.Wpf.Toolkit.Chromes"

Jan 7, 2014 at 12:55 PM
Hi there!

Working on a WPF-project and I am editing the styles, currently for a DropDownButton.
I pasted all the code from here:

The problem is, that VS says "ButtonChrome" is not included in the toolkit.

Can anybody help me please?
Jan 7, 2014 at 5:20 PM

Try modifying the line
Jan 10, 2014 at 8:55 AM
Thanks, that's it! :-)

Another question, there are 2 things left I'm struggling with.
The Arrow of the DDB has always a left alignment, also if I align it to the right, it stays directly at the textcontent (which has to be aligned left).

The other thing is, that I can't trigger the button with "IsMouseOver". It just doesn't accept it, in my opinion it takes the triggers from the Toolbox, but I just don't know how to change them?
Jan 14, 2014 at 5:41 PM

I don't understand the first problem : The Arrow of the DropDownButton left aligned which you want to place on right ?

For the second question : Trigger the MouseOver on the DropDownButton, you can catch the MouseEnter event :
 <xctk:DropDownButton x:Name="_dropDownButton"
                           Content="Click Me"

 private void DropDownButton_MouseEnter_1( object sender, MouseEventArgs e )
     // Do Stuff