menu

WinForms

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

    Show / Hide Table of Contents

    Interface IControlStyleLayout

    The IControlStyleLayout interface.

    Namespace: Syncfusion.Windows.Forms.Tools.Renderers
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public interface IControlStyleLayout

    Properties

    ActiveButtonIndex

    Declaration
    int ActiveButtonIndex { get; }
    Property Value
    Type
    System.Int32

    BorderWidth

    Declaration
    int BorderWidth { get; }
    Property Value
    Type
    System.Int32

    CaptionBounds

    Declaration
    Rectangle CaptionBounds { get; }
    Property Value
    Type
    System.Drawing.Rectangle

    CaptionEnabled

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

    CaptionOrientation

    Declaration
    Orientation CaptionOrientation { get; set; }
    Property Value
    Type
    System.Windows.Forms.Orientation

    CaptionWidth

    Declaration
    int CaptionWidth { get; }
    Property Value
    Type
    System.Int32

    ControlBounds

    Declaration
    Rectangle ControlBounds { get; set; }
    Property Value
    Type
    System.Drawing.Rectangle

    Floating

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

    ImageBounds

    Declaration
    Rectangle ImageBounds { get; }
    Property Value
    Type
    System.Drawing.Rectangle

    ImageEnabled

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

    IsMirrored

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

    OuterBorderWidth

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

    PushedButtonIndex

    Declaration
    int PushedButtonIndex { get; }
    Property Value
    Type
    System.Int32

    Table

    Declaration
    CaptionButtonOptionsTable Table { get; set; }
    Property Value
    Type
    CaptionButtonOptionsTable

    TextBounds

    Declaration
    Rectangle TextBounds { get; }
    Property Value
    Type
    System.Drawing.Rectangle

    TextRectHeight

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

    ThickBorderCaptionBounds

    Declaration
    Rectangle ThickBorderCaptionBounds { get; }
    Property Value
    Type
    System.Drawing.Rectangle

    ThickBorderWidth

    Declaration
    int ThickBorderWidth { get; }
    Property Value
    Type
    System.Int32

    ThinBorderCaptionBounds

    Declaration
    Rectangle ThinBorderCaptionBounds { get; }
    Property Value
    Type
    System.Drawing.Rectangle

    ThinBorderWidth

    Declaration
    int ThinBorderWidth { get; }
    Property Value
    Type
    System.Int32

    Methods

    GetButtonBounds(Int32)

    Declaration
    Rectangle GetButtonBounds(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type
    System.Drawing.Rectangle

    GetButtonImageBounds()

    Declaration
    Rectangle GetButtonImageBounds()
    Returns
    Type
    System.Drawing.Rectangle

    GetHitButton()

    Declaration
    CaptionButton GetHitButton()
    Returns
    Type
    CaptionButton

    GetHitButtonIndex()

    Declaration
    int GetHitButtonIndex()
    Returns
    Type
    System.Int32

    HitTest(MouseButtons, Point)

    Declaration
    HitTestArea HitTest(MouseButtons button, Point point)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseButtons button
    System.Drawing.Point point
    Returns
    Type
    HitTestArea

    ResetCaptionButtonIndices()

    Declaration
    void ResetCaptionButtonIndices()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved