콘텐츠로 이동

ControlExtensions.OnCanClick<T> method

이 콘텐츠는 아직 번역되지 않았습니다.

Sets the predicate asked whether the button can be clicked.

public static T OnCanClick<T>(this T button, Func<bool>? predicate)
where T : Button
parameter description
button Target button.
predicate Predicate, or null to ask nothing.

The button for chaining.

Sets: Button.CanClick