Skip to Content
0

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

Nov 30, 2016 at 07:19 PM

88

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers