DragActionViewModel - конструктор
Пространство имён: Tessa.UI.WorkflowViewer.ViewModelsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public DragActionViewModel(
WorkflowEditorViewModel editor,
Action action,
bool createConnection,
string iconResource,
string toolTip = null,
Brush stroke = null,
bool hidden = false,
Func<Visibility> getVisibility = null
)
Public Sub New (
editor As WorkflowEditorViewModel,
action As Action,
createConnection As Boolean,
iconResource As String,
Optional toolTip As String = Nothing,
Optional stroke As Brush = Nothing,
Optional hidden As Boolean = false,
Optional getVisibility As Func(Of Visibility) = Nothing
)
public:
DragActionViewModel(
WorkflowEditorViewModel^ editor,
Action^ action,
bool createConnection,
String^ iconResource,
String^ toolTip = nullptr,
Brush^ stroke = nullptr,
bool hidden = false,
Func<Visibility^>^ getVisibility = nullptr
)
new :
editor : WorkflowEditorViewModel *
action : Action *
createConnection : bool *
iconResource : string *
?toolTip : string *
?stroke : Brush *
?hidden : bool *
?getVisibility : Func<Visibility>
(* Defaults:
let _toolTip = defaultArg toolTip null
let _stroke = defaultArg stroke null
let _hidden = defaultArg hidden false
let _getVisibility = defaultArg getVisibility null
*)
-> DragActionViewModel
Параметры
- editor WorkflowEditorViewModel
-
- action Action
-
- createConnection Boolean
-
- iconResource String
-
- toolTip String (Optional)
-
- stroke Brush (Optional)
-
- hidden Boolean (Optional)
-
- getVisibility FuncVisibility (Optional)
-