Nevron .NET Vision
Nevron.Diagram Namespace / NShape Class / OnPropertyChanging Method
name of the property which is chaning
new property value


In This Topic
    OnPropertyChanging Method (NShape)
    In This Topic
    General property changing handler, which fires the NodePropertyChanging event
    Syntax
    'Declaration
     
    
    Protected Overrides Function OnPropertyChanging( _
       ByVal propertyName As System.String, _
       ByVal newValue As System.Object _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NShape
    Dim propertyName As System.String
    Dim newValue As System.Object
    Dim value As System.Boolean
     
    value = instance.OnPropertyChanging(propertyName, newValue)
    protected override System.bool OnPropertyChanging( 
       System.string propertyName,
       System.object newValue
    )

    Parameters

    propertyName
    name of the property which is chaning
    newValue
    new property value

    Return Value

    true if the change is acceptable, otherwise false
    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