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