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