-
Notifications
You must be signed in to change notification settings - Fork 1
Form
ProGraMajster edited this page Mar 28, 2026
·
1 revision
Represents a top-level window to display to the user.
var form = new Form
{
Text = "My Window"
};
Application.Run(form);| Name | Summary |
|---|---|
AllowMaximize |
Gets or sets whether the form can be maximized. |
AllowMinimize |
Gets or sets whether the form can be minimized. |
Bounds |
Gets or sets the bounds of the Window. |
DefaultSize |
No XML summary yet. |
DialogResult |
Gets or sets the dialog result for the form. |
Image |
Gets or sets the icon for the form. |
Location |
Gets or sets the unscaled location of the control. |
MaximumSize |
Gets or sets the maximum size of the Window |
MinimumSize |
Gets or sets the minimum size of the Window |
Name |
Gets or sets the name of the form. |
ShowFocusCues |
Gets a value indicating a focus rectangle should be drawn on the selected control. |
Size |
Gets or sets the unscaled size of the window. |
Style |
No XML summary yet. |
Text |
Gets or sets the text for the form title bar. |
TitleBar |
Gets the title bar for the form. |
UseSystemDecorations |
Gets or sets whether the form should use the operating system's title bar and decorations, or use managed decorations. The default is false. This must be changed before the form is shown for the first time. |
WindowState |
Gets or sets the state of the form (normal/minimized/maximized). |
| Name | Summary |
|---|---|
#ctor |
Initializes a new instance of the Form class. |
BeginMoveDrag |
Begins dragging the window to move it. |
Close |
No XML summary yet. |
GetNextControl |
Gets the next control in tab order. |
OnClosing |
Raises the Closing event. |
OnThemeChanged |
Called when the theme changes. |
ShowDialog |
Displays the window to the user modally, preventing interaction with other windows until closed. |
| Name | Summary |
|---|---|
Closing |
Raised before the form is closed, allowing close to be programatically canceled. |
- 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