Windows App SDK API Documentation
Overview
Welcome to the comprehensive API documentation for the Windows App SDK. This SDK provides a set of modern APIs and frameworks designed to help you build the next generation of Windows applications.
This documentation covers namespaces, classes, methods, properties, and events essential for leveraging the full power of the Windows App SDK.
Use the navigation pane on the left to explore different API areas and find the specific documentation you need.
WinRT
Retrieves the activation factory for a given Windows Runtime class.
Returns: An instance ofIActivationFactory.
Gets the runtime class name of an object.
Returns: The runtime class name as a string.App Model
Retrieves information about the activation event that launched the application.
Returns: An object implementingIActivatedEventArgs.
Registers the application to receive a specific type of activation event.
Starts building a new app notification.
Returns: AnAppNotificationBuilder instance.
Displays an app notification to the user.
AppNotificationBuilder to use for constructing the notification.Controls
Initializes a new instance of the Button class.
var button = new Button();
button.Content = "Click Me";
myGrid.Children.Add(button);
Initializes a new instance of the TextBox class.
Initializes a new instance of the ListView class.
Networking
Initializes a new instance of the HttpClient class for sending HTTP requests.
var client = new HttpClient();
var response = await client.GetAsync("https://api.example.com");
Storage
Gets a folder that is known to the system, such as Documents or Pictures.
Returns: An async operation that resolves to aStorageFolder.
UI
Creates a new top-level window.
Input
Represents a point in a pointer input event.
Graphics
Creates a new instance of the Compositor class.
Data Types
Represents a sequence of characters.
Represents a 32-bit signed integer.
Represents a Boolean value (true or false).
Represents a point in time.
Events & Delegates
Represents a method that will handle a pointer input event.