New to Telerik UI for WPFStart a free 30-day trial

View Model for comment user control.

Definition

Constructors

Initializes a new instance of the CommentControlViewModel.

C#
public CommentControlViewModel(SpreadsheetComment comment)
Parameters:commentSpreadsheetComment

Properties

Gets or sets the are all the buttons collapsed state.

C#
public bool AreAllButtonsCollapsed { get; set; }

Gets or sets the are reply buttons enabled state.

C#
public bool AreReplyButtonsEnabled { get; set; }

Gets the cancel command.

C#
public ICommand CancelClickCommand { get; }
Property Value:

The cancel command.

Gets or sets the comment entries view models.

C#
public ObservableCollection<CommentEntryViewModel> CommentEntriesViewModels { get; set; }

Gets the delete thread command.

C#
public ICommand DeleteThreadClickCommand { get; }
Property Value:

The delete thread command.

Sets the new text of the comment.

C#
public string EnteredText { get; set; }
Property Value:

The text value.

Gets or sets has another comment in pending state.

C#
public bool HasAnotherPendingComment { get; }
Property Value:

The has another comment in pending state value.

Gets the is any entered text state.

C#
public bool HasAnyEnteredText { get; }

Gets or sets the is comment in creation state.

C#
public bool IsCommentInCreationState { get; }

Gets or sets is comment in pending state.

C#
public bool IsCommentPending { get; set; }
Property Value:

The is comment in pending state value.

Gets or sets the is comment visible state.

C#
public bool IsCommentVisible { get; set; }
Property Value:

The is comment value.

Gets or sets the is in edit mode state.

C#
public bool IsInEditMode { get; set; }

Gets or sets the is purple triangle visible state.

C#
public bool IsPurpleTriangleVisible { get; set; }
Property Value:

The is purple triangle visible value.

Gets or sets the is reply textbox enabled state.

C#
public bool IsReplyTextBoxEnabled { get; set; }

Gets or sets the is resolved state.

C#
public bool IsResolved { get; set; }
Property Value:

The is resolved value.

Gets the X offset of the shape.

C#
public double OffsetX { get; set; }

Gets the Y offset of the shape.

C#
public double OffsetY { get; set; }

PurpleTrianglePoints

PointCollection

Gets or sets the point collection of the purple triangle.

C#
public PointCollection PurpleTrianglePoints { get; set; }

Gets the reopen command.

C#
public ICommand ReopenThreadClickCommand { get; }
Property Value:

The reopen command.

Gets the reply textbox got focus command.

C#
public ICommand ReplyTextBoxGotFocusCommand { get; }
Property Value:

The reply textbox got focus command.

Gets the reply textbox lost focus command.

C#
public ICommand ReplyTextBoxLostFocusCommand { get; }
Property Value:

The reply textbox lost focus command.

Gets the send command.

C#
public ICommand SendClickCommand { get; }
Property Value:

The send command.