Vixen
02b45cc4
csharp
public sealed class ProgressBar

How 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 TagName

    The element name this type answers to when a caller does not choose one.

  • protected override bool AcceptsFocus

    Whether the focus can rest on this kind of control at all.

  • public float Value
  • public bool IsIndeterminate
  • public float Phase
  • public static readonly UiPropertyKey ValueProperty

    Identity for Value.

  • public static readonly UiPropertyKey IsIndeterminateProperty

    Identity for IsIndeterminate.

  • public static readonly UiPropertyKey PhaseProperty

    Identity 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