View Model for comment user control.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class CommentControlViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseCommentControlViewModel
Implements:
Inherited Members
Constructors
Initializes a new instance of the CommentControlViewModel.
public CommentControlViewModel(SpreadsheetComment comment)
Properties
Gets or sets the are all the buttons collapsed state.
public bool AreAllButtonsCollapsed { get; set; }
Gets or sets the are reply buttons enabled state.
public bool AreReplyButtonsEnabled { get; set; }
Gets the cancel command.
public ICommand CancelClickCommand { get; }
The cancel command.
Gets or sets the comment entries view models.
public ObservableCollection<CommentEntryViewModel> CommentEntriesViewModels { get; set; }
Gets the delete thread command.
public ICommand DeleteThreadClickCommand { get; }
The delete thread command.
Sets the new text of the comment.
public string EnteredText { get; set; }
The text value.
Gets or sets has another comment in pending state.
public bool HasAnotherPendingComment { get; }
The has another comment in pending state value.
Gets the is any entered text state.
public bool HasAnyEnteredText { get; }
Gets or sets the is comment in creation state.
public bool IsCommentInCreationState { get; }
Gets or sets is comment in pending state.
public bool IsCommentPending { get; set; }
The is comment in pending state value.
Gets or sets the is comment visible state.
public bool IsCommentVisible { get; set; }
The is comment value.
Gets or sets the is in edit mode state.
public bool IsInEditMode { get; set; }
Gets or sets the is purple triangle visible state.
public bool IsPurpleTriangleVisible { get; set; }
The is purple triangle visible value.
Gets or sets the is reply textbox enabled state.
public bool IsReplyTextBoxEnabled { get; set; }
Gets or sets the is resolved state.
public bool IsResolved { get; set; }
The is resolved value.
PurpleTrianglePoints
PointCollection
Gets or sets the point collection of the purple triangle.
public PointCollection PurpleTrianglePoints { get; set; }
Gets the reopen command.
public ICommand ReopenThreadClickCommand { get; }
The reopen command.
Gets the reply textbox got focus command.
public ICommand ReplyTextBoxGotFocusCommand { get; }
The reply textbox got focus command.
Gets the reply textbox lost focus command.
public ICommand ReplyTextBoxLostFocusCommand { get; }
The reply textbox lost focus command.
Gets the send command.
public ICommand SendClickCommand { get; }
The send command.