Vixen
dd8b0a81
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 (11)

  • 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.

  • protected override AccessibleRole NativeRole

    The role this kind of element has when nobody says otherwise.

  • protected override string? NativeAccessibleValue
  • protected override AccessibleStates NativeAccessibleState

    The states this kind of element computes from what it already holds.

  • 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 (17)

  • ActionBarMmo.Ui
  • GalleryHelloUi
  • UnitFrameMmo.Ui
  • AccessibilityTreeTestsVixen.Ui.Controls.Tests
  • BarVixen.Ui.Controls.Tests
  • ControlVisualTestsVixen.Ui.Controls.Tests
  • DataGridTestsVixen.Ui.Controls.Advanced.Tests
  • ElementStateBitTestsVixen.Ui.Controls.Tests
  • MarkupTestsVixen.Ui.Controls.Tests
  • RangeInteractionTestsVixen.Ui.Controls.Tests
  • SurfaceTestsVixen.Ui.Controls.Tests
  • EditorShellVixen.Editor.Ui
  • MarkupPanelTestsVixen.Editor.Profiler.Tests
  • NetworkViewVixen.Editor.Debugger
  • StatisticsViewVixen.Editor.Profiler
  • TaskCenterVixen.Editor.Ui
  • TaskCenterTestsVixen.Editor.Ui.Tests