Spread Windows Forms 6.0 Product Documentation
RaisePropertyChanged Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : RaisePropertyChanged Method


propertyName
Name of property to pass in SheetViewPropertyChangeEventArgs object

Glossary Item Box

Raises the PropertyChanged event for this sheet.

Syntax

Visual Basic (Declaration) 
Public Sub RaisePropertyChanged( _
   ByVal propertyName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim propertyName As String
 
instance.RaisePropertyChanged(propertyName)
C# 
public void RaisePropertyChanged( 
   string propertyName
)

Parameters

propertyName
Name of property to pass in SheetViewPropertyChangeEventArgs object

Example

This example raises the PropertyChanged event.
C#Copy Code
fpSpread1.ActiveSheet.AlternatingRows[0].BackColor = Color.LightBlue
fpSpread1.ActiveSheet.RaisePropertyChanged("AlternatingRows");
Visual BasicCopy Code
FpSpread1.ActiveSheet.AlternatingRows.Item(0).BackColor = Color.LightBlue
FpSpread1.ActiveSheet.RaisePropertyChanged("AlternatingRows")

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.