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. |
Return Value
Section titled “Return Value”The button for chaining.
Sets: Button.CanClick
See Also
Section titled “See Also”- class Button
- class ControlExtensions
- namespace Aprillz.MewUI.Controls