0

I have an implementation question. I am trying to have a rectangle change color based on the position of four sliders. (Alpha, Red, Green, Blue) I am attempting to use a dependency property to combine all four values, convert them to a brush, and apply the brush to a rectangle. First question is, is it possible to do this with one property? If not, do I need a property for each slider and a property that is accessed each time one of the sliders change?

tylerjgarland
  • 643
  • 6
  • 19

1 Answers1

0

See this answer Creating and using a new Brush or color using sliders and dependency properties in C#

Community
  • 1
  • 1
ihatemash
  • 1,474
  • 3
  • 21
  • 42