BinaryExtendedPanel
The panel BinaryPowerTabPage is built on: a Panel that draws a one-pixel
border of its own in BorderColor.
public class BinaryExtendedPanel : Panel
Inherits from / implements: Panel
Remarks
Use BinaryPowerTabPage; this class is not intended to be used on its own.
Drawn directly, its border leaves the top edge open; a BinaryPowerTabPage draws its
own border instead.
Members at a glance
| Constructors | |
|---|---|
BinaryExtendedPanel | Creates a panel with no system border. |
| Properties | |
BorderColor | Gets or sets the colour of the border the panel draws round itself. |
BorderStyle | Gets or sets the system border style, which is always
BorderStyle.None: the panel draws its own border, and any other
value set is replaced by BorderStyle.None. |
| Methods | |
OnPaint | Raises the Control.Paint event, then draws the panel's border. |
Constructors
BinaryExtendedPanel
Creates a panel with no system border.
Properties
BorderColor
Gets or sets the colour of the border the panel draws round itself.
- Value
- The default is
SystemColors.WindowText.
Remarks
On a BinaryPowerTabPage in a strip using the
RenderingStyle.VisualStudio2008, RenderingStyle.WindowsXP or
RenderingStyle.ExtendedWindowsXP style, the strip sets this as it paints unless its
BinaryPowerTabStrip.ThemeBorderColorCanBeOverridden is on. The new colour is used from
the panel's next repaint.
BorderStyle
Gets or sets the system border style, which is always
BorderStyle.None: the panel draws its own border, and any other
value set is replaced by BorderStyle.None.
Methods
OnPaint
Raises the Control.Paint event, then draws the panel's border.
Parameters
e- The event data.