C# Class Zetbox.Client.Presentables.ValueInputTaskViewModel

Inheritance: WindowViewModel, Zetbox.Client.Presentables.IValueInputTaskViewModel
Mostra file Open project: daszat/zetbox

Public Methods

Method Description
AddButton ( string label, string tooltip, object>.Action callback ) : void
Cancel ( ) : void
Invoke ( ) : void
SetCancelCommandLabel ( string cancelLabel ) : void
SetInvokeCommandLabel ( string acceptLabel ) : void
ValueInputTaskViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, string name, IEnumerable items, BaseValueViewModel>.IEnumerable valueModels, object>.Action callback ) : System

Protected Methods

Method Description
CreateCommands ( ) : ObservableCollection
Dispose ( bool disposing ) : void
OnClose ( ) : void

Private Methods

Method Description
EnsureCancelCommand ( ) : void
EnsureInvokeCommand ( ) : void
ExtractValues ( ) : object>.Dictionary

Method Details

AddButton() public method

public AddButton ( string label, string tooltip, object>.Action callback ) : void
label string
tooltip string
callback object>.Action
return void

Cancel() public method

public Cancel ( ) : void
return void

CreateCommands() protected method

protected CreateCommands ( ) : ObservableCollection
return ObservableCollection

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Invoke() public method

public Invoke ( ) : void
return void

OnClose() protected method

protected OnClose ( ) : void
return void

SetCancelCommandLabel() public method

public SetCancelCommandLabel ( string cancelLabel ) : void
cancelLabel string
return void

SetInvokeCommandLabel() public method

public SetInvokeCommandLabel ( string acceptLabel ) : void
acceptLabel string
return void

ValueInputTaskViewModel() public method

public ValueInputTaskViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, string name, IEnumerable items, BaseValueViewModel>.IEnumerable valueModels, object>.Action callback ) : System
appCtx IViewModelDependencies
dataCtx IZetboxContext
parent Zetbox.Client.Presentables.ViewModel
name string
items IEnumerable
valueModels BaseValueViewModel>.IEnumerable
callback object>.Action
return System