BCGSoft.Controls.PropertyList Namespace > PropertyListItem Class : OnDrawButton Method |
The bounding rectangle.
This function is called by the framework to draw a button contained in the property. Override it in a derived class to customize the button appearance.
'Declaration Public Overridable Sub OnDrawButton( _ ByVal graphics As Graphics, _ ByVal rectButton As Rectangle _ )
'Usage Dim instance As PropertyListItem Dim graphics As Graphics Dim rectButton As Rectangle instance.OnDrawButton(graphics, rectButton)
public virtual void OnDrawButton( Graphics graphics, Rectangle rectButton )
public: virtual void OnDrawButton( Graphics* graphics, Rectangle rectButton )
public: virtual void OnDrawButton( Graphics^ graphics, Rectangle rectButton )
The bounding rectangle.
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