Class CommandDockBar
Inheritance
System.Object
CommandDockBar
Assembly: Syncfusion.Tools.Windows.dll
public class CommandDockBar : ContainerControl
Constructors
Declaration
public CommandDockBar(CommandBarController cbc)
Parameters
Fields
Declaration
protected ArrayList alRowMarkers
Field Value
| Type |
| System.Collections.ArrayList |
Declaration
protected bool bExpanding
Field Value
Declaration
protected CommandBarController cbController
Field Value
Declaration
Field Value
Declaration
protected ThemedControlDrawing tdRebar
Field Value
Properties
Declaration
protected bool IsRTL { get; }
Property Value
Declaration
public ArrayList RowMarkers { get; }
Property Value
| Type |
| System.Collections.ArrayList |
Declaration
protected int RowsCount { get; }
Property Value
Methods
Declaration
public void AddCommandBar(CommandBar cbar, bool bcreatenewrow)
Parameters
| Type |
Name |
Description |
| CommandBar |
cbar |
|
| System.Boolean |
bcreatenewrow |
|
Declaration
protected bool AdjustNewRow(CommandBar cbar, ref CommandBar[] cbnewrow)
Parameters
Returns
Declaration
public void AdjustNextBarsInRow(CommandBar cbar)
Parameters
Declaration
protected void AdjustPreviousRow(CommandBar cbar, ref CommandBar[] cbarray, Rectangle rccbar)
Parameters
Declaration
public void AdjustRowHeight(CommandBar cbar, int ndelta)
Parameters
| Type |
Name |
Description |
| CommandBar |
cbar |
|
| System.Int32 |
ndelta |
|
Declaration
public void AdjustRowOffsets(CommandBar cbar, ref int ndelta)
Parameters
| Type |
Name |
Description |
| CommandBar |
cbar |
|
| System.Int32 |
ndelta |
|
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 |
|
Declaration
protected bool AllowLeadingEdgeDocking(CommandBar cbar)
Parameters
Returns
Declaration
protected bool AllowTrailingEdgeDocking(CommandBar cbar)
Parameters
Returns
Declaration
protected void CalcDockbarSize()
Declaration
protected void Child_TabIndexChanged(object sender, EventArgs e)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.EventArgs |
e |
|
Declaration
public int ConfirmNewRowHeight(CommandBar cbar, int nnewdim)
Parameters
| Type |
Name |
Description |
| CommandBar |
cbar |
|
| System.Int32 |
nnewdim |
|
Returns
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
| Type |
| System.Windows.Forms.AccessibleObject |
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| System.Boolean |
disposing |
|
Declaration
public CommandBarDockState GetDockBorder()
Returns
Declaration
public CommandBar[] GetRowArray(int nrow)
Parameters
| Type |
Name |
Description |
| System.Int32 |
nrow |
|
Returns
Declaration
public int GetRowMaxHeight(int nrow, bool bmin)
Parameters
| Type |
Name |
Description |
| System.Int32 |
nrow |
|
| System.Boolean |
bmin |
|
Returns
Declaration
public Point HandleDragOver(CommandBar cbar, Point ptscreen)
Parameters
| Type |
Name |
Description |
| CommandBar |
cbar |
|
| System.Drawing.Point |
ptscreen |
|
Returns
| Type |
| System.Drawing.Point |
Declaration
protected Point HandleDragOverLeftRight(CommandBar cbar, Point ptscreen)
Parameters
| Type |
Name |
Description |
| CommandBar |
cbar |
|
| System.Drawing.Point |
ptscreen |
|
Returns
| Type |
| System.Drawing.Point |
Declaration
protected Point HandleDragOverTopBottom(CommandBar cbar, Point ptscreen)
Parameters
| Type |
Name |
Description |
| CommandBar |
cbar |
|
| System.Drawing.Point |
ptscreen |
|
Returns
| Type |
| System.Drawing.Point |
Declaration
public void InitializeCommandDockBar(CommandBarController cbc)
Parameters
Declaration
public void InitializeIndexRowOffsets(CommandBar cbar)
Parameters
Declaration
public void InitializeRowOffsets(CommandBar cbar)
Parameters
Declaration
public virtual void LayoutDockBar()
Declaration
protected override void OnControlAdded(ControlEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.ControlEventArgs |
e |
|
Declaration
protected override void OnControlRemoved(ControlEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.ControlEventArgs |
e |
|
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 override void OnSystemColorsChanged(EventArgs e)
Parameters
| Type |
Name |
Description |
| System.EventArgs |
e |
|
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 |
|
Declaration
public void RemoveCommandBar(CommandBar cbar)
Parameters
Declaration
protected virtual void RepositionBars(ref CommandBar[] cbarray, int nreqdlength, int nyoff)
Parameters
| Type |
Name |
Description |
| CommandBar[] |
cbarray |
|
| System.Int32 |
nreqdlength |
|
| System.Int32 |
nyoff |
|
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 |
|
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 |
|
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 |
|
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 |
|
Declaration
protected virtual void ResetTabIndex()
Declaration
protected virtual void ResizeBarsLeftRight(ref CommandBar[] cbarray, int nreqdlength, int nyoff)
Parameters
| Type |
Name |
Description |
| CommandBar[] |
cbarray |
|
| System.Int32 |
nreqdlength |
|
| System.Int32 |
nyoff |
|
Declaration
protected virtual void ResizeBarsTopBottom(ref CommandBar[] cbarray, int nreqdlength, int nyoff)
Parameters
| Type |
Name |
Description |
| CommandBar[] |
cbarray |
|
| System.Int32 |
nreqdlength |
|
| System.Int32 |
nyoff |
|
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 |
|
Declaration
public void SetCurrentRowMarker(CommandBar cbar)
Parameters
Declaration
protected bool ValidateBarIndex(CommandBar cbar, bool bappend)
Parameters
| Type |
Name |
Description |
| CommandBar |
cbar |
|
| System.Boolean |
bappend |
|
Returns