steropes.ui 1.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package steropes.ui --version 1.1.2
NuGet\Install-Package steropes.ui -Version 1.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="steropes.ui" Version="1.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add steropes.ui --version 1.1.2
#r "nuget: steropes.ui, 1.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install steropes.ui as a Cake Addin
#addin nuget:?package=steropes.ui&version=1.1.2

// Install steropes.ui as a Cake Tool
#tool nuget:?package=steropes.ui&version=1.1.2

Steropes-UI - A monogame UI library

Steropes-UI is a lightweight UI framework built on top of Monogame. The library is a heavily redeveloped version of NuclearWinter. Writing at least some UI code is part of every game development, and this library makes it easier and less error prone than manual coding. Steropes-UI currently does not contain an equivalent for NuclearWinter's RichText, Tree and Table widgets.

Steropes uses a simple object model to define UIs that are both performant and testable. Similar to HTML-pages, Steropes separates the structure of your UI from the actual styling. The widget implementations contain logic and layouting, while style information is defined over the structure using selectors and style-rules.

Supported Widget types

Steopes widgets are split into three groups.

Basic Widgets

These widgets provide basic building blocks for UIs and deal directly with collecting user input.

  • Label - Displays static text
  • Image - Displays an image
  • IconLabel - Combines label and image.
  • Button - A simple push-button.
  • Checkbox - A check-box.
  • Dropdown Box - Allows a single selection from a list of elements.
  • Listview - A list of elements. Multiple selections are possible.
  • Radiobutton-Set - A set of buttons for making a single selection.
  • Slider - Numeric input control.
  • Progress-Bar - Shows progress of long running tasks.
  • Spinning-Wheel - A generic wait indicator that rotates a static image.
  • Tooltip - A hovering tooltip. Available on all widgets.
  • Scrollbar - A standalone scrollbar. Normally used inside a ScrollPanel.
  • KeyBox - Records a single key-stroke.

Text Components

  • Text-Field - Single line text input.
  • Password-Box - Same as text-field, but hides the input behind a masking character.
  • Text-Area - Multiline text input, with optional line-numbering.

Container

  • ScrollPanel - Single element container for large content. Allows for vertical scrolling.
  • Notebook - A tabbed pane.
  • Splitter - Container for two components, with splitter bar to adjust relative sizes.
  • OptionPane - Standard "yes, no, cancel" dialogs.
  • Popup - An modal popup window. Disappears when loosing focus.
  • Window - A window.

Layout Container

  • Group - Arranges child content based on their "AnchorRect" property. Similar to WPF's Canvas control.
  • Grid - Arranges content into rows and columns. Similar to WPF's grid control, but without row-/col-span support.
  • DockPanel - Docks content to the side of the panel. Same as the WPF class with the same name.
  • BoxGroup - Arrange child content horizontally or vertically. Same as the StackPanel in WPF.
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on steropes.ui:

Package Downloads
steropes.ui.windows

Steropes-UI is a lightweight UI framework built on top of Monogame. The library supports flexible CSS inspired styling of complex UIs and enables unit-tests for UI including input processing and rendering using mockable interfaces.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.0 945 3/19/2021
2.1.0 1,333 5/25/2018
2.0.2 1,254 3/25/2018
2.0.1 1,259 3/25/2018
2.0.0 1,162 2/19/2018
1.1.2 1,464 10/16/2017