WinForms

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

    Show / Hide Table of Contents

    Class MergedBar

    Inheritance
    System.Object
    Bar
    MergedBar
    Implements
    IChangeNotifyingItem
    IBarItemContainer
    IDesignable
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    System.Runtime.Serialization.IDeserializationCallback
    IMergedContainer
    Inherited Members
    Bar.OnDrawBackground(PaintEventArgs)
    Bar.OnPropertyChanged(SyncfusionPropertyChangedEventArgs)
    Bar.UpdateSeparatorIndices()
    Bar.ClearSeparators()
    Bar.BeginGroupAt(BarItem)
    Bar.RemoveGroupAt(BarItem)
    Bar.IsGroupBeginning(BarItem)
    Bar.MergeItems(Bar)
    Bar.RaiseCaptionChanged()
    Bar.OnCaptionChanged()
    Bar.ResetAllowHiding()
    Bar.ShouldSerializeAllowHiding()
    Bar.ICloneable.Clone()
    Bar.Clone()
    Bar.CopyTo(Bar)
    Bar.Clone(Boolean)
    Bar.CopyTo(Bar, Boolean)
    Bar.IDeserializationCallback.OnDeserialization(Object)
    Bar.GetObjectData(SerializationInfo, StreamingContext)
    Bar.IDesignable.DesignMode
    Bar.DesignMode
    Bar.UpdatedBarItemPositions
    Bar.UpdatedSeparatorPositions
    Bar.SeparatorCount
    Bar.SeparatorIndices
    Bar.Items
    Bar.AllowResizing
    Bar.DrawBackground
    Bar.PropertyChanged
    Bar.CaptionChanged
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class MergedBar : Bar, IChangeNotifyingItem, IBarItemContainer, IDesignable, ICloneable, ISerializable, IDeserializationCallback, IMergedContainer

    Constructors

    MergedBar(Bar[], BarManager)

    Declaration
    public MergedBar(Bar[] barsToMerge, BarManager manager)
    Parameters
    Type Name Description
    Bar[] barsToMerge
    BarManager manager

    Fields

    mergedBars

    Declaration
    protected Bar[] mergedBars
    Field Value
    Type Description
    Bar[]

    Properties

    AllowCustomizing

    Declaration
    public override bool AllowCustomizing { get; set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Bar.AllowCustomizing

    AllowHiding

    Declaration
    public override bool AllowHiding { get; set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Bar.AllowHiding

    AllowItemsReorderOnShrunk

    Declaration
    public override bool AllowItemsReorderOnShrunk { get; set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Bar.AllowItemsReorderOnShrunk

    BarName

    Declaration
    public override string BarName { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    Bar.BarName

    BarStyle

    Declaration
    public override BarStyle BarStyle { get; set; }
    Property Value
    Type Description
    BarStyle
    Overrides
    Bar.BarStyle

    Caption

    Gets or sets user friendly bar's caption string, which appears when the tool bar floats and in the customization dialog.

    Declaration
    public override string Caption { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    Bar.Caption
    Remarks

    This will appear as the caption when the tool bar floats and in the customization dialog as the bar's identity.

    CurrentVisibleStateDueToMerge

    Declaration
    public bool CurrentVisibleStateDueToMerge { get; set; }
    Property Value
    Type Description
    System.Boolean

    Manager

    Declaration
    public override BarManager Manager { get; set; }
    Property Value
    Type Description
    BarManager
    Overrides
    Bar.Manager

    MenuItemMergeOrder

    Declaration
    public override int MenuItemMergeOrder { get; set; }
    Property Value
    Type Description
    System.Int32
    Overrides
    Bar.MenuItemMergeOrder

    MergedBarsCollection

    Returns the array of bars used to create this MergedBar. The MDI parent form's Bar is always at index zero.

    Declaration
    public Bar[] MergedBarsCollection { get; }
    Property Value
    Type Description
    Bar[]

    PropagateChanges

    Allows propagation of changes to collection from MergedBar to underlying Bar.

    Declaration
    public bool PropagateChanges { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Works only for SDI forms and MDI forms without MDI children forms.

    Methods

    ActiveManagerChanged(BarManager)

    Declaration
    public void ActiveManagerChanged(BarManager activeManager)
    Parameters
    Type Name Description
    BarManager activeManager

    CreateMergedStateTracker()

    Declaration
    protected MergedStateTracker CreateMergedStateTracker()
    Returns
    Type Description
    MergedStateTracker

    Dispose(Boolean)

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

    MergeBars(Bar[])

    Declaration
    public void MergeBars(Bar[] bars)
    Parameters
    Type Name Description
    Bar[] bars

    OnItemsCollectionChanged(Object, CollectionChangeEventArgs)

    Declaration
    protected override void OnItemsCollectionChanged(object sender, CollectionChangeEventArgs args)
    Parameters
    Type Name Description
    System.Object sender
    System.ComponentModel.CollectionChangeEventArgs args
    Overrides
    Bar.OnItemsCollectionChanged(Object, CollectionChangeEventArgs)

    RemoveItem(BarItem)

    Declaration
    public override void RemoveItem(BarItem item)
    Parameters
    Type Name Description
    BarItem item
    Overrides
    Bar.RemoveItem(BarItem)

    ShouldDrawInactiveItems()

    Declaration
    protected override bool ShouldDrawInactiveItems()
    Returns
    Type Description
    System.Boolean
    Overrides
    Bar.ShouldDrawInactiveItems()

    ShouldDrawVisible(BarItem)

    Declaration
    public override bool ShouldDrawVisible(BarItem item)
    Parameters
    Type Name Description
    BarItem item
    Returns
    Type Description
    System.Boolean
    Overrides
    Bar.ShouldDrawVisible(BarItem)

    Explicit Interface Implementations

    IMergedContainer.IsItemHiddenByMerge(BarItem)

    Declaration
    bool IMergedContainer.IsItemHiddenByMerge(BarItem item)
    Parameters
    Type Name Description
    BarItem item
    Returns
    Type Description
    System.Boolean

    Implements

    IChangeNotifyingItem
    IBarItemContainer
    IDesignable
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    System.Runtime.Serialization.IDeserializationCallback
    IMergedContainer
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved