Table of Contents

Method AddCommandHandler

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

AddCommandHandler(UIElement, ICommand, Action)

public static void AddCommandHandler(this UIElement element, ICommand command, Action execute)

Parameters

element UIElement
command ICommand
execute Action

AddCommandHandler(UIElement, ICommand, Action, Func<bool>)

public static void AddCommandHandler(this UIElement element, ICommand command, Action execute, Func<bool> canExecute)

Parameters

element UIElement
command ICommand
execute Action
canExecute Func<bool>