ClassCommentControlViewModel
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
CommentControlViewModel(SpreadsheetComment)
Initializes a new instance of the CommentControlViewModel.
Declaration
public CommentControlViewModel(SpreadsheetComment comment)
Parameters
comment
SpreadsheetComment
Properties
AreAllButtonsCollapsed
Gets or sets the are all the buttons collapsed state.
AreReplyButtonsEnabled
Gets or sets the are reply buttons enabled state.
CancelClickCommand
Gets the cancel command.
Declaration
public ICommand CancelClickCommand { get; }
Property Value
The cancel command.
CommentEntriesViewModels
Gets or sets the comment entries view models.
Declaration
public ObservableCollection<CommentEntryViewModel> CommentEntriesViewModels { get; set; }
Property Value
DeleteThreadClickCommand
Gets the delete thread command.
Declaration
public ICommand DeleteThreadClickCommand { get; }
Property Value
The delete thread command.
EnteredText
Sets the new text of the comment.
Declaration
public string EnteredText { get; set; }
Property Value
The text value.
HasAnotherPendingComment
Gets or sets has another comment in pending state.
Declaration
public bool HasAnotherPendingComment { get; }
Property Value
The has another comment in pending state value.
HasAnyEnteredText
Gets the is any entered text state.
IsCommentInCreationState
Gets or sets the is comment in creation state.
IsCommentPending
Gets or sets is comment in pending state.
Declaration
public bool IsCommentPending { get; set; }
Property Value
The is comment in pending state value.
IsCommentVisible
Gets or sets the is comment visible state.
Declaration
public bool IsCommentVisible { get; set; }
Property Value
The is comment value.
IsInEditMode
Gets or sets the is in edit mode state.
IsPurpleTriangleVisible
Gets or sets the is purple triangle visible state.
Declaration
public bool IsPurpleTriangleVisible { get; set; }
Property Value
The is purple triangle visible value.
IsReplyTextBoxEnabled
Gets or sets the is reply textbox enabled state.
IsResolved
Gets or sets the is resolved state.
Declaration
public bool IsResolved { get; set; }
Property Value
The is resolved value.
OffsetX
Gets the X offset of the shape.
OffsetY
Gets the Y offset of the shape.
PurpleTrianglePoints
Gets or sets the point collection of the purple triangle.
Declaration
public PointCollection PurpleTrianglePoints { get; set; }
Property Value
PointCollection
ReopenThreadClickCommand
Gets the reopen command.
Declaration
public ICommand ReopenThreadClickCommand { get; }
Property Value
The reopen command.
ReplyTextBoxGotFocusCommand
Gets the reply textbox got focus command.
Declaration
public ICommand ReplyTextBoxGotFocusCommand { get; }
Property Value
The reply textbox got focus command.
ReplyTextBoxLostFocusCommand
Gets the reply textbox lost focus command.
Declaration
public ICommand ReplyTextBoxLostFocusCommand { get; }
Property Value
The reply textbox lost focus command.
SendClickCommand
Gets the send command.
Declaration
public ICommand SendClickCommand { get; }
Property Value
The send command.