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


In This Topic
    OnAttributePropertyChanging Method (NDrawingDocument)
    In This Topic
    Called by child or descendants attributes when an attribute property is changing
    Syntax
    'Declaration
     
    
    Public Overrides Function OnAttributePropertyChanging( _
       ByVal attributeFullName As System.String, _
       ByVal attributeProperty As System.String, _
       ByVal newValue As System.Object _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDrawingDocument
    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 override 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
    Overriden to reject the change if a property of the style attribute is going to be set to 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