Table of Contents

Namespace nanoFramework.Presentation.Controls

Classes

Border

Represents a WPF-like Border control that provides a border and background for its content.

Canvas

Represents a canvas panel that can be used to arrange child elements using absolute positioning.

ContentControl

Represents a base class for a control that can contain a single child element.

Control

Represents a base class for all WPF controls.

DockPanel

DockPanel is used to size and position children inward from the edges of available space.

A Dock enum (see SetDock(UIElement, Dock) and GetDock(UIElement)) determines on which size a child is placed. Children are stacked in order from these edges until there is no more space; this happens when previous children have consumed all available space, or a child with Dock set to Fill is encountered.

DrawingAttributes

Represents the drawing attributes used for drawing on a canvas.

Image

Summary description for Image.

InkCanvas

Note: InkCanvas control is not movable at runtime. This requires complex logic, with no customer scenario at this moment.

ListBox

Represents a control that displays a list of items, where an item in the list can be selected.

ListBoxItem

Represents an item in a ListBox control.

ListBoxItemCollection
Panel

Represents a container that can contain multiple child elements.

ScrollChangedEventArgs

Provides data for the ScrollChanged event.

ScrollViewer

Represents a control that provides a scrollable view of content in a container.

SelectionChangedEventArgs

Provides data for the SelectionChanged event of a control.

StackPanel

Implements a layout panel that arranges child elements into a single line that can be oriented horizontally or vertically.

Text

Represents a text element that can be displayed on a user interface.

TextFlow

Represents a flow of text, composed of one or more TextRuns, that can be displayed in a UIElement container. Provides properties to control scrolling, alignment, and layout.

TextRun

Represents a text run with a specific font and color.

TextRunCollection

Represents a collection of TextRun objects that can be added, removed, and modified.

WrapPanel

WrapPanel is used to place child UIElements at sequential positions from left to the right and then "wrap" the lines of children from top to the bottom.

All children get the layout partition of size ItemWidth x ItemHeight.

Enums

Dock

Dock - Enum which describes how to position and stretch the child of a DockPanel.

Orientation

Enumerates the possible orientations for a user interface element.

ScrollingStyle

Specifies the scrolling style for a ScrollViewer control.

Delegates

ScrollChangedEventHandler

Represents the method that will handle the ScrollChanged event of a ScrollViewer.

SelectionChangedEventHandler

Represents the method that will handle the SelectionChanged event of a control.