menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PaintDockControlArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PaintDockControlArgs

    Collection of the docking windows different part of the classes such as Caption, Close Button and Pin Button.

    Inheritance
    System.Object
    PaintDockControlArgs
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools.Renderers
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class PaintDockControlArgs

    Constructors

    PaintDockControlArgs()

    Creates the instance of the class.

    Declaration
    public PaintDockControlArgs()

    PaintDockControlArgs(Caption, CaptionButtonOptionsTable, Boolean, Boolean, Int32, ProvideGraphicsItemsEventArgs, ImageList)

    Overloaded constructor.

    Declaration
    public PaintDockControlArgs(Caption caption, CaptionButtonOptionsTable table, bool bPaintBorders, bool bFloating, int captionImageIndex, ProvideGraphicsItemsEventArgs pgargs, ImageList imageList)
    Parameters
    Type Name Description
    Caption caption

    The caption bar of the docking window

    CaptionButtonOptionsTable table

    The CaptionButtonOptionsTable instance.

    System.Boolean bPaintBorders

    Indicates whether the border needs to be painted or not

    System.Boolean bFloating

    Indicates whether the floating

    System.Int32 captionImageIndex

    The caption image index.

    ProvideGraphicsItemsEventArgs pgargs

    The ProvideGraphicsItemsEventArgs contains the event data.

    System.Windows.Forms.ImageList imageList

    The ImageList instance

    PaintDockControlArgs(Caption, CaptionButtonOptionsTable, Boolean, Boolean, Int32, ImageList)

    Overloaded constructor.

    Declaration
    public PaintDockControlArgs(Caption caption, CaptionButtonOptionsTable table, bool bPaintBorders, bool bFloating, int captionImageIndex, ImageList imageList)
    Parameters
    Type Name Description
    Caption caption

    The caption bar of the docking window

    CaptionButtonOptionsTable table

    The CaptionButtonOptionsTable instance.

    System.Boolean bPaintBorders

    Indicates whether the border needs to be painted or not

    System.Boolean bFloating

    Indicates whether the floating

    System.Int32 captionImageIndex

    The caption image index.

    System.Windows.Forms.ImageList imageList

    The ImageList instance

    Properties

    Caption

    Gets/sets the Caption of the docking windows.

    Declaration
    public Caption Caption { get; set; }
    Property Value
    Type
    Caption

    CaptionImageIndex

    Gets/Sets the image that should be painted in caption.

    Declaration
    public int CaptionImageIndex { get; set; }
    Property Value
    Type
    System.Int32

    DesignMode

    Used to indicate whether painted control is in design mode.

    Declaration
    public bool DesignMode { get; set; }
    Property Value
    Type
    System.Boolean

    Floating

    Determines whether to paint FloatingForm or docked window: TRUE - paint FloatingForm; FALSE - paint docked control.

    Declaration
    public bool Floating { get; set; }
    Property Value
    Type
    System.Boolean

    ImageList

    Gets ImageList that contains images used to paint CaptionButtons.

    Declaration
    public ImageList ImageList { get; }
    Property Value
    Type
    System.Windows.Forms.ImageList

    PaintBorders

    Gets/Sets the borders of the docking windows.

    Declaration
    public bool PaintBorders { get; set; }
    Property Value
    Type
    System.Boolean

    ProvideGraphicsItemsArgs

    Gets/Sets additional painting arguments.

    Declaration
    public ProvideGraphicsItemsEventArgs ProvideGraphicsItemsArgs { get; set; }
    Property Value
    Type
    ProvideGraphicsItemsEventArgs

    Table

    Gets caption buttons and options associated with them.

    Declaration
    public CaptionButtonOptionsTable Table { get; }
    Property Value
    Type
    CaptionButtonOptionsTable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved