Tip
See the Examples section of the AdvancedLabel class for an image example, as it uses the same range of possible border styles as AdvancedPanel.
[ToolboxBitmapAttribute(typeof(AdvancedPanel), "Resources.Toolbox.AdvancedPanel.png")]
public class AdvancedPanel : Panel<ToolboxBitmapAttribute(GetType(AdvancedPanel), "Resources.Toolbox.AdvancedPanel.png")>
Public Class AdvancedPanel
Inherits Panel[ToolboxBitmapAttribute(typeof(AdvancedPanel), L"Resources.Toolbox.AdvancedPanel.png")]
public ref class AdvancedPanel : public Panel[<ToolboxBitmapAttribute(typeof(AdvancedPanel), "Resources.Toolbox.AdvancedPanel.png")>]
type AdvancedPanel =
class
inherit Panel
end| AdvancedPanel | Initializes a new instance of the AdvancedPanel class |
| BorderStyle | Gets or sets the border style of the AdvancedPanel. |
| DefaultPadding | Gets the default internal spacing, in pixels, of the contents of a control. (Overrides ControlDefaultPadding) |
| OnPaint | Raises the Paint event. (Overrides ControlOnPaint(PaintEventArgs)) |
| OnPaintBackground | Paints the background of the control. (Overrides ScrollableControlOnPaintBackground(PaintEventArgs)) |
| OnSizeChanged | Raises the SizeChanged event. (Overrides ControlOnSizeChanged(EventArgs)) |
| WndProc | Processes Windows messages. (Overrides ScrollableControlWndProc(Message)) |
| GetFormatFlags |
Gets the formatting flags for the text of a custom drawn control.
(Defined by ControlExtensions) |
| GetScale |
Gets the current scale factor of the specified control. If per-monitor DPI awareness is not enabled, it always returns SystemScale.
(Defined by ScaleHelper) |
| GetScrollBarSize |
Gets the recommended width and height of scrollbars matching the current scaling of the specified control.
(Defined by ScaleHelper) |
| HasDefaultScaling |
Gets whether the display that the specified control belongs to has the same DPI as the initial DPI of the primary display.
(Defined by ScaleHelper) |
| ScaleHeight |
Scales the specified height by the vertical scale factor of the control.
(Defined by ScaleHelper) |
| ScaleSize |
Scales the specified size by the scale factor of the control.
(Defined by ScaleHelper) |
| ScaleWidth |
Scales the specified width by the horizontal scale factor of the control.
(Defined by ScaleHelper) |
| SetControlEnabled |
Sets the Enabled property of the child controls within the specified root control,
or the Enabled property of the specified control itself, if it is not a recognized container control.
By this way pages of a TabControl will remain selectable, a SplitContainer remains resizable, etc.
(Defined by ControlExtensions) |
| SetControlReadonly |
Recursively sets the read-only state in the children of the specified root control.
Affects TextBoxBase and IReadOnlyCapable instances.
(Defined by ControlExtensions) |
| SetDoubleBuffered |
Sets the double buffered state of a control
(Defined by ControlExtensions) |
| SetStyle |
Sets a specified ControlStyles flag to either or .
It calls the protected Control.SetStyle method on the specified control as if it was a public method.
(Defined by ControlExtensions) |