Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItemPaintEventArgs Class / Graphics Property


In This Topic
    Graphics Property (SmartItemPaintEventArgs)
    In This Topic
    Gets the System.Drawing.Graphics object used to draw.
    Syntax
    'Declaration
     
    Public ReadOnly Property Graphics As Graphics
    'Usage
     
    Dim instance As SmartItemPaintEventArgs
    Dim value As Graphics
     
    value = instance.Graphics
    public Graphics Graphics {get;}

    Property Value

    The System.Drawing.Graphics object used to draw.
    Remarks

    Although you can draw using Graphics, SmartPaint provides various methods which can be used to draw everything from straight lines to checkboxes.

    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