TopicControlViewModel - конструктор
Пространство имён: Tessa.UI.Controls.ForumsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public TopicControlViewModel(
ForumViewModel forumViewModel,
TopicModel topicModel,
Guid? messageID = null,
DateTime? openMessageTime = null,
Color? foregroundColor = null,
Color? backgroundColor = null,
Color? blockColor = null,
double? fontSize = null,
Func<MessageModel, ParticipantModel, bool> isVisibleEditAction = null
)
Public Sub New (
forumViewModel As ForumViewModel,
topicModel As TopicModel,
Optional messageID As Guid? = Nothing,
Optional openMessageTime As DateTime? = Nothing,
Optional foregroundColor As Color? = Nothing,
Optional backgroundColor As Color? = Nothing,
Optional blockColor As Color? = Nothing,
Optional fontSize As Double? = Nothing,
Optional isVisibleEditAction As Func(Of MessageModel, ParticipantModel, Boolean) = Nothing
)
public:
TopicControlViewModel(
ForumViewModel^ forumViewModel,
TopicModel^ topicModel,
Nullable<Guid> messageID = nullptr,
Nullable<DateTime> openMessageTime = nullptr,
Nullable<Color^> foregroundColor = nullptr,
Nullable<Color^> backgroundColor = nullptr,
Nullable<Color^> blockColor = nullptr,
Nullable<double> fontSize = nullptr,
Func<MessageModel^, ParticipantModel^, bool>^ isVisibleEditAction = nullptr
)
new :
forumViewModel : ForumViewModel *
topicModel : TopicModel *
?messageID : Nullable<Guid> *
?openMessageTime : Nullable<DateTime> *
?foregroundColor : Nullable<Color> *
?backgroundColor : Nullable<Color> *
?blockColor : Nullable<Color> *
?fontSize : Nullable<float> *
?isVisibleEditAction : Func<MessageModel, ParticipantModel, bool>
(* Defaults:
let _messageID = defaultArg messageID null
let _openMessageTime = defaultArg openMessageTime null
let _foregroundColor = defaultArg foregroundColor null
let _backgroundColor = defaultArg backgroundColor null
let _blockColor = defaultArg blockColor null
let _fontSize = defaultArg fontSize null
let _isVisibleEditAction = defaultArg isVisibleEditAction null
*)
-> TopicControlViewModel
Параметры
- forumViewModel ForumViewModel
-
- topicModel TopicModel
-
- messageID NullableGuid (Optional)
-
- openMessageTime NullableDateTime (Optional)
-
- foregroundColor NullableColor (Optional)
-
- backgroundColor NullableColor (Optional)
-
- blockColor NullableColor (Optional)
-
- fontSize NullableDouble (Optional)
-
- isVisibleEditAction FuncMessageModel, ParticipantModel, Boolean (Optional)
-