WinForms

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

    Show / Hide Table of Contents

    Class BarItemStyleInfo

    Represents the class to define the style for BarItem control.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    BarItemStyleInfo
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    StyleInfoSubObjectBase.Dispose(Boolean)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)
    StyleInfoSubObjectBase.SubObjectIdentity
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Owner
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.ClearCache()
    StyleInfoBase.Dispose()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.BeginInit()
    StyleInfoBase.EndInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.InheritStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.Store
    StyleInfoBase.CacheValues
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.Updating
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsChanged
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class BarItemStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject

    Constructors

    BarItemStyleInfo()

    Initializes a new instance of the BarItemStyleInfo class.

    Declaration
    public BarItemStyleInfo()

    BarItemStyleInfo(StyleInfoSubObjectIdentity)

    Initializes a new instance of the BarItemStyleInfo class.

    Declaration
    public BarItemStyleInfo(StyleInfoSubObjectIdentity identity)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A BarItemStyleInfoIdentity that holds the identity for this BarItemStyleInfoStore.

    BarItemStyleInfo(StyleInfoSubObjectIdentity, StyleInfoStore)

    Initializes a new instance of the BarItemStyleInfo class.

    Declaration
    public BarItemStyleInfo(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A BarItemStyleInfoIdentity that holds the identity for this BarItemStyleInfoStore.

    StyleInfoStore store

    The store.

    Properties

    BackColor

    Gets or sets the background color of the BarItem control.

    Declaration
    [ThemeStudio]
    public Color BackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The System.Drawing.Color value is used to fill the background of the bar item.

    BorderColor

    Gets or sets the fore color value of the BarItem control.

    Declaration
    [ThemeStudio]
    public Color BorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    DefaultStyle

    Gets the default style value for the BarItem control.

    Declaration
    public static BarItemStyleInfo DefaultStyle { get; }
    Property Value
    Type Description
    BarItemStyleInfo

    DisabledBorderColor

    Gets or sets the fore color value of the BarItem control in disabled state.

    Declaration
    [ThemeStudio]
    public Color DisabledBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    FocusedBorderColor

    Gets or sets the fore color value of the BarItem control in focused state.

    Declaration
    [ThemeStudio]
    public Color FocusedBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Font

    Gets or sets the System.Drawing.Font value of the BarItem control.

    Declaration
    public Font Font { get; set; }
    Property Value
    Type Description
    System.Drawing.Font

    ForeColor

    Gets or sets the foreground color of the BarItem control.

    Declaration
    [ThemeStudio]
    public Color ForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The System.Drawing.Color value is used to fill the foreground of the bar item.

    HoverBackColor

    Gets or sets the background color of the BarItem control in mouse hover state.

    Declaration
    [ThemeStudio]
    public Color HoverBackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    HoverBorderColor

    Gets or sets the fore color value of the BarItem control in hover state.

    Declaration
    [ThemeStudio]
    public Color HoverBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    HoverForeColor

    Gets or sets the fore color of the BarItem control in mouse hover state.

    Declaration
    [ThemeStudio]
    public Color HoverForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    HoverTickBorderColor

    Declaration
    [ThemeStudio]
    public Color HoverTickBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    HoverTickColor

    Gets or sets the fore color value of the tick mark of the BarItem in hover state.

    Declaration
    [ThemeStudio]
    public Color HoverTickColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    PressedBackColor

    Gets or sets the background color of the BarItem control in pressed state.

    Declaration
    [ThemeStudio]
    public Color PressedBackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The System.Drawing.Color value is used to fill the background of the bar item.

    PressedBorderColor

    Gets or sets the fore color value of the BarItem control in pressed state

    Declaration
    [ThemeStudio]
    public Color PressedBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    PressedForeColor

    Gets or sets the foreground color of the BarItem control in pressed state.

    Declaration
    [ThemeStudio]
    public Color PressedForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The System.Drawing.Color value is used to fill the background of the bar item.

    SeparatorColor

    Gets or sets the fore color value of the BarItem control.

    Declaration
    [ThemeStudio]
    public Color SeparatorColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    TextBoxForeColor

    Gets or sets the fore color of the TextBox control in TextBoxBarItem.

    Declaration
    [ThemeStudio]
    public Color TextBoxForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    TickBorderColor

    Declaration
    [ThemeStudio]
    public Color TickBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    TickColor

    Gets or sets the fore color value of the tick mark of the BarItem.

    Declaration
    [ThemeStudio]
    public Color TickColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Methods

    GetDefaultStyle()

    Gets the default style value of the BarItemStyleInfo class.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    Returns the default style value.

    Overrides
    StyleInfoBase.GetDefaultStyle()

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved