ReadOnlyRichTextBoxViewModel(IUriLinkDependencies, ScrollBarVisibility, Visibility, FuncBoolean, FuncCancellationToken, Task) - конструктор
Пространство имён: Tessa.UI.Controls.CustomRichTextBoxCtrlСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public ReadOnlyRichTextBoxViewModel(
IUriLinkDependencies uriLinkDependencies,
ScrollBarVisibility verticalScrollBarVisibility = 0,
Visibility isVisibilityContextMenu = 2,
Func<bool> setReadOnlyAction = null,
Func<CancellationToken, Task> editAction = null
)
Public Sub New (
uriLinkDependencies As IUriLinkDependencies,
Optional verticalScrollBarVisibility As ScrollBarVisibility = 0,
Optional isVisibilityContextMenu As Visibility = 2,
Optional setReadOnlyAction As Func(Of Boolean) = Nothing,
Optional editAction As Func(Of CancellationToken, Task) = Nothing
)
public:
ReadOnlyRichTextBoxViewModel(
IUriLinkDependencies^ uriLinkDependencies,
ScrollBarVisibility^ verticalScrollBarVisibility = 0,
Visibility^ isVisibilityContextMenu = 2,
Func<bool>^ setReadOnlyAction = nullptr,
Func<CancellationToken, Task^>^ editAction = nullptr
)
new :
uriLinkDependencies : IUriLinkDependencies *
?verticalScrollBarVisibility : ScrollBarVisibility *
?isVisibilityContextMenu : Visibility *
?setReadOnlyAction : Func<bool> *
?editAction : Func<CancellationToken, Task>
(* Defaults:
let _verticalScrollBarVisibility = defaultArg verticalScrollBarVisibility 0
let _isVisibilityContextMenu = defaultArg isVisibilityContextMenu 2
let _setReadOnlyAction = defaultArg setReadOnlyAction null
let _editAction = defaultArg editAction null
*)
-> ReadOnlyRichTextBoxViewModel
Параметры
- uriLinkDependencies IUriLinkDependencies
-
- verticalScrollBarVisibility ScrollBarVisibility (Optional)
-
- isVisibilityContextMenu Visibility (Optional)
-
- setReadOnlyAction FuncBoolean (Optional)
-
- editAction FuncCancellationToken, Task (Optional)
-