Class BarLayoutInfo
Bar's layout information.
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.Navigation.Layouting
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class BarLayoutInfo : LayoutInfo
Constructors
BarLayoutInfo(Int32, Rectangle, Rectangle, Rectangle, Boolean)
Initializes a new instance of the BarLayoutInfo class.
Declaration
public BarLayoutInfo(int index, Rectangle bounds, Rectangle textBounds, Rectangle dropDownBounds, bool showShevron)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index value |
System.Drawing.Rectangle | bounds | The bounds of Bar. |
System.Drawing.Rectangle | textBounds | The text's bounds of Bar. |
System.Drawing.Rectangle | dropDownBounds | The drop-down bounds of Bar. |
System.Boolean | showShevron | Shevron visibility |
Fields
DropDown
The drop-down bounds of Bar.
Declaration
public readonly LayoutInfo DropDown
Field Value
Type |
---|
LayoutInfo |
Index
Index of bar is the collection of selected Bars.
Declaration
public readonly int Index
Field Value
Type |
---|
System.Int32 |
ShowShevron
Indicates whether chevron is shown instead of drop-down button.
Declaration
public readonly bool ShowShevron
Field Value
Type |
---|
System.Boolean |
Text
The text's bounds of Bar.
Declaration
public readonly LayoutInfo Text
Field Value
Type |
---|
LayoutInfo |
Methods
HitTest(Point)
Performs hits test within the Bar.
Declaration
public LayoutInfo HitTest(Point pt)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | pt | Tested hit point. |
Returns
Type | Description |
---|---|
LayoutInfo | Layouting info of Bar's hit test area. |
OffsetBoundsX(Int32)
Offsets all layout's bounds on X-axis.
Declaration
public void OffsetBoundsX(int offset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | offset | The X-axis offset. |