BCGSoft.Controls.Shared Namespace : PopupBase Class |
Inherits Form class of the System.Windows namespace. Implements interface System.Windows.Forms IMessageFilter.
Represents a base class for different popup controls. This class contains the set of methods and properties related to the margins, location and size of the PopupBase.
'Declaration Public Class PopupBase Inherits System.Windows.Forms.Form
'Usage Dim instance As PopupBase
public class PopupBase : System.Windows.Forms.Form
public __gc class PopupBase : public System.Windows.Forms.Form
public ref class PopupBase : public System.Windows.Forms.Form
Properties BottomMargin, LeftMargin, RightMargin and TopMargin specify the size of margin of the popup base in different side. Method AdjustLocation specify the location according to the margin values. Method OnSizeChanged always sets the size of the PopupMenu equal PreferredSize. CommandSent event specifies the execution of the command from the PopupMenu and when the popup menu closes the PopupClose event is raised.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.Form
BCGSoft.Controls.Shared.PopupBase
BCGSoft.Controls.OutlookBar.OutlookPopupMenu
BCGSoft.Controls.PropertyList.ColorPopup
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2