Nevron .NET Vision
Nevron.Diagram Namespace / NDocument Class / OnAttributePropertyChanging Method
full attribute name
attribute property name
new property value


In This Topic
    OnAttributePropertyChanging Method (NDocument)
    In This Topic
    Called by child or descendants attributes when an attribute property is changing
    Syntax
    'Declaration
     
    
    Public Overridable Function OnAttributePropertyChanging( _
       ByVal attributeFullName As System.String, _
       ByVal attributeProperty As System.String, _
       ByVal newValue As System.Object _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDocument
    Dim attributeFullName As System.String
    Dim attributeProperty As System.String
    Dim newValue As System.Object
    Dim value As System.Boolean
     
    value = instance.OnAttributePropertyChanging(attributeFullName, attributeProperty, newValue)
    public virtual System.bool OnAttributePropertyChanging( 
       System.string attributeFullName,
       System.string attributeProperty,
       System.object newValue
    )

    Parameters

    attributeFullName
    full attribute name
    attributeProperty
    attribute property name
    newValue
    new property value

    Return Value

    true if the change is acceptable, otherwise false
    Remarks
    Fires NodeAttributePropertyChanging events and invalidates the document if the Style attribute is changing. It also constrains the properties of the style attribute to be null.
    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