WinForms

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

    Show / Hide Table of Contents

    Class TextBoxBarItem

    Inheritance
    System.Object
    BarItem
    BarItemEx
    TextBoxBarItem
    Implements
    IChangeNotifyingItem
    System.ComponentModel.ICustomTypeDescriptor
    IDataBindingSupport
    System.Runtime.Serialization.ISerializable
    IRequiresControl
    System.ICloneable
    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.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.Text
    BarItem.BarName
    BarItem.ID
    BarItem.Tooltip
    BarItem.CategoryIndex
    BarItem.Shortcut
    BarItem.ShortcutText
    BarItem.Manager
    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 TextBoxBarItem : BarItemEx, IChangeNotifyingItem, ICustomTypeDescriptor, IDataBindingSupport, ISerializable, IRequiresControl, ICloneable

    Constructors

    TextBoxBarItem()

    Declaration
    public TextBoxBarItem()

    TextBoxBarItem(SerializationInfo, StreamingContext)

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

    TextBoxBarItem(String)

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

    TextBoxBarItem(String, EventHandler)

    Declaration
    public TextBoxBarItem(string text, EventHandler onClick)
    Parameters
    Type Name Description
    System.String text
    System.EventHandler onClick

    TextBoxBarItem(String, EventHandler, Shortcut)

    Declaration
    public TextBoxBarItem(string text, EventHandler onClick, Shortcut shortcut)
    Parameters
    Type Name Description
    System.String text
    System.EventHandler onClick
    System.Windows.Forms.Shortcut shortcut

    TextBoxBarItem(MenuMerge, Int32, Shortcut, String, EventHandler, EventHandler, EventHandler)

    Declaration
    public TextBoxBarItem(MenuMerge mergeType, int mergeOrder, Shortcut shortcut, string text, EventHandler onClick, EventHandler onPopup, EventHandler onSelect)
    Parameters
    Type Name Description
    System.Windows.Forms.MenuMerge mergeType
    System.Int32 mergeOrder
    System.Windows.Forms.Shortcut shortcut
    System.String text
    System.EventHandler onClick
    System.EventHandler onPopup
    System.EventHandler onSelect

    Properties

    ControlType

    Declaration
    public string ControlType { get; }
    Property Value
    Type Description
    System.String

    MinWidth

    Gets or sets the width of the item.

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

    TextBoxValue

    Gets or sets the value in the text box.

    Declaration
    public virtual string TextBoxValue { get; set; }
    Property Value
    Type Description
    System.String

    Value

    Declaration
    public object Value { get; set; }
    Property Value
    Type Description
    System.Object

    Methods

    Clone()

    Creates a clone of this TextBoxBarItem instance.

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

    An object that has similar properties to this TextBoxBarItem.

    Overrides
    BarItem.Clone()
    Remarks

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

    CopyTo(BarItem)

    Copies the properties of this TextBoxBarItem into the specified TextBoxBarItem.

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

    The TextBoxBarItem where the values should be copied to.

    Overrides
    BarItem.CopyTo(BarItem)
    Remarks

    The Items list will be shallow copied over.

    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)

    OnTextBoxItemBound(TextBoxItemBoundEventArgs)

    Raises the TextBoxItemBound event.

    Declaration
    public virtual void OnTextBoxItemBound(TextBoxItemBoundEventArgs e)
    Parameters
    Type Name Description
    TextBoxItemBoundEventArgs e

    Events

    TextBoxItemBound

    Lets handle the textBox inside the textBoxItem.

    Declaration
    public event TextBoxItemBoundEventHandler TextBoxItemBound
    Event Type
    Type Description
    TextBoxItemBoundEventHandler

    Explicit Interface Implementations

    ICloneable.Clone()

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

    Implements

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