Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NItemShape Class / DrawBackground Method


In This Topic
    DrawBackground Method (NItemShape)
    In This Topic
    Draws the item background if the item is selected or highlighted
    Syntax
    'Declaration
     
    
    Protected Sub DrawBackground( _
       ByVal context As NPaintContext, _
       ByRef state As NItemState, _
       ByVal rect As NRectangleF _
    ) 
    'Usage
     
    
    Dim instance As NItemShape
    Dim context As NPaintContext
    Dim state As NItemState
    Dim rect As NRectangleF
     
    instance.DrawBackground(context, state, rect)
    protected void DrawBackground( 
       NPaintContext context,
       ref NItemState state,
       NRectangleF rect
    )

    Parameters

    context
    state
    rect
    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