ReadOnlyRichTextBoxViewModel(ScrollBarVisibility, Visibility, FuncBoolean, FuncCancellationToken, Task) - конструктор |
Пространство имён:
Tessa.UI.Controls.CustomRichTextBoxCtrl
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public ReadOnlyRichTextBoxViewModel(
ScrollBarVisibility verticalScrollBarVisibility = ScrollBarVisibility.Disabled,
Visibility isVisibilityContextMenu = Visibility.Collapsed,
Func<bool> setReadOnlyAction = null,
Func<CancellationToken, Task> editAction = null
)
Public Sub New (
Optional verticalScrollBarVisibility As ScrollBarVisibility = ScrollBarVisibility.Disabled,
Optional isVisibilityContextMenu As Visibility = Visibility.Collapsed,
Optional setReadOnlyAction As Func(Of Boolean) = Nothing,
Optional editAction As Func(Of CancellationToken, Task) = Nothing
)
public:
ReadOnlyRichTextBoxViewModel(
ScrollBarVisibility verticalScrollBarVisibility = ScrollBarVisibility::Disabled,
Visibility isVisibilityContextMenu = Visibility::Collapsed,
Func<bool>^ setReadOnlyAction = nullptr,
Func<CancellationToken, Task^>^ editAction = nullptr
)
new :
?verticalScrollBarVisibility : ScrollBarVisibility *
?isVisibilityContextMenu : Visibility *
?setReadOnlyAction : Func<bool> *
?editAction : Func<CancellationToken, Task>
(* Defaults:
let _verticalScrollBarVisibility = defaultArg verticalScrollBarVisibility ScrollBarVisibility.Disabled
let _isVisibilityContextMenu = defaultArg isVisibilityContextMenu Visibility.Collapsed
let _setReadOnlyAction = defaultArg setReadOnlyAction null
let _editAction = defaultArg editAction null
*)
-> ReadOnlyRichTextBoxViewModel
Параметры
- verticalScrollBarVisibility (Optional)
- Тип: System.Windows.ControlsScrollBarVisibility
- isVisibilityContextMenu (Optional)
- Тип: System.WindowsVisibility
- setReadOnlyAction (Optional)
- Тип: SystemFuncBoolean
- editAction (Optional)
- Тип: SystemFuncCancellationToken, Task
См. также