ControlExtensions.BindCommand method (1 of 2)
이 콘텐츠는 아직 번역되지 않았습니다.
Binds the semantic command invoked by a segment button.
public static SegmentButton BindCommand(this SegmentButton button, ObservableValue<Command?> source)Sets: CommandSourceControl.Command
See Also
Section titled “See Also”- class SegmentButton
- class ObservableValue<T>
- class Command
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.BindCommand<T> method (2 of 2)
Section titled “ControlExtensions.BindCommand<T> method (2 of 2)”Binds the button’s semantic command to an observable value.
public static T BindCommand<T>(this T button, ObservableValue<Command?> source, CommandPresentationMode presentation = CommandPresentationMode.None) where T : ButtonSee Also
Section titled “See Also”- class ObservableValue<T>
- class Command
- enum CommandPresentationMode
- class Button
- class ControlExtensions
- namespace Aprillz.MewUI.Controls