Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NDrawingPreviewManager Class / ChangeNodePreviewStyle Method
node for which the preview was created
preview node


In This Topic
    ChangeNodePreviewStyle Method
    In This Topic
    Called when the style of the specified preview node must be changed
    Syntax
    'Declaration
     
    
    Public Overridable Sub ChangeNodePreviewStyle( _
       ByVal node As INNode, _
       ByVal preview As INNode _
    ) 
    'Usage
     
    
    Dim instance As NDrawingPreviewManager
    Dim node As INNode
    Dim preview As INNode
     
    instance.ChangeNodePreviewStyle(node, preview)
    public virtual void ChangeNodePreviewStyle( 
       INNode node,
       INNode preview
    )

    Parameters

    node
    node for which the preview was created
    preview
    preview node
    Remarks
    If the PreviewWithOriginalStyle property is set to true the preview node (and its descendants) will adopt the node (and the node descendants) composed style. Otherwise the fill style, stroke style and shadow style of the preview node (and its descendants) will be set to null, thus forcing the preview node (and its descendants) to use inherited style (from the view scene tree).
    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