This project is read-only.

Fluent:Button Triggers

Jul 15, 2010 at 7:52 PM

I would like to change the text and icon on a fluent:Button based on a property in my ViewModel. I was having problems doing this so I made a simple test project and the following code does not work as I would expect it to. Is this possible?


<Fluent:Button Text="Default">
		<Style TargetType="{x:Type Fluent:Button}">
			<Trigger Property="IsMouseOver" Value="True">
				<Setter Property="Text" Value="Over"/>
			<Trigger Property="IsMouseOver" Value="False">
				<Setter Property="Text" Value="NotOver"/>


Jul 16, 2010 at 8:28 PM

Anybody have any ideas on this one?

Sep 8, 2010 at 12:27 PM
Edited Sep 8, 2010 at 1:48 PM

Try to change style declaration:

<Style TargetType="{x:Type Fluent:Button}" BasedOn="{x:Type Fluent:Button}">