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


In This Topic
    OnAttributePropertyChanging Method (NDiagramElement)
    In This Topic
    Called by the 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 NDiagramElement
    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
    newValue
    new property value

    Return Value

    true if the change is acceptable, otherwise false
    Remarks
    This implementation will fire a NodeAttributePropertyChanging event. If this node is INPaintable and the Style attribute is changing it will invalidate the node.
    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