Primitives

Value types and configuration objects shared across the framework.

Enums

EnumSummary
AccessibilityTraitsHow VoiceOver describes and treats a view.
BackButtonStyleHow the next pushed page's back button represents this page.
ButtonSizeThe built-in size classes of a Button.
ButtonStyleThe visual treatment of a Button.
CapitalizationWhen typing is automatically capitalized.
CarouselSnapHow a carousel settles when the drag ends.
ClearButtonWhen a text field shows its built-in clear button.
CollectionLayoutKindHow a CollectionView arranges its items.
ContentKindWhat the field holds, so the system can offer autofill (passwords, one-time codes, contacts).
DatePickerModeWhat a DatePicker lets the user pick.
DatePickerStyleHow a DatePicker presents itself.
FontDesignThe design of a font: the system face, a rounded one, a serif, or monospaced.
FontWeightThe weight of a font.
GestureStateWhere a continuous gesture is in its lifetime.
GridUnitTypeHow a GridLength is interpreted by the grid layout.
HorizontalAlignmentHow a view is placed within the horizontal space its parent gives it.
IconPlacementWhere a Button's icon sits relative to its text.
ImageSourceKindWhere an Image loads its content from.
IndicatorStyleThe color of a scroll view's indicator bar.
KeyboardDismissHow scrolling dismisses the on-screen keyboard.
KeyboardLookThe color scheme of the keyboard raised by a text input.
KeyboardToolbarThe bar shown above the raised keyboard.
KeyboardTypeThe on-screen keyboard shown while editing a text input.
MapKindThe base imagery a map draws.
MaterialKindThe thickness of a Material, mapping to the system blur styles.
OrientationThe stacking axis of a StackPanel.
PageBackgroundThe page's background.
PointerEffectHow a view reacts to a hovering trackpad or mouse pointer on iPad.
PopoverArrowThe directions a popover's arrow may point.
ReturnKeyTypeThe label shown on the keyboard's return key.
SafeAreaEdgesThe edges of a view that should be inset by the safe area during arrange.
ScrollPositionWhere a scrolled-to item lands in the viewport.
StatusBarStyleThe status bar look a page asks for.
StretchHow content is scaled to fill the space available to it.
SwipeSideWhich edge of a row a swipe action lives on.
SymbolEffectA built-in animation an SF Symbol can perform.
SymbolScaleThe relative size an SF Symbol is drawn at within its font metrics.
TabBarMinimizeWhen the tab bar minimizes as content scrolls.
TabPlacementHow a tab takes part in iPad user customization.
TextAlignmentHorizontal alignment of text within a control.
TextStyleA step in the native type hierarchy. Each one carries its own Dynamic Type curve.
TitleStyleHow the navigation bar shows the page's title.
ToolbarSideWhich side of the navigation bar a toolbar item sits on.
TruncationHow text is shortened when it does not fit.
VerticalAlignmentHow a view is placed within the vertical space its parent gives it.

Classes

ClassSummary
BrushHow a view's background is filled: a solid color, a gradient, or a blurred material.
ColorsThe standard colors, which also adapt to dark mode.
CommandCreates commands from plain delegates, for handlers that live in the view rather than a ViewModel.
GridLengthCollectionAn observable GridLength list that invalidates its owning Grid when changed.
ItemMove<TItem>Describes a completed drag-to-reorder: which item moved and where it went.
LinearGradientA linear gradient between two points, given in unit space: (0,0) is the top-left corner, (1,1) the bottom-right.
LinkA tappable run of text inside a TextView's TextView.Spans.
MapCircleA circular area of a fixed radius around a center.
MapOverlayA shape drawn onto a MapView beneath its pins.
MapPinA marker placed on a MapView at a coordinate.
MapPolygonA closed area bounded by coordinates.
MapPolylineAn open path connecting coordinates in order.
MaterialA blurred material, as used behind bars and sheets. Thinner materials let more of the content behind them through.
MenuActionAn action shown in a button, toolbar or context menu.
PreviewShapeThe shape of a row lifted as its own context-menu platter.
SolidBrushA single flat color.
SpanA styled run of text inside a Label's Label.Spans.
SwipeActionAn action revealed by swiping a row.
ToolbarItemA button in the page's navigation bar.

Structs

StructSummary
CollectionLayoutThe layout of a CollectionView: a list, a grid, or a carousel.
ColorA straight (non-premultiplied) RGBA color with each channel in the range 0..1.
CoordinateA geographic location in degrees.
GradientStopOne color of a gradient, at a position along it.
GridLengthThe size of a grid row or column: absolute (points), auto-sized, or a weighted star share.
ImageSourceDescribes where an image comes from, without touching UIKit.
MapRegionA rectangular map extent, a center coordinate plus its span in degrees.
PanGestureOne update of a drag: how far it has moved from where it started, and how fast it is going.
PinchGestureOne update of a pinch: the factor the touched distance has scaled by since the gesture began.
PointA point in the layout coordinate space (origin top-left, y grows downward).
RectAn axis-aligned rectangle of a location and a size, produced by the arrangement pass.
RotateGestureOne update of a two-finger rotation, in degrees since the gesture began.
ShadowA drop shadow behind a view.
SizeA width and height pair used by the measure/arrange layout.
ThicknessThe thickness of a frame around a rectangle, as used for margins and padding.

Interfaces

InterfaceSummary
IExpandableSection<TItem>An ISection<TItem> whose items collapse behind its header.
ISection<TItem>A group of items in a CollectionView.