New to Telerik UI for WPFStart a free 30-day trial

View Model for comment entry user control.

Definition

Constructors

Initializes a new instance of the CommentEntryViewModel.

C#
public CommentEntryViewModel(IFloatingComment comment, FloatingCommentType commentType, bool isResolved, DateTime? creationDate)
Parameters:commentIFloatingCommentcommentTypeFloatingCommentTypeisResolvedboolcreationDateDateTime?

Properties

Gets or sets the are all the buttons collapsed state.

C#
public bool AreAllButtonsCollapsed { get; set; }

Gets the initials of the author of the comment.

C#
public string AuthorInitials { get; }
Property Value:

The author initials value.

Gets the name of the author of the comment.

C#
public string AuthorName { get; }
Property Value:

The author name value.

Gets the cancel command.

C#
public ICommand CancelClickCommand { get; }
Property Value:

The cancel command.

Gets the name of the related to the comment cell.

C#
public string CellName { get; }
Property Value:

The name of the cell value.

Gets the comment type.

C#
public FloatingCommentType CommentType { get; }

Gets the date when the comment is created.

C#
public DateTime? CreationDate { get; set; }
Property Value:

The creation date value.

Gets the delete thread command.

C#
public ICommand DeleteThreadCommand { get; }
Property Value:

The delete thread command.

Gets the edit command.

C#
public ICommand EditClickCommand { get; }
Property Value:

The edit command.

Gets or sets whether there is another pending comment.

C#
public bool HasAnotherPendingComment { get; }

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

C#
public bool IsAnotherCommentInEditMode { get; set; }

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

C#
public bool IsAnotherCommentReplyInEditMode { get; set; }

Gets or sets the is comment state.

C#
public bool IsComment { get; set; }
Property Value:

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

Gets the is comment in creation state.

C#
public bool IsCommentInCreationState { get; }

Gets or sets the is comment resolved state.

C#
public bool IsCommentResolved { get; set; }

Gets the is comment specific state.

C#
public bool IsCommentSpecific { get; }

Gets or sets the is in edit mode state.

C#
public bool IsInEditMode { get; set; }

Gets or sets whether the options dropdown is open.

C#
public bool IsOptionsDropDownOpen { get; set; }
Property Value:

If true the dropdown is open, otherwise - closed.

Gets or sets the is readonly state.

C#
public bool IsReadOnly { get; set; }

Gets the is reply specific state.

C#
public bool IsReplySpecific { get; }

Gets or sets the is text box editable state.

C#
public bool IsTextboxEditable { get; set; }

Gets the resolve thread command.

C#
public ICommand ResolveThreadCommand { get; }
Property Value:

The resolve thread command.

Gets the save command.

C#
public ICommand SaveClickCommand { get; }
Property Value:

The save command.

Gets or sets the text of the comment.

C#
public string Text { get; set; }
Property Value:

The text value.