menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum PaintStyle - API Reference

    Show / Hide Table of Contents

    Enum PaintStyle

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

    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public enum PaintStyle

    Fields

    Name Description
    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.

    ImageAndText

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

    TextOnly

    Image will be ignored in all the above cases.

    TextOnlyInMenus

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

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved