View Model for comment entry user control.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class CommentEntryViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseCommentEntryViewModel
Implements:
Inherited Members
Constructors
Initializes a new instance of the CommentEntryViewModel.
public CommentEntryViewModel(IFloatingComment comment, FloatingCommentType commentType, bool isResolved, DateTime? creationDate)
Properties
Gets or sets the are all the buttons collapsed state.
public bool AreAllButtonsCollapsed { get; set; }
Gets the initials of the author of the comment.
public string AuthorInitials { get; }
The author initials value.
Gets the name of the author of the comment.
public string AuthorName { get; }
The author name value.
Gets the cancel command.
public ICommand CancelClickCommand { get; }
The cancel command.
Gets the name of the related to the comment cell.
public string CellName { get; }
The name of the cell value.
Gets the comment type.
public FloatingCommentType CommentType { get; }
Gets the date when the comment is created.
public DateTime? CreationDate { get; set; }
The creation date value.
Gets the delete thread command.
public ICommand DeleteThreadCommand { get; }
The delete thread command.
Gets the edit command.
public ICommand EditClickCommand { get; }
The edit command.
Gets or sets whether there is another pending comment.
public bool HasAnotherPendingComment { get; }
Gets or sets the is another comment in edit mode state.
public bool IsAnotherCommentInEditMode { get; set; }
Gets or sets the is another reply in edit mode state.
public bool IsAnotherCommentReplyInEditMode { get; set; }
Gets or sets the is comment state.
public bool IsComment { get; set; }
If true the entry is a comment, otherwise - a reply.
Gets the is comment in creation state.
public bool IsCommentInCreationState { get; }
Gets or sets the is comment resolved state.
public bool IsCommentResolved { get; set; }
Gets the is comment specific state.
public bool IsCommentSpecific { get; }
Gets or sets the is in edit mode state.
public bool IsInEditMode { get; set; }
Gets or sets whether the options dropdown is open.
public bool IsOptionsDropDownOpen { get; set; }
If true the dropdown is open, otherwise - closed.
Gets or sets the is readonly state.
public bool IsReadOnly { get; set; }
Gets the is reply specific state.
public bool IsReplySpecific { get; }
Gets or sets the is text box editable state.
public bool IsTextboxEditable { get; set; }
Gets the resolve thread command.
public ICommand ResolveThreadCommand { get; }
The resolve thread command.
Gets the save command.
public ICommand SaveClickCommand { get; }
The save command.