'Declaration Public Event StickyNoteMoved As StickyNoteEventHandler
'Usage Dim instance As SheetView Dim handler As StickyNoteEventHandler AddHandler instance.StickyNoteMoved, handler
public event StickyNoteEventHandler StickyNoteMoved
Event Data
The event handler receives an argument of type StickyNoteEventArgs containing data related to this event. The following StickyNoteEventArgs properties provide information specific to this event.
Property | Description |
---|---|
StickyNoteStyleInfo | Gets the style information of the sticky note. |
Example
This example shows the use of the StickyNoteMoved event handling.
private void FpSpread1_Sheet1_StickyNoteMoved(object sender, FarPoint.Win.Spread.StickyNoteEventArgs e) { e.StickyNoteStyleInfo.BackColor = Color.Blue; }
Private Sub FpSpread1_Sheet1_StickyNoteMoved(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.StickyNoteEventArgs) Handles FpSpread1_Sheet1.StickyNoteMoved e.StickyNoteStyleInfo.BackColor = Color.Blue End Sub
See Also