ComponentOne Menus and Toolbars for WinForms
C1.Win.Command.8 Assembly / C1.Win.Command Namespace / LayoutLinkEventArgs Class / LayoutLinkEventArgs Constructor
Specifies the command link for the layout.
The bounding rectangle of the command link.
Text rectangle layout.
Image rectangle layout.
The location of the nested control

In This Topic
    LayoutLinkEventArgs Constructor
    In This Topic
    Initializes a new instance of the LayoutLinkEventArgs class
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal link As C1CommandLink, _
       ByVal bounds As System.Drawing.Rectangle, _
       ByVal textrect As System.Drawing.Rectangle, _
       ByVal imagerect As System.Drawing.Rectangle, _
       ByVal controllocation As System.Drawing.Point _
    )
    public LayoutLinkEventArgs( 
       C1CommandLink link,
       System.Drawing.Rectangle bounds,
       System.Drawing.Rectangle textrect,
       System.Drawing.Rectangle imagerect,
       System.Drawing.Point controllocation
    )

    Parameters

    link
    Specifies the command link for the layout.
    bounds
    The bounding rectangle of the command link.
    textrect
    Text rectangle layout.
    imagerect
    Image rectangle layout.
    controllocation
    The location of the nested control
    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