Universal Windows Platform (UWP) API Reference

Explore the vast range of APIs available for building Universal Windows Platform applications. Discover classes, methods, properties, and events that enable you to create rich, connected, and modern experiences across all Windows devices.

Core APIs

Fundamental building blocks for UWP applications.

UI and Input

APIs for creating user interfaces and handling user interactions.

Data and Storage

APIs for managing data, files, and application settings.

Networking

APIs for network communication and connectivity.

Example API Details: Windows.UI.Xaml.Controls.TextBlock

TextBlock Class

Represents a control that displays a block of text.

public class TextBlock : Control, ITypographyProperties
Properties
Text
Gets or sets the text content to display.
FontSize
Gets or sets the size of the font used to display the text.
Foreground
Gets or sets a brush that describes the foreground content of the control.
Methods
InvalidateDisplay()
Forces the control to redraw itself.

View full documentation for TextBlock