Uses the command selector to find an appropriate parameterized command in the source and bind it to this BaseButton.
public virtual IDisposable BindCommand( Expression<Action> commandSelector, object source, Action<BaseButton, Func<Boolean>> updateState, Func<Object> queryCommandParameter )
Overridable Public Function BindCommand( ByVal commandSelector As Expression(of Action), ByVal source As Object, ByVal updateState As Action(of BaseButton, Func(of Boolean)), ByVal queryCommandParameter As Func(of Object) ) As IDisposable
The BindCommand method supports the WinForms MVVM pattern. See the Commands topic to learn more.