Hussain,
yes, that's absolutely possible. You can access the States property of the control in your code. However, the States property is defined as the base class StatesBase in our library and in your XAML (or using the WPF property editor) you usually choose one of the sub classes StatesStandard, StatesBool or StatesBitmask for the concrete instance. So in your code you need to cast to the class you chose like this:
StatesStandard states = (StatesStandard)this.pushButton1.States;
states.Critical = true;
Kind Regards
Echo