WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MdiListBarItem - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MdiListBarItem

    Represents the item that will expand to show the list of MDI Children in an MDI environment.

    Inheritance
    System.Object
    BarItem
    BarItemEx
    ListBarItem
    MdiListBarItem
    Implements
    IChangeNotifyingItem
    System.ComponentModel.ICustomTypeDescriptor
    IDataBindingSupport
    System.Runtime.Serialization.ISerializable
    System.ICloneable
    Inherited Members
    ListBarItem.OnAfterExpand(EventArgs)
    ListBarItem.PopupClosed()
    ListBarItem.AddCheckIndices(Int32)
    ListBarItem.AddChildCaptions(String)
    ListBarItem.InsertChildCaptions(Int32, String)
    ListBarItem.RemoveChildCaptions(Int32)
    ListBarItem.RemoveChildCaptions(String)
    ListBarItem.UpdateCheckedStates()
    ListBarItem.ItemClicked(Int32, BarItem)
    ListBarItem.GetObjectData(SerializationInfo, StreamingContext)
    ListBarItem.ICloneable.Clone()
    ListBarItem.Clone()
    ListBarItem.CopyTo(BarItem)
    ListBarItem.CheckedIndices
    ListBarItem.UseNumberedList
    ListBarItem.ExpandedBarItems
    ListBarItem.BeforeExpand
    ListBarItem.AfterExpand
    BarItemEx.HandleDoubleClick
    BarItem.GetState(Int32)
    BarItem.SetState(Int32, Boolean)
    BarItem.ShouldSerializePadding()
    BarItem.ShouldSerializeCustomNormalTextColor()
    BarItem.ResetCustomNormalTextColor()
    BarItem.ShouldSerializeCustomDisabledTextColor()
    BarItem.ResetCustomDisabledTextColor()
    BarItem.ShouldSerializeCustomActiveTextColor()
    BarItem.ResetCustomActiveTextColor()
    BarItem.ShouldSerializeImageList()
    BarItem.ResetImageList()
    BarItem.ShouldSerializeImageListAdv()
    BarItem.ResetImageListAdv()
    BarItem.ShouldSerializeLargeImageList()
    BarItem.ResetLargeImageList()
    BarItem.ShouldSerializeLargeImageListAdv()
    BarItem.ResetLargeImageListAdv()
    BarItem.ShouldSerializeDisabledImageList()
    BarItem.ResetDisabledImageList()
    BarItem.ShouldSerializeDisabledLargeImageList()
    BarItem.ResetDisabledLargeImageList()
    BarItem.ShouldSerializeHighlightImageList()
    BarItem.ResetHighlightImageList()
    BarItem.ShouldSerializeHighlightImageListAdv()
    BarItem.ResetHighlightImageListAdv()
    BarItem.ShouldSerializeHighlightLargeImageList()
    BarItem.ResetHighlightLargeImageList()
    BarItem.ShouldSerializeHighlightLargeImageListAdv()
    BarItem.ResetHighlightLargeImageListAdv()
    BarItem.ShouldSerializePressedImageList()
    BarItem.ResetPressedImageList()
    BarItem.ShouldSerializePressedImageListAdv()
    BarItem.ResetPressedImageListAdv()
    BarItem.ShouldSerializePressedLargeImageList()
    BarItem.ResetPressedLargeImageList()
    BarItem.ShouldSerializePressedLargeImageListAdv()
    BarItem.ResetPressedLargeImageListAdv()
    BarItem.IsValidHighlightedImageIndex(Boolean)
    BarItem.IsValidPressedImageIndex(Boolean)
    BarItem.ResetShortcutText()
    BarItem.ShouldSerializeShortcutText()
    BarItem.ShouldSerializeImageTransparentColor()
    BarItem.ResetImageTransparentColor()
    BarItem.ResetImageSize()
    BarItem.ShouldSerializeImageSize()
    BarItem.PerformUpdateUI()
    BarItem.PerformDoubleClick()
    BarItem.PerformClick()
    BarItem.PerformSelected()
    BarItem.PerformUnselected()
    BarItem.OnAfterPopupItemPaint(PopupItemPaintEventArgs)
    BarItem.OnBeforePopupItemPaint(PopupItemPaintEventArgs)
    BarItem.OnDrawToolbarItem(DrawToolbarItemEventArgs)
    BarItem.OnPropertyChanged(SyncfusionPropertyChangedEventArgs)
    BarItem.OnCanDragDrop(CanDragDropEventArgs)
    BarItem.OnUpdateUI(EventArgs)
    BarItem.OnProvideFontInfo(ProvideFontInfoEventArgs)
    BarItem.OnContainmentChanged(ContainmentChangedEventArgs)
    BarItem.OnItemMouseDown(MouseEventArgs)
    BarItem.OnItemMouseUp(MouseEventArgs)
    BarItem.OnSelected(EventArgs)
    BarItem.OnUnselected(EventArgs)
    BarItem.OnShowTooltipChanged()
    BarItem.OnItemDoubleClicked(EventArgs)
    BarItem.GetPropertiesToDisableInDesignTime()
    BarItem.ReiseBeforePopupItemPaint(Graphics, Rectangle, Boolean, DrawElement, GridStyleInfo)
    BarItem.ReiseAfterPopupItemPaint(Graphics, Rectangle, Boolean, DrawElement, GridStyleInfo)
    BarItem.IsDisposing
    BarItem.IsDisposed
    BarItem.Designer
    BarItem.PaddingForThemesX
    BarItem.ShowToolTipInPopUp
    BarItem.PaddingForThemesY
    BarItem.Padding
    BarItem.TextAlignment
    BarItem.CustomNormalTextColor
    BarItem.CustomDisabledTextColor
    BarItem.CustomActiveTextColor
    BarItem.CustomTextFont
    BarItem.ResizeGlyphToFit
    BarItem.ShowMnemonicUnderlinesAlways
    BarItem.MergeType
    BarItem.Customizable
    BarItem.MergeOrder
    BarItem.PaintStyle
    BarItem.Enabled
    BarItem.Checked
    BarItem.ImageIndex
    BarItem.ImageList
    BarItem.ImageListAdv
    BarItem.LargeImageList
    BarItem.LargeImageListAdv
    BarItem.DisabledImageList
    BarItem.DisabledImageListAdv
    BarItem.DisabledLargeImageList
    BarItem.DisabledLargeImageListAdv
    BarItem.HighlightImageList
    BarItem.HighlightImageListAdv
    BarItem.HighlightLargeImageList
    BarItem.HighlightLargeImageListAdv
    BarItem.PressedImageList
    BarItem.PressedImageListAdv
    BarItem.PressedLargeImageList
    BarItem.PressedLargeImageListAdv
    BarItem.IsValidDisabledImageIndex
    BarItem.HighlightedImageIndex
    BarItem.PressedImageIndex
    BarItem.DisabledImageIndex
    BarItem.Visible
    BarItem.Tag
    BarItem.BarName
    BarItem.ID
    BarItem.Tooltip
    BarItem.CategoryIndex
    BarItem.Shortcut
    BarItem.ShortcutText
    BarItem.MetroBackColor
    BarItem.IsRecentlyUsedItem
    BarItem.UpdateUIOnAppIdle
    BarItem.UpdateUIRequired
    BarItem.DrawImageMirrored
    BarItem.SizeToFit
    BarItem.TopLevelForm
    BarItem.ShowTooltip
    BarItem.Image
    BarItem.ImageTransparentColor
    BarItem.DisabledImage
    BarItem.HighlightedImage
    BarItem.ImageSize
    BarItem.DesignMode
    BarItem.DataBindings
    BarItem.IDataBindingSupport.PropertyNamePrefix
    BarItem.Click
    BarItem.Selected
    BarItem.Unselected
    BarItem.MouseDown
    BarItem.MouseUp
    BarItem.PropertyChanged
    BarItem.DrawToolbarItem
    BarItem.ContainmentChanged
    BarItem.CanDragDrop
    BarItem.UpdateUI
    BarItem.ProvideFontInfo
    BarItem.AfterPopupItemPaint
    BarItem.BeforePopupItemPaint
    BarItem.ShowTooltipChanged
    BarItem.DoubleClick
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class MdiListBarItem : ListBarItem, IChangeNotifyingItem, ICustomTypeDescriptor, IDataBindingSupport, ISerializable, ICloneable
    Remarks

    You would typically use this item as a child in the Window submenu in the main menu bar of a MainFrameBarManager. When its parent is dropped down, this item will be replaced by the list of MDI children currently being shown and optionally a "Windows..." item to show the whole list when the number of children is more than 10 (or as specified in the MdiListSize property.

    When the user clicks on one of the entries, the corresponding mdi child will be activated. Clicking on the "Windows..." item will open a dialog where the users can see all the available MDI child windows.

    Examples

    Take a look at our XPMenus samples under the Tools\Samples\Menus Package\XPMenusMDI folder for usage example.

    Constructors

    MdiListBarItem()

    Declaration
    public MdiListBarItem()

    Properties

    ChildCaptions

    Declaration
    public override StringCollection ChildCaptions { get; }
    Property Value
    Type Description
    System.Collections.Specialized.StringCollection
    Overrides
    ListBarItem.ChildCaptions

    Manager

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

    MdiListSize

    Gets / sets the number of mdi child links to be shown in the expanded list before the "More Items" BarItem.

    Declaration
    public virtual int MdiListSize { get; set; }
    Property Value
    Type Description
    System.Int32

    Default is 10.

    Tags

    Declaration
    public override ArrayList Tags { get; }
    Property Value
    Type Description
    System.Collections.ArrayList
    Overrides
    ListBarItem.Tags

    Text

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

    Methods

    Dispose(Boolean)

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

    OnBeforeExpand()

    Declaration
    protected override void OnBeforeExpand()
    Overrides
    ListBarItem.OnBeforeExpand()

    OnItemClicked(EventArgs)

    Declaration
    protected override void OnItemClicked(EventArgs args)
    Parameters
    Type Name Description
    System.EventArgs args
    Overrides
    BarItem.OnItemClicked(EventArgs)

    PostExpand(ParentBarItem, Int32, Int32)

    Declaration
    protected override void PostExpand(ParentBarItem parent, int firstChild, int lastChild)
    Parameters
    Type Name Description
    ParentBarItem parent
    System.Int32 firstChild
    System.Int32 lastChild
    Overrides
    ListBarItem.PostExpand(ParentBarItem, Int32, Int32)

    Implements

    IChangeNotifyingItem
    System.ComponentModel.ICustomTypeDescriptor
    IDataBindingSupport
    System.Runtime.Serialization.ISerializable
    System.ICloneable
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved