콘텐츠로 이동

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


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 : Button