Class
CommentControlViewModel

View Model for comment user control.

Definition

Constructors

CommentControlViewModel(SpreadsheetComment)

Initializes a new instance of the CommentControlViewModel.

Declaration

cs-api-definition
public CommentControlViewModel(SpreadsheetComment comment)

Parameters

comment

SpreadsheetComment

Properties

AreAllButtonsCollapsed

Gets or sets the are all the buttons collapsed state.

Declaration

cs-api-definition
public bool AreAllButtonsCollapsed { get; set; }

Property Value

bool

AreReplyButtonsEnabled

Gets or sets the are reply buttons enabled state.

Declaration

cs-api-definition
public bool AreReplyButtonsEnabled { get; set; }

Property Value

bool

CancelClickCommand

Gets the cancel command.

Declaration

cs-api-definition
public ICommand CancelClickCommand { get; }

Property Value

ICommand

The cancel command.

CommentEntriesViewModels

Gets or sets the comment entries view models.

Declaration

cs-api-definition
public ObservableCollection<CommentEntryViewModel> CommentEntriesViewModels { get; set; }

Property Value

ObservableCollection<CommentEntryViewModel>

DeleteThreadClickCommand

Gets the delete thread command.

Declaration

cs-api-definition
public ICommand DeleteThreadClickCommand { get; }

Property Value

ICommand

The delete thread command.

EnteredText

Sets the new text of the comment.

Declaration

cs-api-definition
public string EnteredText { get; set; }

Property Value

string

The text value.

HasAnotherPendingComment

Gets or sets has another comment in pending state.

Declaration

cs-api-definition
public bool HasAnotherPendingComment { get; }

Property Value

bool

The has another comment in pending state value.

HasAnyEnteredText

Gets the is any entered text state.

Declaration

cs-api-definition
public bool HasAnyEnteredText { get; }

Property Value

bool

IsCommentInCreationState

Gets or sets the is comment in creation state.

Declaration

cs-api-definition
public bool IsCommentInCreationState { get; }

Property Value

bool

IsCommentPending

Gets or sets is comment in pending state.

Declaration

cs-api-definition
public bool IsCommentPending { get; set; }

Property Value

bool

The is comment in pending state value.

IsCommentVisible

Gets or sets the is comment visible state.

Declaration

cs-api-definition
public bool IsCommentVisible { get; set; }

Property Value

bool

The is comment value.

IsInEditMode

Gets or sets the is in edit mode state.

Declaration

cs-api-definition
public bool IsInEditMode { get; set; }

Property Value

bool

IsPurpleTriangleVisible

Gets or sets the is purple triangle visible state.

Declaration

cs-api-definition
public bool IsPurpleTriangleVisible { get; set; }

Property Value

bool

The is purple triangle visible value.

IsReplyTextBoxEnabled

Gets or sets the is reply textbox enabled state.

Declaration

cs-api-definition
public bool IsReplyTextBoxEnabled { get; set; }

Property Value

bool

IsResolved

Gets or sets the is resolved state.

Declaration

cs-api-definition
public bool IsResolved { get; set; }

Property Value

bool

The is resolved value.

OffsetX

Gets the X offset of the shape.

Declaration

cs-api-definition
public double OffsetX { get; set; }

Property Value

double

OffsetY

Gets the Y offset of the shape.

Declaration

cs-api-definition
public double OffsetY { get; set; }

Property Value

double

PurpleTrianglePoints

Gets or sets the point collection of the purple triangle.

Declaration

cs-api-definition
public PointCollection PurpleTrianglePoints { get; set; }

Property Value

PointCollection

ReopenThreadClickCommand

Gets the reopen command.

Declaration

cs-api-definition
public ICommand ReopenThreadClickCommand { get; }

Property Value

ICommand

The reopen command.

ReplyTextBoxGotFocusCommand

Gets the reply textbox got focus command.

Declaration

cs-api-definition
public ICommand ReplyTextBoxGotFocusCommand { get; }

Property Value

ICommand

The reply textbox got focus command.

ReplyTextBoxLostFocusCommand

Gets the reply textbox lost focus command.

Declaration

cs-api-definition
public ICommand ReplyTextBoxLostFocusCommand { get; }

Property Value

ICommand

The reply textbox lost focus command.

SendClickCommand

Gets the send command.

Declaration

cs-api-definition
public ICommand SendClickCommand { get; }

Property Value

ICommand

The send command.