Class MenuDropDown.Panel
Class Panel
Inheritance
System.Object
MenuDropDown.Panel
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class Panel
Properties
Bounds
Declaration
protected Rectangle Bounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Font
Gets or sets the font of the text displayed in panel items.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ImageScalingSize
Gets or sets the size, in pixels, of images used in panel items.
Declaration
public Size ImageScalingSize { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
Items
Gets all the items that belong to a panel.
Declaration
public ToolStripItemCollection Items { get; }
Property Value
Type |
---|
System.Windows.Forms.ToolStripItemCollection |
MinimumSize
Gets or sets minimum size of panel.
Declaration
public Size MinimumSize { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | An ordered pair of type System.Drawing.Size representing the width and height of a rectangle. |
PreferredSize
Gets the size of a rectangular area into which the control can fit.
Declaration
public Size PreferredSize { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | A System.Drawing.Size containing the height and width, in pixels. |
PushedButton
Area in which user pushed mouse button.
Declaration
protected MenuDropDown.Panel.ScrollButtonsArea PushedButton { get; set; }
Property Value
Type |
---|
MenuDropDown.Panel.ScrollButtonsArea |
SeparatorIndent
Gets or sets the amount of spaces to indent separators in the panel.
Declaration
public int SeparatorIndent { get; set; }
Property Value
Type |
---|
System.Int32 |
Text
Gets or sets the panel title's text.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
Methods
PerformLayout(Rectangle)
Forces the control to apply layout logic to all its child controls.
Declaration
public void PerformLayout(Rectangle rc)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Rectangle | rc | The rectangle which needs to be performed. |