Spread Windows Forms 8.0 Product Documentation
StickyNoteSized Event
Example 


Obsolete. Use NoteSized instead. Occurs when a sticky note is sized on the sheet.
Syntax
'Declaration
 
Public Event StickyNoteSized As StickyNoteEventHandler
'Usage
 
Dim instance As SheetView
Dim handler As StickyNoteEventHandler
 
AddHandler instance.StickyNoteSized, handler
public event StickyNoteEventHandler StickyNoteSized
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.

PropertyDescription
StickyNoteStyleInfo Gets the style information of the sticky note.
Example
This example shows the use of the StickyNoteSized event handling.
private void FpSpread1_Sheet1_StickyNoteSized(object sender, FarPoint.Win.Spread.StickyNoteEventArgs e)
{
        e.StickyNoteStyleInfo.BackColor = Color.Blue;
}
Private Sub FpSpread1_Sheet1_StickyNoteSized(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.StickyNoteEventArgs) Handles FpSpread1_Sheet1.StickyNoteSized
        e.StickyNoteStyleInfo.BackColor = Color.Blue
End Sub
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.