-
Notifications
You must be signed in to change notification settings - Fork 1
WindowBase
ProGraMajster edited this page Mar 28, 2026
·
1 revision
Represents the base class for windows, like Form and PopupWindow
var control = new WindowBase();| Name | Summary |
|---|---|
Bounds |
Gets the bounds of the Window. |
Controls |
Gets the collection of controls contained by the window. |
CurrentStyle |
Gets the current style of this window instance. |
DefaultSize |
Gets the default size of the window. |
DesktopScaling |
Gets the current scale factor of the desktop. |
DisplayRectangle |
Gets the unscaled bounds of the form not including borders. |
Location |
Gets the unscaled location of the control. |
Resizeable |
Gets or sets whether the window is resizable. |
ScaledDisplayRectangle |
Gets the scaled bounds of the form not including borders. |
ScaledSize |
Gets or sets the scaled size of the window. |
Scaling |
Gets the current scale factor of the window. |
Size |
Gets or sets the unscaled size of the window. |
StartPosition |
Gets or sets the startup location of the window. |
Style |
Gets the ControlStyle properties for this instance of the window. |
Visible |
Gets or sets whether the window is displayed to the user. |
| Name | Summary |
|---|---|
#ctor |
Initializes a new instance of the Window class. |
Close |
Closes and destroys the window. |
Hide |
Hides the window without destroying it. |
Invalidate |
Marks the entire window as needing to be redrawn. |
Invalidate |
Marks the specified portion of the window as needing to be redrawn. |
OnKeyDown |
Raises the KeyDown event. |
OnKeyPress |
Raises the KeyPress event. |
OnKeyUp |
Raises the KeyUp event. |
OnMaximumSizeChanged |
Raises the MaximumSizeChanged event. |
OnMinimumSizeChanged |
Raises the MinimumSizeChanged event. |
OnPaint |
Paints the Form. |
OnPaintBackground |
Paints the Form's background. |
OnShown |
Raises the Shown event. |
PointToClient |
Converts a point from screen coordinates to window coordinates. |
PointToScreen |
Converts a point from window coordinates to screen coordinates. |
Show |
Displays the window to the user. |
| Name | Summary |
|---|---|
Closed |
Raised when the window is closed. |
Deactivated |
Raised when the window is deactivated. |
KeyDown |
Raised when the user presses down a key. |
KeyPress |
Raised when the user presses a key. |
KeyUp |
Raised when the user releases a key. |
MaximumSizeChanged |
Raised when the MaximumSize property is changed. |
MinimumSizeChanged |
Raised when the MinimumSize property is changed. |
Shown |
Raised when the window is shown. |
- This page was generated from the public XML documentation of
ModernFormsNext. - Base members inherited from
Control,ScrollableControl,WindowBase, or other parent types may not all be repeated here.
- Home
-
API Reference
- AccessibleEvents
- AccessibleNavigation
- AccessibleObject
- AccessibleObjectNotificationEventArgs
- AccessibleRole
- AccessibleSelection
- AccessibleStates
- PlatformAccessibleObjectAdapter
- QueryAccessibilityHelpEventArgs
- QueryAccessibilityHelpEventHandler
- AnchorStyles
- Animation
- AnimationManager
- ControlAnimationEffects
- ControlAnimationExtensions
- Easings
- Application
- ArrowDirection
- AutoSizeMode
- BorderSideStyle
- BorderStyle
- BoundsSpecified
- BuiltInTheme
- Button
- CheckBox
- CheckState
- Clipboard
- ColorBox
- ColorDialog
- ColumnStyle
- ComboBox
- CommonDialog
- ContentAlignment
- ContextMenu
- Control
- ControlAccessibleObject
- ControlCollection
- ControlBehaviors
- ControlPaint
- ControlStyle
- Cursor
- Cursors
- BaseCollection
- BindableComponent
- Binding
- BindingCompleteContext
- BindingCompleteEventArgs
- BindingCompleteEventHandler
- BindingCompleteState
- BindingContext
- BindingManagerBase
- BindingManagerDataErrorEventArgs
- BindingManagerDataErrorEventHandler
- BindingMemberInfo
- BindingsCollection
- BindingSource
- BindingValueFormatter
- ControlBindingsCollection
- ControlUpdateMode
- ConvertEventArgs
- ConvertEventHandler
- CurrencyManager
- DataSourceUpdateMode
- IBindableComponent
- ICommandExecutor
- ICurrencyManagerProvider
- ItemChangedEventArgs
- ItemChangedEventHandler
- ListBindingConverter
- ListBindingHelper
- ListManagerBindingsCollection
- PropertyManager
- RelatedCurrencyManager
- DataGridView
- DataGridViewCell
- DataGridViewCellCollection
- DataGridViewCellEditEventArgs
- DataGridViewColumn
- DataGridViewColumnCollection
- DataGridViewColumnHeaderCell
- DataGridViewHeaderCell
- DataGridViewRow
- DataGridViewRowCollection
- DataGridViewRowHeaderCell
- DataGridViewSelectionMode
- DateTimePicker
- DateTimePickerCalendar
- DateTimePickerFormat
- DialogResult
- DockStyle
- Brush
- GlassBrush
- GradientBrush
- GradientStop
- LinearGradientBrush
- RadialGradientBrush
- SolidColorBrush
- SweepGradientBrush
- DrawingExtensions
- EventArgs`1
- FileDialog
- FileSystemDialog
- FlowDirection
- FlowLayoutPanel
- FlowLayoutSettings
- FolderBrowserDialog
- Font
- FontDialog
- FontDialogRenderingMode
- FontStyle
- Form
- FormCollection
- FormStartPosition
- FormTitleBar
- TitleBarButtonGlyph
- FormWindowState
- Help
- HelpEventArgs
- HelpEventHandler
- HelpNavigator
- HelpProvider
- HorizontalAlignment
- HorizontalScrollBar
- HueSlider
- IContainerControl
- ILayoutable
- ImageCollection
- ImageList
- InsertKeyMode
- KeyEventArgs
- KeyPressEventArgs
- Keys
- Label
- ContainerProxy
- ElementProxy
- TopDownProxy
- VerticalElementProxy
- LayoutEngine
- PropertyStore
- IntegerEntry
- ObjectEntry
- ContainerInfo
- LayoutInfo
- LayoutEventArgs
- LayoutSettings
- LinkArea
- LinkBehavior
- LinkLabel
- Link
- LinkCollection
- LinkLabelLinkClickedEventArgs
- LinkState
- ListBox
- ListBoxItemCollection
- ListView
- ListViewItem
- ListViewItemCollection
- MaskedTextBox
- MaskFormat
- MaskInputRejectedEventArgs
- MaskInputRejectedEventHandler
- Menu
- MenuBase
- MenuDropDown
- MenuItem
- MenuItemCollection
- MenuSeparatorItem
- MessageBoxForm
- MouseButtons
- MouseEventArgs
- NavigationPane
- NavigationPaneItem
- NavigationPaneItemCollection
- NotifyIcon
- NotifyIconActivationBehavior
- NotifyIconBalloonIcon
- NotifyIconContextMenu
- NotifyIconMenuItem
- NotifyIconMenuItemCollection
- NotifyIconMenuSeparatorItem
- NumericUpDown
- NumericUpDownTextBox
- OpenFileDialog
- Orientation
- Padding
- PaintEventArgs
- Panel
- PictureBox
- PictureBoxSizeMode
- PopupWindow
- ProgressBar
- RadioButton
- ButtonRenderer
- CheckBoxRenderer
- ColorBoxRenderer
- ComboBoxRenderer
- DataGridViewRenderer
- DateTimePickerRenderer
- FormTitleBarRenderer
- HueSliderRenderer
- IRenderGlyph
- IRenderTextAndImage
- LabelRenderer
- LinkLabelRenderer
- ListBoxRenderer
- ListViewRenderer
- MenuDropDownRenderer
- MenuRenderer
- NavigationPaneRenderer
- NumericUpDownRenderer
- PanelRenderer
- PictureBoxRenderer
- ProgressBarRenderer
- RadioButtonRenderer
- Renderer
- Renderer`1
- RenderManager
- RibbonRenderer
- ScrollableControlRenderer
- ScrollBarRenderer
- SplitContainerRenderer
- SplitterRenderer
- StatusBarRenderer
- TabControlRenderer
- TabStripRenderer
- TextBoxRenderer
- ToolBarRenderer
- TrackBarRenderer
- TreeViewRenderer
- Ribbon
- RibbonItemGroup
- RibbonItemGroupCollection
- RibbonTabPage
- RibbonTabPageCollection
- RowStyle
- SaveFileDialog
- ScrollableControl
- ScrollBar
- ScrollBars
- ScrollControl
- ScrollEventArgs
- ScrollEventType
- ScrollOrientation
- ScrollProperties
- SelectionMode
- SizeType
- SkiaExtensions
- SkiaTextExtensions
- SortOrder
- SplitContainer
- Splitter
- StatusBar
- TabControl
- TableLayoutCellPaintEventArgs
- TableLayoutColumnStyleCollection
- TableLayoutControlCollection
- TableLayoutPanel
- TableLayoutPanelCellBorderStyle
- TableLayoutPanelCellPosition
- TableLayoutPanelGrowStyle
- TableLayoutRowStyleCollection
- TableLayoutSettings
- TableLayoutStyle
- TableLayoutStyleCollection
- TabPage
- TabPageCancelEventArgs
- TabPageCollection
- TabPageEventArgs
- TabStrip
- TabStripItem
- TabDisplayMode
- TabStripItemCollection
- TabStripItemEventArgs
- TextBox
- TextImageRelation
- TextMeasurer
- TextSelection
- Theme
- TickStyle
- Timer
- ToolBar
- TrackBar
- TreeView
- TreeViewControlStyle
- TreeViewDrawEventArgs
- TreeViewDrawMode
- TreeViewItem
- TreeViewItemElement
- TreeViewItemCollection
- TypeValidationEventArgs
- TypeValidationEventHandler
- VerticalScrollBar
- WindowBase