Class GridExcelFilterPopup
Represents a pop-up window.
Inheritance
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
[CLSCompliant(true)]
public class GridExcelFilterPopup : ToolStripDropDown
Constructors
GridExcelFilterPopup(Control, Size, Boolean)
Initializes a new instance of the GridExcelFilterPopup class.
Declaration
public GridExcelFilterPopup(Control content, Size defaultSize, bool isMetro)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | content | The content of the pop-up. |
System.Drawing.Size | defaultSize | Stores the width |
System.Boolean | isMetro | Indicates whether popup control is in Metro. |
Remarks
Pop-up will be disposed immediately after disposing of the content control.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
.
|
Fields
Redraw
Stores the boolean value.
Declaration
public bool Redraw
Field Value
Type |
---|
System.Boolean |
Properties
AcceptAlt
Gets or sets a value indicating whether pressing the alt key should close the pop-up.
Declaration
public bool AcceptAlt { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Content
Gets the content of the pop-up.
Declaration
public Control Content { get; }
Property Value
Type |
---|
System.Windows.Forms.Control |
CreateParams
Gets parameters of a new window.
Declaration
protected override CreateParams CreateParams { get; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.CreateParams | An object of type System.Windows.Forms.CreateParams used when creating a new window. |
FocusOnOpen
Gets or sets a value indicating whether the content should receive the focus after the pop-up has been opened.
Declaration
public bool FocusOnOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
If the FocusOnOpen property is set to false
, then pop-up cannot use the fade effect.
MaximumSize
Gets or sets a maximum size of the pop-up.
Declaration
public Size MaximumSize { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | An ordered pair of type System.Drawing.Size representing the width and height of a rectangle. |
MinimumSize
Gets or sets a minimum size of the pop-up.
Declaration
public Size MinimumSize { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | An ordered pair of type System.Drawing.Size representing the width and height of a rectangle. |
NonInteractive
Gets or sets a value indicating whether the GridExcelFilterPopup acts like a transparent windows (so it cannot be clicked).
Declaration
public bool NonInteractive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Resizable
Gets or sets a value indicating whether the GridExcelFilterPopup is resizable.
Declaration
public bool Resizable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true if managed resources should be disposed; otherwise, false. |
OnClosed(ToolStripDropDownClosedEventArgs)
Raises the System.Windows.Forms.ToolStripDropDown.Closed event.
Declaration
protected override void OnClosed(ToolStripDropDownClosedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ToolStripDropDownClosedEventArgs | e | A System.Windows.Forms.ToolStripDropDownClosedEventArgs that contains the event data. |
OnClosing(ToolStripDropDownClosingEventArgs)
Overridden to unhook the paint event.
Declaration
protected override void OnClosing(ToolStripDropDownClosingEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ToolStripDropDownClosingEventArgs | e | The System.Windows.Forms.ToolStripDropDownClosingEventArgs that contains the event data. |
OnLayout(LayoutEventArgs)
Raises the System.Windows.Forms.Control.Layout event.
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.LayoutEventArgs | e | A System.Windows.Forms.LayoutEventArgs that contains the event data. |
OnOpened(EventArgs)
Raises the System.Windows.Forms.ToolStripDropDown.Opened event.
Declaration
protected override void OnOpened(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
OnOpening(CancelEventArgs)
Raises the System.Windows.Forms.ToolStripDropDown.Opening event.
Declaration
protected override void OnOpening(CancelEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.CancelEventArgs | e | A System.ComponentModel.CancelEventArgs that contains the event data. |
OnSizeChanged(EventArgs)
Raises the System.Windows.Forms.Control.SizeChanged event.
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
PaintSizeGrip(PaintEventArgs)
Paints the sizing grip.
Declaration
public void PaintSizeGrip(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | The System.Windows.Forms.PaintEventArgs instance containing the event data. |
ProcessDialogKey(Keys)
Processes a dialog box key.
Declaration
protected override bool ProcessDialogKey(Keys keyData)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Keys | keyData | One of the System.Windows.Forms.Keys values that represents the key to process. |
Returns
Type | Description |
---|---|
System.Boolean | true if the key was processed by the control; otherwise, false. |
ProcessResizing(ref Message)
Processes the resizing messages.
Declaration
public bool ProcessResizing(ref Message m)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | m | The message. |
Returns
Type | Description |
---|---|
System.Boolean | true, if the WndProc method from the base class shouldn't be invoked. |
Show(Rectangle)
Shows the pop-up window below the specified area.
Declaration
public void Show(Rectangle area)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Rectangle | area | The area of desktop below which the pop-up will be shown. |
Remarks
When there is no space below specified area, the pop-up control is shown above it.
Show(Control)
Shows the pop-up window below the specified control.
Declaration
public void Show(Control control)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | control | The control below which the pop-up will be shown. |
Remarks
When there is no space below the specified control, the pop-up control is shown above it.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
.
|
Show(Control, Rectangle)
Shows the pop-up window below the specified area of the specified control.
Declaration
public void Show(Control control, Rectangle area)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | control | The control used to compute screen location of specified area. |
System.Drawing.Rectangle | area | The area of control below which the pop-up will be shown. |
Remarks
When there is no space below specified area, the pop-up control is shown above it.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
.
|
UpdateRegion()
Updates the pop-up region.
Declaration
protected void UpdateRegion()
WndProc(ref Message)
Processes Windows messages.
Declaration
protected override void WndProc(ref Message m)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | m | The Windows System.Windows.Forms.Message to process. |