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


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItemPaint Class > DrawRadioButton Method : DrawRadioButton(Rectangle,Boolean,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.
true if the radio button should be drawn enabled; false otherwise.
Draws a radio button with the specified selection and enable state within the specified rectangle.
Syntax
'Declaration
 
Public Overloads Sub DrawRadioButton( _
   ByVal rectangle As Rectangle, _
   ByVal selected As Boolean, _
   ByVal enabled As Boolean _
) 
'Usage
 
Dim instance As SmartItemPaint
Dim rectangle As Rectangle
Dim selected As Boolean
Dim enabled As Boolean
 
instance.DrawRadioButton(rectangle, selected, enabled)
public void DrawRadioButton( 
   Rectangle rectangle,
   bool selected,
   bool enabled
)

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.
enabled
true if the radio button should be drawn enabled; 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