WinForms

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

    Show / Hide Table of Contents

    Class CommandDockBar

    Inheritance
    System.Object
    CommandDockBar
    CommandDockBarExt
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class CommandDockBar : ContainerControl

    Constructors

    CommandDockBar(CommandBarController)

    Declaration
    public CommandDockBar(CommandBarController cbc)
    Parameters
    Type Name Description
    CommandBarController cbc

    Fields

    alRowMarkers

    Declaration
    protected ArrayList alRowMarkers
    Field Value
    Type Description
    System.Collections.ArrayList

    bExpanding

    Declaration
    protected bool bExpanding
    Field Value
    Type Description
    System.Boolean

    cbController

    Declaration
    protected CommandBarController cbController
    Field Value
    Type Description
    CommandBarController

    nRCCount

    Declaration
    public int nRCCount
    Field Value
    Type Description
    System.Int32

    tdRebar

    Declaration
    protected ThemedControlDrawing tdRebar
    Field Value
    Type Description
    ThemedControlDrawing

    Properties

    IsRTL

    Declaration
    protected bool IsRTL { get; }
    Property Value
    Type Description
    System.Boolean

    RowMarkers

    Declaration
    public ArrayList RowMarkers { get; }
    Property Value
    Type Description
    System.Collections.ArrayList

    RowsCount

    Declaration
    protected int RowsCount { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    AddCommandBar(CommandBar, Boolean)

    Declaration
    public void AddCommandBar(CommandBar cbar, bool bcreatenewrow)
    Parameters
    Type Name Description
    CommandBar cbar
    System.Boolean bcreatenewrow

    AdjustNewRow(CommandBar, ref CommandBar[])

    Declaration
    protected bool AdjustNewRow(CommandBar cbar, ref CommandBar[] cbnewrow)
    Parameters
    Type Name Description
    CommandBar cbar
    CommandBar[] cbnewrow
    Returns
    Type Description
    System.Boolean

    AdjustNextBarsInRow(CommandBar)

    Declaration
    public void AdjustNextBarsInRow(CommandBar cbar)
    Parameters
    Type Name Description
    CommandBar cbar

    AdjustPreviousRow(CommandBar, ref CommandBar[], Rectangle)

    Declaration
    protected void AdjustPreviousRow(CommandBar cbar, ref CommandBar[] cbarray, Rectangle rccbar)
    Parameters
    Type Name Description
    CommandBar cbar
    CommandBar[] cbarray
    System.Drawing.Rectangle rccbar

    AdjustRowHeight(CommandBar, Int32)

    Declaration
    public void AdjustRowHeight(CommandBar cbar, int ndelta)
    Parameters
    Type Name Description
    CommandBar cbar
    System.Int32 ndelta

    AdjustRowOffsets(CommandBar, ref Int32)

    Declaration
    public void AdjustRowOffsets(CommandBar cbar, ref int ndelta)
    Parameters
    Type Name Description
    CommandBar cbar
    System.Int32 ndelta

    AdjustRowOffsets(ref CommandBar[], Int32, Rectangle, ref Int32)

    Declaration
    protected void AdjustRowOffsets(ref CommandBar[] cbarray, int cbindex, Rectangle rccbar, ref int ndelta)
    Parameters
    Type Name Description
    CommandBar[] cbarray
    System.Int32 cbindex
    System.Drawing.Rectangle rccbar
    System.Int32 ndelta

    AllowLeadingEdgeDocking(CommandBar)

    Declaration
    protected bool AllowLeadingEdgeDocking(CommandBar cbar)
    Parameters
    Type Name Description
    CommandBar cbar
    Returns
    Type Description
    System.Boolean

    AllowTrailingEdgeDocking(CommandBar)

    Declaration
    protected bool AllowTrailingEdgeDocking(CommandBar cbar)
    Parameters
    Type Name Description
    CommandBar cbar
    Returns
    Type Description
    System.Boolean

    CalcDockbarSize()

    Declaration
    protected void CalcDockbarSize()

    Child_TabIndexChanged(Object, EventArgs)

    Declaration
    protected void Child_TabIndexChanged(object sender, EventArgs e)
    Parameters
    Type Name Description
    System.Object sender
    System.EventArgs e

    ConfirmNewRowHeight(CommandBar, Int32)

    Declaration
    public int ConfirmNewRowHeight(CommandBar cbar, int nnewdim)
    Parameters
    Type Name Description
    CommandBar cbar
    System.Int32 nnewdim
    Returns
    Type Description
    System.Int32

    CreateAccessibilityInstance()

    Declaration
    protected override AccessibleObject CreateAccessibilityInstance()
    Returns
    Type Description
    System.Windows.Forms.AccessibleObject

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    GetDockBorder()

    Declaration
    public CommandBarDockState GetDockBorder()
    Returns
    Type Description
    CommandBarDockState

    GetRowArray(Int32)

    Declaration
    public CommandBar[] GetRowArray(int nrow)
    Parameters
    Type Name Description
    System.Int32 nrow
    Returns
    Type Description
    CommandBar[]

    GetRowMaxHeight(Int32, Boolean)

    Declaration
    public int GetRowMaxHeight(int nrow, bool bmin)
    Parameters
    Type Name Description
    System.Int32 nrow
    System.Boolean bmin
    Returns
    Type Description
    System.Int32

    HandleDragOver(CommandBar, Point)

    Declaration
    public Point HandleDragOver(CommandBar cbar, Point ptscreen)
    Parameters
    Type Name Description
    CommandBar cbar
    System.Drawing.Point ptscreen
    Returns
    Type Description
    System.Drawing.Point

    HandleDragOverLeftRight(CommandBar, Point)

    Declaration
    protected Point HandleDragOverLeftRight(CommandBar cbar, Point ptscreen)
    Parameters
    Type Name Description
    CommandBar cbar
    System.Drawing.Point ptscreen
    Returns
    Type Description
    System.Drawing.Point

    HandleDragOverTopBottom(CommandBar, Point)

    Declaration
    protected Point HandleDragOverTopBottom(CommandBar cbar, Point ptscreen)
    Parameters
    Type Name Description
    CommandBar cbar
    System.Drawing.Point ptscreen
    Returns
    Type Description
    System.Drawing.Point

    InitializeCommandDockBar(CommandBarController)

    Declaration
    public void InitializeCommandDockBar(CommandBarController cbc)
    Parameters
    Type Name Description
    CommandBarController cbc

    InitializeIndexRowOffsets(CommandBar)

    Declaration
    public void InitializeIndexRowOffsets(CommandBar cbar)
    Parameters
    Type Name Description
    CommandBar cbar

    InitializeRowOffsets(CommandBar)

    Declaration
    public void InitializeRowOffsets(CommandBar cbar)
    Parameters
    Type Name Description
    CommandBar cbar

    LayoutDockBar()

    Declaration
    public virtual void LayoutDockBar()

    OnControlAdded(ControlEventArgs)

    Declaration
    protected override void OnControlAdded(ControlEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ControlEventArgs e

    OnControlRemoved(ControlEventArgs)

    Declaration
    protected override void OnControlRemoved(ControlEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.ControlEventArgs e

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    OnSizeChanged(EventArgs)

    Declaration
    protected override void OnSizeChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnSystemColorsChanged(EventArgs)

    Declaration
    protected override void OnSystemColorsChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    RecalcHeightForBarsInRow(Boolean, ref CommandBar[], ref Int32)

    Declaration
    protected void RecalcHeightForBarsInRow(bool next, ref CommandBar[] cbarray, ref int ndelta)
    Parameters
    Type Name Description
    System.Boolean next

    If True - indexes of command bars in array are higher, then index of commandbar that is current processing.

    CommandBar[] cbarray
    System.Int32 ndelta

    RemoveCommandBar(CommandBar)

    Declaration
    public void RemoveCommandBar(CommandBar cbar)
    Parameters
    Type Name Description
    CommandBar cbar

    RepositionBars(ref CommandBar[], Int32, Int32)

    Declaration
    protected virtual void RepositionBars(ref CommandBar[] cbarray, int nreqdlength, int nyoff)
    Parameters
    Type Name Description
    CommandBar[] cbarray
    System.Int32 nreqdlength
    System.Int32 nyoff

    RepositionBarsBToTShift(ref CommandBar[], Int32, ref Int32, Int32)

    Declaration
    protected virtual void RepositionBarsBToTShift(ref CommandBar[] cbarray, int i, ref int nreqdlength, int nyoff)
    Parameters
    Type Name Description
    CommandBar[] cbarray
    System.Int32 i
    System.Int32 nreqdlength
    System.Int32 nyoff

    RepositionBarsLToRShift(ref CommandBar[], Int32, ref Int32, Int32)

    Declaration
    protected virtual void RepositionBarsLToRShift(ref CommandBar[] cbarray, int i, ref int nreqdlength, int nyoff)
    Parameters
    Type Name Description
    CommandBar[] cbarray
    System.Int32 i
    System.Int32 nreqdlength
    System.Int32 nyoff

    RepositionBarsRToLShift(ref CommandBar[], Int32, ref Int32, Int32)

    Declaration
    protected virtual void RepositionBarsRToLShift(ref CommandBar[] cbarray, int i, ref int nreqdlength, int nyoff)
    Parameters
    Type Name Description
    CommandBar[] cbarray
    System.Int32 i
    System.Int32 nreqdlength
    System.Int32 nyoff

    RepositionBarsTToBShift(ref CommandBar[], Int32, ref Int32, Int32)

    Declaration
    protected virtual void RepositionBarsTToBShift(ref CommandBar[] cbarray, int i, ref int nreqdlength, int nyoff)
    Parameters
    Type Name Description
    CommandBar[] cbarray
    System.Int32 i
    System.Int32 nreqdlength
    System.Int32 nyoff

    ResetTabIndex()

    Declaration
    protected virtual void ResetTabIndex()

    ResizeBarsLeftRight(ref CommandBar[], Int32, Int32)

    Declaration
    protected virtual void ResizeBarsLeftRight(ref CommandBar[] cbarray, int nreqdlength, int nyoff)
    Parameters
    Type Name Description
    CommandBar[] cbarray
    System.Int32 nreqdlength
    System.Int32 nyoff

    ResizeBarsTopBottom(ref CommandBar[], Int32, Int32)

    Declaration
    protected virtual void ResizeBarsTopBottom(ref CommandBar[] cbarray, int nreqdlength, int nyoff)
    Parameters
    Type Name Description
    CommandBar[] cbarray
    System.Int32 nreqdlength
    System.Int32 nyoff

    SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

    Declaration
    protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
    Parameters
    Type Name Description
    System.Int32 x
    System.Int32 y
    System.Int32 width
    System.Int32 height
    System.Windows.Forms.BoundsSpecified specified

    SetCurrentRowMarker(CommandBar)

    Declaration
    public void SetCurrentRowMarker(CommandBar cbar)
    Parameters
    Type Name Description
    CommandBar cbar

    ValidateBarIndex(CommandBar, Boolean)

    Declaration
    protected bool ValidateBarIndex(CommandBar cbar, bool bappend)
    Parameters
    Type Name Description
    CommandBar cbar
    System.Boolean bappend
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved