Spread Windows Forms 10.0 Product Documentation
PropertyChanged Event (SheetView)
Example 


Occurs when the user changes a property of the sheet.
Syntax
'Declaration
 
Public Event PropertyChanged As SheetViewPropertyChangeEventHandler
'Usage
 
Dim instance As SheetView
Dim handler As SheetViewPropertyChangeEventHandler
 
AddHandler instance.PropertyChanged, handler
public event SheetViewPropertyChangeEventHandler PropertyChanged
Event Data

The event handler receives an argument of type SheetViewPropertyChangeEventArgs containing data related to this event. The following SheetViewPropertyChangeEventArgs properties provide information specific to this event.

PropertyDescription
PropertyNameGets the name of the property that has changed.  
Example

This example illustrates the use of the event by returning the property that was changed.

private void fpSpread1_Sheet1_PropertyChanged(object sender, FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs e)
{
     label1.Text = e.PropertyName;
}
Private Sub FpSpread1_Sheet1_PropertyChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs)
Handles FpSpread1_Sheet1.PropertyChanged
     Label1.Text = e.PropertyName
End Sub
Requirements

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

See Also

Reference

SheetView Class
SheetView Members
RaisePropertyChanged Method

 

 


Copyright © GrapeCity, inc. All rights reserved.