Class PivotFilterPopup
Represents the class of a pop-up window.
Inheritance
Namespace: Syncfusion.Windows.Forms.PivotAnalysis
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
[CLSCompliant(true)]
public class PivotFilterPopup : ToolStripDropDown
Constructors
PivotFilterPopup(Control, Size)
Initializes a new instance of the PivotFilterPopup class with the specified System.Windows.Forms.Control instance and size of the control window.
Declaration
public PivotFilterPopup(Control content, Size defaultSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | content | The instance of System.Windows.Forms.Control class. |
System.Drawing.Size | defaultSize | The default size value. |
Remarks
Pop-up will be disposed immediately after disposing of the content control.
Fields
Redraw
Represents 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 or not.
Declaration
public bool AcceptAlt { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if pressing the alt key does not close the pop-up; otherwise, false. The default value is false. |
CreateParams
Gets the value of 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 or not after the pop-up has been opened.
Declaration
public bool FocusOnOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the content should be focused after the pop-up has been opened; otherwise, false. The default value is false. |
Remarks
If the FocusOnOpen property is set to false
, then pop-up cannot use the fade effect.
MaximumSize
Gets or sets the value of maximum System.Drawing.Size value 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 the value of minimum System.Drawing.Size value 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 PivotFilterPopup instance acts like a transparent window or not.
Declaration
public bool NonInteractive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the pop-up is non-interactive; otherwise, false. The default value is false. |
Remarks
If the property is set to 'False', then interaction is made, like clicking.
Resizable
Gets or sets a value indicating whether the PivotFilterPopup is re-sizable or not.
Declaration
public bool Resizable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the re-sizing can be done; otherwise, false. The default value is false. |
UserControl
Gets or sets the value of inner userControl of the pop-up.
Declaration
public Control UserControl { get; set; }
Property Value
Type |
---|
System.Windows.Forms.Control |
Methods
Dispose(Boolean)
Releases the managed resources.
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 | The System.Windows.Forms.ToolStripDropDownClosedEventArgs that contains the event data. |
OnClosing(ToolStripDropDownClosingEventArgs)
Overrides and triggered when the closing event is called.
Declaration
protected override void OnClosing(ToolStripDropDownClosingEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ToolStripDropDownClosingEventArgs | e | 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 | The 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 | The 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 | The 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 | The 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)
Overrides and 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 | IfTruethe key was processed by the control; otherwise, false. |
ProcessResizing(ref Message)
Determines whether to process the resizing messages or not.
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; otherwise, false. |
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 |
.
|
WndProc(ref Message)
Overrides and processes the 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. |