WinForms

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

    Show / Hide Table of Contents

    Class StaticBarItem

    Represents a bar item that could be used as a label for an adjacent bar item.

    Inheritance
    System.Object
    BarItem
    BarItemEx
    StaticBarItem
    Implements
    IChangeNotifyingItem
    System.ComponentModel.ICustomTypeDescriptor
    IDataBindingSupport
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    Inherited Members
    BarItemEx.HandleDoubleClick
    BarItem.Dispose(Boolean)
    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.OnItemClicked(EventArgs)
    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.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.Text
    BarItem.BarName
    BarItem.ID
    BarItem.Tooltip
    BarItem.CategoryIndex
    BarItem.ShortcutText
    BarItem.Manager
    BarItem.MetroBackColor
    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 StaticBarItem : BarItemEx, IChangeNotifyingItem, ICustomTypeDescriptor, IDataBindingSupport, ICloneable, ISerializable
    Remarks

    The StaticBarItem does not respond to user mouse click and move.

    Constructors

    StaticBarItem()

    Overloaded. Creates a new instance of the StaticBarItem class with default settings.

    Declaration
    public StaticBarItem()

    StaticBarItem(SerializationInfo, StreamingContext)

    Declaration
    protected StaticBarItem(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info
    System.Runtime.Serialization.StreamingContext context

    StaticBarItem(String)

    Creates a new insatnce of the StaticBarItem class and initializes its Text property.

    Declaration
    public StaticBarItem(string text)
    Parameters
    Type Name Description
    System.String text

    Properties

    Checked

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

    Enabled

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

    FlatBorderColor

    Gets or sets the color of the flat border around this item when parented by a Bar (toolbar).

    Declaration
    public virtual Color FlatBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    A System.Drawing.Color value. Default is Color.Empty.

    IsRecentlyUsedItem

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

    Shortcut

    Declaration
    public override Shortcut Shortcut { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.Shortcut
    Overrides
    BarItem.Shortcut

    Methods

    Clone()

    Creates a clone of this StaticBarItem instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    An object that has similar properties to this StaticBarItem.

    Overrides
    BarItem.Clone()
    Remarks

    Creates a new instance of StaticBarItem and calls the CopyTo(BarItem) method to copy over properties.

    CopyTo(BarItem)

    Copies the properties of this StaticBarItem into the specified StaticBarItem.

    Declaration
    public override void CopyTo(BarItem barItem)
    Parameters
    Type Name Description
    BarItem barItem

    The StaticBarItem where the values should be copied to.

    Overrides
    BarItem.CopyTo(BarItem)
    Remarks

    The Tags will be copied over only if the actual objects are cloneable (implements IClonable).

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info
    System.Runtime.Serialization.StreamingContext context
    Overrides
    BarItem.GetObjectData(SerializationInfo, StreamingContext)

    ResetFlatBorderColor()

    Declaration
    public void ResetFlatBorderColor()

    ShouldSerializeFlatBorderColor()

    Declaration
    public bool ShouldSerializeFlatBorderColor()
    Returns
    Type Description
    System.Boolean

    Explicit Interface Implementations

    ICloneable.Clone()

    Declaration
    object ICloneable.Clone()
    Returns
    Type Description
    System.Object

    Implements

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