ClassCommentEntryViewModel
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
CommentEntryViewModel(IFloatingComment, FloatingCommentType, bool, DateTime?)
Initializes a new instance of the CommentEntryViewModel.
Declaration
public CommentEntryViewModel(IFloatingComment comment, FloatingCommentType commentType, bool isResolved, DateTime? creationDate)
Parameters
comment
IFloatingComment
commentType
isResolved
creationDate
Properties
AreAllButtonsCollapsed
Gets or sets the are all the buttons collapsed state.
AuthorInitials
Gets the initials of the author of the comment.
Declaration
public string AuthorInitials { get; }
Property Value
The author initials value.
AuthorName
Gets the name of the author of the comment.
Declaration
public string AuthorName { get; }
Property Value
The author name value.
CancelClickCommand
Gets the cancel command.
Declaration
public ICommand CancelClickCommand { get; }
Property Value
The cancel command.
CellName
Gets the name of the related to the comment cell.
Declaration
public string CellName { get; }
Property Value
The name of the cell value.
CommentType
Gets the comment type.
Declaration
public FloatingCommentType CommentType { get; }
Property Value
CreationDate
Gets the date when the comment is created.
Declaration
public DateTime? CreationDate { get; set; }
Property Value
The creation date value.
DeleteThreadCommand
Gets the delete thread command.
Declaration
public ICommand DeleteThreadCommand { get; }
Property Value
The delete thread command.
EditClickCommand
Gets the edit command.
Declaration
public ICommand EditClickCommand { get; }
Property Value
The edit command.
HasAnotherPendingComment
Gets or sets whether there is another pending comment.
IsAnotherCommentInEditMode
Gets or sets the is another comment in edit mode state.
Declaration
public bool IsAnotherCommentInEditMode { get; set; }
Property Value
IsAnotherCommentReplyInEditMode
Gets or sets the is another reply in edit mode state.
Declaration
public bool IsAnotherCommentReplyInEditMode { get; set; }
Property Value
IsComment
Gets or sets the is comment state.
Declaration
public bool IsComment { get; set; }
Property Value
If true the entry is a comment, otherwise - a reply.
IsCommentInCreationState
Gets the is comment in creation state.
IsCommentResolved
Gets or sets the is comment resolved state.
IsCommentSpecific
Gets the is comment specific state.
IsInEditMode
Gets or sets the is in edit mode state.
IsOptionsDropDownOpen
Gets or sets whether the options dropdown is open.
Declaration
public bool IsOptionsDropDownOpen { get; set; }
Property Value
If true the dropdown is open, otherwise - closed.
IsReadOnly
Gets or sets the is readonly state.
IsReplySpecific
Gets the is reply specific state.
IsTextboxEditable
Gets or sets the is text box editable state.
ResolveThreadCommand
Gets the resolve thread command.
Declaration
public ICommand ResolveThreadCommand { get; }
Property Value
The resolve thread command.
SaveClickCommand
Gets the save command.
Declaration
public ICommand SaveClickCommand { get; }
Property Value
The save command.