I just started WPF this morning so this is (hopefully) an easy question to solve. I\'ve started with creating a button that has a gradient background. I want to declare th
I figured it out... This:
static DependencyProperty GradientStartProperty; static DependencyProperty GradientEndProperty;
Needed to be changed to this:
public static DependencyProperty GradientStartProperty; public static DependencyProperty GradientEndProperty;