DragActionViewModel - конструктор |
Пространство имён:
Tessa.UI.WorkflowViewer.ViewModels
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: Tessa.UI.WorkflowViewer.ViewModelsWorkflowEditorViewModel
- action
- Тип: SystemAction
- createConnection
- Тип: SystemBoolean
- iconResource
- Тип: SystemString
- toolTip (Optional)
- Тип: SystemString
- stroke (Optional)
- Тип: System.Windows.MediaBrush
- hidden (Optional)
- Тип: SystemBoolean
- getVisibility (Optional)
- Тип: SystemFuncVisibility
См. также