System.Windows Namespace

Namespace: System.Windows

Description: Provides classes and interfaces for Windows-specific functionality and UI elements. This namespace is fundamental for building graphical user interfaces on Windows operating systems using .NET technologies.

Assembly: System.Windows.dll

Classes

Form

Represents a window, which is a separate screen that appears when an application is running.

Control

Represents the base class for all Windows Forms controls.

Button

Represents a standard Windows button control.

Label

Represents a Windows label control, used to display text.

TextBox

Represents a Windows edit control that allows the user to enter and edit text.

Point

Represents a location in two-dimensional space, typically used for coordinates.

Size

Represents the width and height of a rectangular region.

Commonly Used Methods (within related classes)

Form.Show()

Displays the form.

Control.Invalidate()

Invalidates the entire control and causes a repaint.

Button.Click Event

Occurs when the button is clicked.

Commonly Used Properties (within related classes)

Form.Text

Gets or sets the text displayed in the form's title bar.

Control.Width

Gets or sets the width of the control.

Point.X

Gets or sets the x-coordinate of this Point.