alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class PaintStyle

    Specifies the style in which the bar items will be painted.

    Inheritance
    System.Object
    PaintStyle
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public sealed class PaintStyle : Enum

    Fields

    Default

    By default the BarItem will be painted based on what they are parented by. In a main menu, only the text of the items will be drawn; in other tool bars only the image will be drawn; in a drop-down menu, both the image and text will be drawn.

    Declaration
    public const PaintStyle Default
    Field Value
    Type
    PaintStyle

    ImageAndText

    Both image and text will be drawn in all the above cases.

    Declaration
    public const PaintStyle ImageAndText
    Field Value
    Type
    PaintStyle

    TextOnly

    Image will be ignored in all the above cases.

    Declaration
    public const PaintStyle TextOnly
    Field Value
    Type
    PaintStyle

    TextOnlyInMenus

    Image will be ignored only when the BarItem is in a drop-down menu.

    Declaration
    public const PaintStyle TextOnlyInMenus
    Field Value
    Type
    PaintStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved