Class
CommentEntryViewModel

View Model for comment entry user control.

Definition

Constructors

CommentEntryViewModel(IFloatingComment, FloatingCommentType, bool, DateTime?)

Initializes a new instance of the CommentEntryViewModel.

Declaration

cs-api-definition
public CommentEntryViewModel(IFloatingComment comment, FloatingCommentType commentType, bool isResolved, DateTime? creationDate)

Parameters

comment

IFloatingComment

commentType

FloatingCommentType

isResolved

bool

creationDate

DateTime?

Properties

AreAllButtonsCollapsed

Gets or sets the are all the buttons collapsed state.

Declaration

cs-api-definition
public bool AreAllButtonsCollapsed { get; set; }

Property Value

bool

AuthorInitials

Gets the initials of the author of the comment.

Declaration

cs-api-definition
public string AuthorInitials { get; }

Property Value

string

The author initials value.

AuthorName

Gets the name of the author of the comment.

Declaration

cs-api-definition
public string AuthorName { get; }

Property Value

string

The author name value.

CancelClickCommand

Gets the cancel command.

Declaration

cs-api-definition
public ICommand CancelClickCommand { get; }

Property Value

ICommand

The cancel command.

CellName

Gets the name of the related to the comment cell.

Declaration

cs-api-definition
public string CellName { get; }

Property Value

string

The name of the cell value.

CommentType

Gets the comment type.

Declaration

cs-api-definition
public FloatingCommentType CommentType { get; }

Property Value

FloatingCommentType

CreationDate

Gets the date when the comment is created.

Declaration

cs-api-definition
public DateTime? CreationDate { get; set; }

Property Value

DateTime?

The creation date value.

DeleteThreadCommand

Gets the delete thread command.

Declaration

cs-api-definition
public ICommand DeleteThreadCommand { get; }

Property Value

ICommand

The delete thread command.

EditClickCommand

Gets the edit command.

Declaration

cs-api-definition
public ICommand EditClickCommand { get; }

Property Value

ICommand

The edit command.

HasAnotherPendingComment

Gets or sets whether there is another pending comment.

Declaration

cs-api-definition
public bool HasAnotherPendingComment { get; }

Property Value

bool

IsAnotherCommentInEditMode

Gets or sets the is another comment in edit mode state.

Declaration

cs-api-definition
public bool IsAnotherCommentInEditMode { get; set; }

Property Value

bool

IsAnotherCommentReplyInEditMode

Gets or sets the is another reply in edit mode state.

Declaration

cs-api-definition
public bool IsAnotherCommentReplyInEditMode { get; set; }

Property Value

bool

IsComment

Gets or sets the is comment state.

Declaration

cs-api-definition
public bool IsComment { get; set; }

Property Value

bool

If true the entry is a comment, otherwise - a reply.

IsCommentInCreationState

Gets the is comment in creation state.

Declaration

cs-api-definition
public bool IsCommentInCreationState { get; }

Property Value

bool

IsCommentResolved

Gets or sets the is comment resolved state.

Declaration

cs-api-definition
public bool IsCommentResolved { get; set; }

Property Value

bool

IsCommentSpecific

Gets the is comment specific state.

Declaration

cs-api-definition
public bool IsCommentSpecific { get; }

Property Value

bool

IsInEditMode

Gets or sets the is in edit mode state.

Declaration

cs-api-definition
public bool IsInEditMode { get; set; }

Property Value

bool

IsOptionsDropDownOpen

Gets or sets whether the options dropdown is open.

Declaration

cs-api-definition
public bool IsOptionsDropDownOpen { get; set; }

Property Value

bool

If true the dropdown is open, otherwise - closed.

IsReadOnly

Gets or sets the is readonly state.

Declaration

cs-api-definition
public bool IsReadOnly { get; set; }

Property Value

bool

IsReplySpecific

Gets the is reply specific state.

Declaration

cs-api-definition
public bool IsReplySpecific { get; }

Property Value

bool

IsTextboxEditable

Gets or sets the is text box editable state.

Declaration

cs-api-definition
public bool IsTextboxEditable { get; set; }

Property Value

bool

ResolveThreadCommand

Gets the resolve thread command.

Declaration

cs-api-definition
public ICommand ResolveThreadCommand { get; }

Property Value

ICommand

The resolve thread command.

SaveClickCommand

Gets the save command.

Declaration

cs-api-definition
public ICommand SaveClickCommand { get; }

Property Value

ICommand

The save command.

Text

Gets or sets the text of the comment.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string

The text value.