WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BarLayoutInfo

    Show / Hide Table of Contents

    Class BarLayoutInfo

    Bar's layout information.

    Inheritance
    System.Object
    LayoutInfo
    BarLayoutInfo
    Inherited Members
    LayoutInfo.Area
    LayoutInfo.Bounds
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    LayoutInfo

    Index

    Index of bar is the collection of selected Bars.

    Declaration
    public readonly int Index
    Field Value
    Type Description
    System.Int32

    ShowShevron

    Indicates whether chevron is shown instead of drop-down button.

    Declaration
    public readonly bool ShowShevron
    Field Value
    Type Description
    System.Boolean

    Text

    The text's bounds of Bar.

    Declaration
    public readonly LayoutInfo Text
    Field Value
    Type Description
    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved