Table of Contents

Namespace Icy.UI

Classes

Border

Decorates a single Child element with a background, border brush, and border thickness.

Canvas

Represents the root container for UI controls and manages the UI tree, input handling, and rendering.

Panel

Represents a container element that can hold other UI elements.

ResourceDictionary

A string-keyed collection of named resources (Styles, Timelines, brushes, or any other value), optionally composed from other dictionaries via MergedDictionaries.

UIElement

Represents the base class for all UI elements in the game interface.

UIElementCollection

Represents a collection of UIElement objects that can be observed for changes.

UIElementExtensions

Convenience operations over an existing UIElement tree - walking it, searching it, and looking elements up by name.

Structs

DragClaimContext

Describes a starting drag to an element deciding whether to claim it (see GetDragAxes(in DragClaimContext)).

Thickness

Represents the same base struct for both paddings and margins.

Interfaces

IContainerElement

Represents an element that contains a collection of UIElement instances.

IContainerLayout

Represents elements that can provide their layout to child elements.

IIcyHost

IcyUI running inside a game: its configuration and the canvases the engine draws every frame. Returned by each engine integration's UseIcyUI().

INotifyFocusChanged

Represents an interface for the items that can be focused.

IVirtualizingScrollInfo

Lets a ScrollViewer delegate extent/offset/viewport handling to its Content, instead of fully measuring and arranging it, when that content can realize only the portion of itself that's actually visible.

Enums

DragAxes

Specifies the axes an element wants to own a drag along (see GetDragAxes(in DragClaimContext)).

HorizontalAlignment

Defines the horizontal alignment of a UI element within its parent container.

Orientation

Specifies the orientation of controls or elements of controls.

ReferenceFit

Specifies how ReferenceResolution maps a reference resolution onto a viewport whose aspect ratio may differ from it.

UIElement.UpdateFlags

Defines a flag set for the UIElement instance layout invalidation state.

UIScaleMode

Specifies how a Canvas chooses the base factor of its EffectiveScale.

VerticalAlignment

Defines the vertical alignment of a UI element within its parent container.