public sealed class ProgressBarHow far along something is.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Indeterminate is a separate flag rather than a magic value. A progress bar told to show -1 or NaN for "I do not know" is a progress bar that shows a full one or an empty one the day somebody's arithmetic produces that number by accident.
Fields and properties (8)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public float Valuepublic bool IsIndeterminatepublic float Phasepublic static readonly UiPropertyKey ValuePropertyIdentity for Value.
public static readonly UiPropertyKey IsIndeterminatePropertyIdentity for IsIndeterminate.
public static readonly UiPropertyKey PhasePropertyIdentity for Phase.
Methods (4)
protected override void OnDraw(DrawContext context)Draws whatever this element is, beyond what a stylesheet can describe.
public void ClearValue()Unsets Value, so it takes its default or its ancestor's value again.
public void ClearIsIndeterminate()Unsets IsIndeterminate, so it takes its default or its ancestor's value again.
public void ClearPhase()Unsets Phase, so it takes its default or its ancestor's value again.
Used by (10)
- ShellHelloUi
- BarVixen.Ui.Controls.Tests
- ControlVisualTestsVixen.Ui.Controls.Tests
- DataGridTestsVixen.Ui.Controls.Advanced.Tests
- MarkupTestsVixen.Ui.Controls.Tests
- RangeInteractionTestsVixen.Ui.Controls.Tests
- SurfaceTestsVixen.Ui.Controls.Tests
- EditorShellVixen.Editor.Ui
- TaskCenterVixen.Editor.Ui
- TaskCenterTestsVixen.Editor.Ui.Tests