cancel
Showing results for 
Search instead for 
Did you mean: 

How can I refresh an open UI control button image when the image is determined by a Rule? OPENUI

Former Member
0 Kudos

I have a Button defined in the XAML of a custom control but it doesn't seem to want to update the image based on the rule defined in the Agentry editor.

XAML:

<Button x:Name="PART_Button" Height="50" Width="150">

<Button.Background>

<ImageBrush ImageSource="{Binding Image, UpdateSourceTrigger=PropertyChanged}" Stretch="Uniform"/>

</Button.Background>

</Button>

The Image should flip based on the action the button triggers. I've verified the action fires.

Help?

Accepted Solutions (0)

Answers (0)