RichTextBoxViewModel(IColorPaletteSettingsManager, IUriLinkDependencies, NullableColor, NullableColor, NullableColor, NullableDouble, IForumCharactersCounter) - конструктор
Пространство имён: Tessa.UI.Controls.CustomRichTextBoxCtrlСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public RichTextBoxViewModel(
IColorPaletteSettingsManager colorPaletteSettingsManager,
IUriLinkDependencies uriLinkDependencies,
Color? foregroundColor = null,
Color? backgroundColor = null,
Color? blockColor = null,
double? fontSize = null,
IForumCharactersCounter forumCharactersCounter = null
)
Public Sub New (
colorPaletteSettingsManager As IColorPaletteSettingsManager,
uriLinkDependencies As IUriLinkDependencies,
Optional foregroundColor As Color? = Nothing,
Optional backgroundColor As Color? = Nothing,
Optional blockColor As Color? = Nothing,
Optional fontSize As Double? = Nothing,
Optional forumCharactersCounter As IForumCharactersCounter = Nothing
)
public:
RichTextBoxViewModel(
IColorPaletteSettingsManager^ colorPaletteSettingsManager,
IUriLinkDependencies^ uriLinkDependencies,
Nullable<Color^> foregroundColor = nullptr,
Nullable<Color^> backgroundColor = nullptr,
Nullable<Color^> blockColor = nullptr,
Nullable<double> fontSize = nullptr,
IForumCharactersCounter^ forumCharactersCounter = nullptr
)
new :
colorPaletteSettingsManager : IColorPaletteSettingsManager *
uriLinkDependencies : IUriLinkDependencies *
?foregroundColor : Nullable<Color> *
?backgroundColor : Nullable<Color> *
?blockColor : Nullable<Color> *
?fontSize : Nullable<float> *
?forumCharactersCounter : IForumCharactersCounter
(* Defaults:
let _foregroundColor = defaultArg foregroundColor null
let _backgroundColor = defaultArg backgroundColor null
let _blockColor = defaultArg blockColor null
let _fontSize = defaultArg fontSize null
let _forumCharactersCounter = defaultArg forumCharactersCounter null
*)
-> RichTextBoxViewModel
Параметры
- colorPaletteSettingsManager IColorPaletteSettingsManager
-
- uriLinkDependencies IUriLinkDependencies
-
- foregroundColor NullableColor (Optional)
-
- backgroundColor NullableColor (Optional)
-
- blockColor NullableColor (Optional)
-
- fontSize NullableDouble (Optional)
-
- forumCharactersCounter IForumCharactersCounter (Optional)
-