Nevron .NET Vision
Nevron.Diagram Namespace / NDocument Class / OnPropertyChanging Method
property name
new property value


In This Topic
    OnPropertyChanging Method (NDocument)
    In This Topic
    Fires a property changing event
    Syntax
    'Declaration
     
    
    Protected Overridable Function OnPropertyChanging( _
       ByVal propertyName As System.String, _
       ByVal newValue As System.Object _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDocument
    Dim propertyName As System.String
    Dim newValue As System.Object
    Dim value As System.Boolean
     
    value = instance.OnPropertyChanging(propertyName, newValue)
    protected virtual System.bool OnPropertyChanging( 
       System.string propertyName,
       System.object newValue
    )

    Parameters

    propertyName
    property name
    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