Class
NoteControlViewModel

View Model for note user control.

Definition

Constructors

NoteControlViewModel(SpreadsheetNote)

Initializes a new instance of the NoteControlViewModel.

Declaration

cs-api-definition
public NoteControlViewModel(SpreadsheetNote note)

Parameters

note

SpreadsheetNote

Properties

FontSize

Gets the text font size of the note.

Declaration

cs-api-definition
public double FontSize { get; }

Property Value

double

NoteHeight

Gets or sets the height of the note.

Declaration

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

Property Value

double

The height value.

NoteVisibility

Gets or sets the note visibility.

Declaration

cs-api-definition
public Visibility NoteVisibility { get; set; }

Property Value

Visibility

NoteWidth

Gets or sets the width of the note.

Declaration

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

Property Value

double

The width 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

RedTrianglePoints

Gets or sets the point collection of the red triangle.

Declaration

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

Property Value

PointCollection

RedTriangleVisibility

Gets or sets the visibility of the red triangle.

Declaration

cs-api-definition
public Visibility RedTriangleVisibility { get; set; }

Property Value

Visibility

Text

Gets or sets the text of the note.

Declaration

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

Property Value

string

The text value.

XAnchor

Gets the X value of the top right corner of the anchor cell.

Declaration

cs-api-definition
public double XAnchor { get; }

Property Value

double

XShape

Gets the X value of the top left corner of the shape.

Declaration

cs-api-definition
public double XShape { get; }

Property Value

double

YAnchor

Gets the Y value of the top right corner of the anchor cell.

Declaration

cs-api-definition
public double YAnchor { get; }

Property Value

double

YShape

Gets the Y value of the top left corner of the shape.

Declaration

cs-api-definition
public double YShape { get; }

Property Value

double