Nevron .NET Vision
Nevron.Diagram Namespace / INAncestorCollapseObserver Interface / OnAncestorCollapseChanging Method
ancestor whose collapsed/expanded state is changing
true if the ancestor is collapsing, false if it is expanding


In This Topic
    OnAncestorCollapseChanging Method (INAncestorCollapseObserver)
    In This Topic
    Called when the specified ancestor is changing its collapsed/expanded state
    Syntax
    'Declaration
     
    
    Function OnAncestorCollapseChanging( _
       ByVal ancestor As INNode, _
       ByVal collapsing As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As INAncestorCollapseObserver
    Dim ancestor As INNode
    Dim collapsing As System.Boolean
    Dim value As System.Boolean
     
    value = instance.OnAncestorCollapseChanging(ancestor, collapsing)
    System.bool OnAncestorCollapseChanging( 
       INNode ancestor,
       System.bool collapsing
    )

    Parameters

    ancestor
    ancestor whose collapsed/expanded state is changing
    collapsing
    true if the ancestor is collapsing, false if it is expanding

    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