Class PopupUtils
Inheritance
System.Object
PopupUtils
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
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
System.Drawing.Point |
GetADotNetParentControl(IntPtr)
Declaration
public static Control GetADotNetParentControl(IntPtr handle)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | handle |
Returns
Type |
---|
System.Windows.Forms.Control |