Xceed SmartUI for WinForms v3.6 Documentation
DrawRadioButton(Rectangle,Boolean) Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItemPaint Class > DrawRadioButton Method : DrawRadioButton(Rectangle,Boolean) Method
A System.Drawing.Rectangle structure representing the rectangle in which to draw the radio button.
true if the radio button should be drawn selected; false otherwise.
Draws a radio button within the specified rectangle.
Syntax
'Declaration
 
Public Overloads Sub DrawRadioButton( _
   ByVal rectangle As Rectangle, _
   ByVal selected As Boolean _
) 
'Usage
 
Dim instance As SmartItemPaint
Dim rectangle As Rectangle
Dim selected As Boolean
 
instance.DrawRadioButton(rectangle, selected)
public void DrawRadioButton( 
   Rectangle rectangle,
   bool selected
)

Parameters

rectangle
A System.Drawing.Rectangle structure representing the rectangle in which to draw the radio button.
selected
true if the radio button should be drawn selected; false otherwise.
Remarks

The radio button will be drawn according to the style defined by the UIStyle and UIStyleResourceAssembly properties.

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

SmartItemPaint Class
SmartItemPaint Members
Overload List