NE.Standard

Progress

A linear or circular progress indicator showing a value within a min/max range.

ProgressComponent · type key standard.progress · Indicators

new ProgressComponent("progress")

Properties

PropertyTypeDefaultBindingDescription
Value
SetValue · BindValue
decimal?nullone-wayThe current value; assigning it directly skips the Min/Max validation that SetValue applies.
Min
SetMin · BindMin
decimal?0one-wayThe minimum value of the progress range.
Max
SetMax · BindMax
decimal?100one-wayThe maximum value of the progress range.
Variant
SetVariant · BindVariant
UIProgressVariant?UIProgressVariant.Linearone-wayThe visual variant of the progress indicator.
Color
SetColor · BindColor
UIThemeColor?Defaultone-wayThe progress bar's colour; unset resolves to color: inherit, so it follows whatever it's drawn in.
Label
SetLabel · BindLabel
stringnullone-wayThe label text shown alongside the indicator. translatable
ShowValue
SetShowValue · BindShowValue
bool?falseone-wayWhether the numeric value is displayed alongside the indicator.
ValueUnit
SetValueUnit · BindValueUnit
stringnullone-wayThe unit shown after the value, written exactly as it should read — "%" sits against the number, " MB" stands off it. translatable

Methods

SetRange(decimal min, decimal max)
Sets the minimum and maximum values of the progress range, validating them against the current value.
Common properties (16) — layout, visibility, theme, and the rest every component shares
PropertyTypeDefaultBindingDescription
Visibility
SetVisibility · BindVisibility
UIResponsive<UIVisibility>?Visibleone-wayWhat the component does with the room it was given, optionally overridden per breakpoint (e.g. collapsed from a given width up).
Enabled
SetEnabled · BindEnabled
bool?trueone-wayWhether the component responds to input; false dims it and marks it, and its subtree, inert.
Theme
SetTheme · BindTheme
UIThemeMode?nullone-wayThe theme mode forced on this component's subtree, or null to inherit the ambient theme.
HorizontalAlignment
SetHorizontalAlignment · BindHorizontalAlignment
UIAlignment?UIAlignment.Stretchone-wayWhere the component sits within its grid cell along the horizontal axis.
VerticalAlignment
SetVerticalAlignment · BindVerticalAlignment
UIAlignment?UIAlignment.Stretchone-wayWhere the component sits within its grid cell along the vertical axis.
Width
SetWidth · BindWidth
UIResponsive<UILayoutLength>?nullone-wayThe component width, optionally overridden per breakpoint.
MinWidth
SetMinWidth · BindMinWidth
UIResponsive<UILayoutLength>?nullone-wayThe component minimum width, optionally overridden per breakpoint.
MaxWidth
SetMaxWidth · BindMaxWidth
UIResponsive<UILayoutLength>?nullone-wayThe component maximum width, optionally overridden per breakpoint.
Height
SetHeight · BindHeight
UIResponsive<UILayoutLength>?nullone-wayThe component height, optionally overridden per breakpoint.
MinHeight
SetMinHeight · BindMinHeight
UIResponsive<UILayoutLength>?nullone-wayThe component minimum height, optionally overridden per breakpoint.
MaxHeight
SetMaxHeight · BindMaxHeight
UIResponsive<UILayoutLength>?nullone-wayThe component maximum height, optionally overridden per breakpoint.
ZIndex
SetZIndex · BindZIndex
int?0one-wayThe stacking order within the visual tree.
Margin
SetMargin · BindMargin
UIResponsive<UIThickness>?nullone-wayThe outer spacing around the component, optionally overridden per breakpoint.
Placement
SetPlacement · BindPlacement
UIResponsive<UIGridPlacement>?nullone-wayThe grid placement, optionally overridden per breakpoint.
Loading
SetLoading · BindLoading
bool?falseone-wayWhether the component is in loading state — a live state a controller turns on and off.
ShowContextMenu
SetShowContextMenu · BindShowContextMenu
bool?trueone-wayWhether a right-click opens the IVisualComponent.ContextMenu; on a host with rows, whether it opens any row's. Off, the menu stays in the tree and nothing opens it.