void FirePropertyChange(ProgressBarProperty property) { // Fire event if we need to if (PropertyChanged != null) { PropertyChanged(this, property); } // Force a repaint of the control Invalidate(); }
void FirePropertyChange(ProgressBarProperty property) { // Fire event if we need to if (PropertyChanged != null) PropertyChanged(this, property); // Force a repaint of the control Invalidate(); }