WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PopupUtils - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PopupUtils

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

    Constructors

    PopupUtils()

    Declaration
    public PopupUtils()

    Methods

    ComputeDefaultBorderOverlapCue(PopupRelativeAlignment, Rectangle)

    Declaration
    public static Point[] ComputeDefaultBorderOverlapCue(PopupRelativeAlignment rAlign, Rectangle dropDownBounds)
    Parameters
    Type Name Description
    PopupRelativeAlignment rAlign
    System.Drawing.Rectangle dropDownBounds
    Returns
    Type Description
    System.Drawing.Point[]

    ComputeDefaultLeftRightAlignment(PopupRelativeAlignment, out PopupRelativeAlignment, Rectangle, Boolean)

    Declaration
    public static Point ComputeDefaultLeftRightAlignment(PopupRelativeAlignment prevAlignment, out PopupRelativeAlignment newAlignment, Rectangle parentBounds, bool isRTL)
    Parameters
    Type Name Description
    PopupRelativeAlignment prevAlignment
    PopupRelativeAlignment newAlignment
    System.Drawing.Rectangle parentBounds
    System.Boolean isRTL
    Returns
    Type Description
    System.Drawing.Point

    ComputeDefaultLeftRightAlignmentExt(PopupRelativeAlignment, out PopupRelativeAlignment, Control, Rectangle, Boolean)

    Declaration
    public static Point ComputeDefaultLeftRightAlignmentExt(PopupRelativeAlignment prevAlignment, out PopupRelativeAlignment newAlignment, Control parent, Rectangle parentBounds, bool isRTL)
    Parameters
    Type Name Description
    PopupRelativeAlignment prevAlignment
    PopupRelativeAlignment newAlignment
    System.Windows.Forms.Control parent
    System.Drawing.Rectangle parentBounds
    System.Boolean isRTL
    Returns
    Type Description
    System.Drawing.Point

    ComputeDefaultPopupAlignment(PopupRelativeAlignment, out PopupRelativeAlignment, PopupRelativeAlignment, PopupRelativeAlignment, Rectangle)

    Declaration
    public static Point ComputeDefaultPopupAlignment(PopupRelativeAlignment prevAlign, out PopupRelativeAlignment newAlign, PopupRelativeAlignment firstPrefAlignment, PopupRelativeAlignment lastPrefAlignment, Rectangle parentBounds)
    Parameters
    Type Name Description
    PopupRelativeAlignment prevAlign
    PopupRelativeAlignment newAlign
    PopupRelativeAlignment firstPrefAlignment
    PopupRelativeAlignment lastPrefAlignment
    System.Drawing.Rectangle parentBounds
    Returns
    Type Description
    System.Drawing.Point

    ComputeDefaultTopBottomAlignment(PopupRelativeAlignment, out PopupRelativeAlignment, Rectangle, Boolean)

    Declaration
    public static Point ComputeDefaultTopBottomAlignment(PopupRelativeAlignment prevAlignment, out PopupRelativeAlignment newAlignment, Rectangle parentBounds, bool isRTL)
    Parameters
    Type Name Description
    PopupRelativeAlignment prevAlignment
    PopupRelativeAlignment newAlignment
    System.Drawing.Rectangle parentBounds
    System.Boolean isRTL
    Returns
    Type Description
    System.Drawing.Point

    ComputeDefaultTopBottomAlignmentExt(PopupRelativeAlignment, out PopupRelativeAlignment, Control, Rectangle, Boolean)

    Declaration
    public static Point ComputeDefaultTopBottomAlignmentExt(PopupRelativeAlignment prevAlignment, out PopupRelativeAlignment newAlignment, Control parent, Rectangle parentBounds, bool isRTL)
    Parameters
    Type Name Description
    PopupRelativeAlignment prevAlignment
    PopupRelativeAlignment newAlignment
    System.Windows.Forms.Control parent
    System.Drawing.Rectangle parentBounds
    System.Boolean isRTL
    Returns
    Type Description
    System.Drawing.Point

    ComputeLocationFromAlignment(PopupRelativeAlignment, Rectangle)

    Declaration
    public static Point ComputeLocationFromAlignment(PopupRelativeAlignment align, Rectangle dropDownBounds)
    Parameters
    Type Name Description
    PopupRelativeAlignment align
    System.Drawing.Rectangle dropDownBounds
    Returns
    Type Description
    System.Drawing.Point

    GetADotNetParentControl(IntPtr)

    Declaration
    public static Control GetADotNetParentControl(IntPtr handle)
    Parameters
    Type Name Description
    System.IntPtr handle
    Returns
    Type Description
    System.Windows.Forms.Control
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved