ClassNoteControlViewModel
View Model for note user control.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls.Notes
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class NoteControlViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseNoteControlViewModel
Implements:
Inherited Members
Constructors
NoteControlViewModel(SpreadsheetNote)
Initializes a new instance of the NoteControlViewModel.
Declaration
public NoteControlViewModel(SpreadsheetNote note)
Parameters
note
SpreadsheetNote
Properties
FontSize
Gets the text font size of the note.
NoteHeight
Gets or sets the height of the note.
Declaration
public double NoteHeight { get; set; }
Property Value
The height value.
NoteVisibility
Gets or sets the note visibility.
Declaration
public Visibility NoteVisibility { get; set; }
Property Value
Visibility
NoteWidth
Gets or sets the width of the note.
Declaration
public double NoteWidth { get; set; }
Property Value
The width value.
OffsetX
Gets the X offset of the shape.
OffsetY
Gets the Y offset of the shape.
RedTrianglePoints
Gets or sets the point collection of the red triangle.
Declaration
public PointCollection RedTrianglePoints { get; set; }
Property Value
PointCollection
RedTriangleVisibility
Gets or sets the visibility of the red triangle.
Declaration
public Visibility RedTriangleVisibility { get; set; }
Property Value
Visibility
Text
Gets or sets the text of the note.
Declaration
public string Text { get; set; }
Property Value
The text value.
XAnchor
Gets the X value of the top right corner of the anchor cell.
XShape
Gets the X value of the top left corner of the shape.
YAnchor
Gets the Y value of the top right corner of the anchor cell.