Xceed SmartUI for WinForms v3.6 Documentation
DrawThemePart Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartPaint Class : DrawThemePart Method
A Xceed.SmartUI.UIStyle.ThemePart value representing the theme part to draw. If ThemePart.None, no theme part will be drawn.
A System.Drawing.Rectangle structure representing the rectangle in which to draw the theme part.
Draws the theme part in the specified rectangle.
Syntax
'Declaration
 
Public Sub DrawThemePart( _
   ByVal themePart As ThemePart, _
   ByVal rectangle As Rectangle _
) 
'Usage
 
Dim instance As SmartPaint
Dim themePart As ThemePart
Dim rectangle As Rectangle
 
instance.DrawThemePart(themePart, rectangle)
public void DrawThemePart( 
   ThemePart themePart,
   Rectangle rectangle
)

Parameters

themePart
A Xceed.SmartUI.UIStyle.ThemePart value representing the theme part to draw. If ThemePart.None, no theme part will be drawn.
rectangle
A System.Drawing.Rectangle structure representing the rectangle in which to draw the theme part.
Remarks

A theme part represents a graphical element that can be found throughout Windows.

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

Reference

SmartPaint Class
SmartPaint Members