Skip to Content
avatar image
Former Member

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers