Class BorderPanel
The BorderPanel is a control that can be used to wrap other controls inside improving its visual appearance.
Inheritance
System.Object
BorderPanel
Assembly: Syncfusion.Shared.Base.dll
public class BorderPanel : Panel
Constructors
Declaration
Properties
Declaration
public Color BackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / sets the background information of the border.
Declaration
public BrushInfo Background { get; set; }
Property Value
Gets / sets the control to be displayed inside the panel.
Declaration
public Control Control { get; set; }
Property Value
Type |
System.Windows.Forms.Control |
Gets / sets the round corner radii of the outer shape.
Declaration
public BorderPanelCornerSettings CornerRadius { get; set; }
Property Value
Gets / sets the sizes of the sides of the border.
Declaration
public BorderPanelDimensions Dimensions { get; set; }
Property Value
Gets / sets the width of the border of the inner surface.
Declaration
public int InnerBorderWidth { get; set; }
Property Value
Gets / sets the color of the background of the inner surface.
Declaration
public Color InnerColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / sets the round corner radii of the inner surface.
Declaration
public BorderPanelCornerSettings InnerCornerRadius { get; set; }
Property Value
Gets / sets the height state of the inner surface.
Declaration
public BorderPanelState InnerState { get; set; }
Property Value
Gets / sets the width of the border.
Declaration
public int OuterBorderWidth { get; set; }
Property Value
Gets / sets the height state of the outer surface.
Declaration
public BorderPanelState OuterState { get; set; }
Property Value
Text
Declaration
public string Text { get; set; }
Property Value
Methods
Cleans up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected void ResetCornerRadius()
Declaration
protected void ResetDimensions()
Declaration
protected void ResetInnerColor()
Declaration
protected void ResetInnerCornerRadius()
ResetText()
Declaration
protected void ResetText()
Declaration
protected bool ShouldSerializeCornerRadius()
Returns
Declaration
protected bool ShouldSerializeDimensions()
Returns
Declaration
protected bool ShouldSerializeInnerColor()
Returns
Declaration
protected bool ShouldSerializeInnerCornerRadius()
Returns
ShouldSerializeText()
Declaration
protected bool ShouldSerializeText()
Returns