Xceed SmartUI for WinForms v3.6 Documentation
SmartPaint Class Members
Properties  Methods 


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace : SmartPaint Class

The following tables list the members exposed by SmartPaint.

Public Properties
 NameDescription
Public PropertyGets or sets the System.Drawing.Font to use when painting on subsequent calls to the Draw methods.  
Public PropertyGets or sets the foreground color to paint on subsequent calls to the Draw methods.  
Public PropertyGets or sets a value representing the index of the image, within the ImageList, to paint on subsequent calls to the Draw methods.  
Public PropertyGets or sets the opacity level of the SmartControl or SmartItem on subsequent calls to the Draw methods.  
Public PropertyGets a value indicating if the SmartControl or SmartItem should display focus rectangles on subsequent calls to the Draw methods.  
Public PropertyGets or sets the System.Drawing.StringFormat to use when painting on subsequent calls to the Draw methods.  
Public PropertyGets the value of the UIStyle property on subsequent calls to the Draw methods.  
Top
Protected Properties
 NameDescription
Protected PropertyGets the list of images that will be used to paint on subsequent calls to the Draw methods.  
Protected PropertyGets the size of the images in the ImageList on subsequent calls to the Draw methods.  
Top
Public Methods
 NameDescription
Public MethodOverloaded. Creates a mask of the bitmap specified by the index using the specified color.  
Public MethodOverloaded. Draws a 3D border around a SmartControl or SmartItem.  
Public MethodDraws the bitmap at the specified coordinates.  
Public MethodDraws a border for the specified rectangle with the specified colors.  
Public MethodDraws a dotted line using the specified colors from the first point to the second.  
Public MethodDraws a dotted rectangle using the specified colors for the specified rectangle.  
Public MethodOverloaded. Draws a flat border for Bounds.  
Public MethodOverloaded. Draws the image that corresponds to ImageIndex with the specified alignment.  
Public MethodOverloaded. Draws an inverted flat border for the specified rectangle.  
Public MethodDraws the line with the specified color from the first point to the second.  
Public MethodDraws a minus sign (-) in a box within the specified rectangle.  
Public MethodDraws a plus sign (+) in a box within the specified rectangle.  
Public MethodDraws a progress bar in the specified rectangle.  
Public MethodDraws the rectangle with the specified border color.  
Public MethodDraws a size grip for the specified rectangle.  
Public MethodOverloaded. Draws the string with the specified alignment.  
Public MethodOverloaded. Draws a sunken border for Bounds.  
Public MethodDraws the theme part in the specified rectangle.  
Public MethodFills the interior of the rectangle with the specified color.  
Public MethodOverloaded. Retrieves the current color of the specified Xceed.SmartUI.UIStyle.ThemeColor.  
Public MethodRetrieves the opposite color of the specified color.  
Public MethodOverloaded. Retrieves the height of the specified string assuming that the string will be drawn on one line.  
Public MethodRetrieves the width of the specified string.  
Public Methodstatic (Shared in Visual Basic)Retrieves the size of the specified string according to the specified font and StringFormat.  
Public MethodSets the clipping region to the specified rectangle.  
Top
See Also

Reference

SmartPaint Class
Xceed.SmartUI Namespace