WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SizablePopupHost

    Show / Hide Table of Contents

    Class SizablePopupHost

    Derives from the PopupHost class and adds a gripper label and makes the form sizable.

    Inheritance
    System.Object
    TopLevelWindow
    DropDownWindow
    PopupHost
    SizablePopupHost
    Implements
    IIgnoreWorkingArea
    Inherited Members
    PopupHost.CreateShadow()
    PopupHost.WndProc(Message)
    PopupHost.DetachPopup()
    PopupHost.AttachPopup()
    PopupHost.SuspendLayout()
    PopupHost.ResumeLayout(Boolean)
    PopupHost.ComputeControlLocation()
    PopupHost.AdjustLocationForAlignment(Point, PopupRelativeAlignment)
    PopupHost.ComputeMyLocation()
    PopupHost.GetAdjustedLocation(Point)
    PopupHost.OnVisibleChanged(EventArgs)
    PopupHost.IsShowing()
    PopupHost.OnLocationChanged(EventArgs)
    PopupHost.OnSizeChanged(EventArgs)
    PopupHost.OnPaint(PaintEventArgs)
    PopupHost.ShowPopup()
    PopupHost.UpdateVisibility()
    PopupHost.ComputeLayout()
    PopupHost.OnDeactivate(EventArgs)
    PopupHost.GetIsMirrored()
    PopupHost.OnHandleCreated(EventArgs)
    PopupHost.BorderGap
    PopupHost.Shadow
    PopupHost.PopupControl
    PopupHost.NeedShadow
    PopupHost.PopupControlContainer
    PopupHost.CurrentRAlign
    PopupHost.OverlapBorderColor
    PopupHost.IgnoreWorkingArea
    DropDownWindow.CreateParams
    TopLevelWindow.ShowWindowTopMost()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class SizablePopupHost : PopupHost, IIgnoreWorkingArea

    Constructors

    SizablePopupHost(Control)

    Create an object of type SizablePopupHost.

    Declaration
    public SizablePopupHost(Control childControl)
    Parameters
    Type Name Description
    System.Windows.Forms.Control childControl

    Properties

    ComboBoxRenderer

    Declaration
    public ComboBoxAdvRenderer ComboBoxRenderer { get; set; }
    Property Value
    Type Description
    ComboBoxAdvRenderer

    LastSize

    Last size property.

    Declaration
    public Size LastSize { get; set; }
    Property Value
    Type Description
    System.Drawing.Size
    Remarks

    For AutoComplete DropDownSize persistance

    ShowCloseButton

    Returns/sets the visibility of the close button

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

    ShowGripper

    Indicates whether a gripper will be shown that can used for resizing

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

    Methods

    ComputeMySize()

    Overrides PopupHost.ComputeMySize.

    Declaration
    protected override void ComputeMySize()
    Overrides
    PopupHost.ComputeMySize()

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    PopupHost.Dispose(Boolean)

    Finalize()

    Declaration
    protected override void Finalize()

    HidePopup()

    Hides the popup.

    Declaration
    public override void HidePopup()
    Overrides
    PopupHost.HidePopup()

    SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

    Declaration
    protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
    Parameters
    Type Name Description
    System.Int32 x
    System.Int32 y
    System.Int32 width
    System.Int32 height
    System.Windows.Forms.BoundsSpecified specified

    Implements

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