Skip to content

Proposal: NumberBox V2 - Polish API with Additional Properties and Events #3158

@SavoySchuler

Description

@SavoySchuler

Proposal: NumberBox Update - Styling & Properties Polish

Summary

Center NumberBox V2 around polishing API surface by exposing or adding customer requested APIs for additional properties and events.

Rationale

Larger NumberBox features are still blocked on requiring WinUI 3.0, however, a meaningful V2 can still be delivered to active customers by focusing on exposing or adding customer requested properties and events.

See linked issues for each APIs individual rationale/justification.

Scope

Requests to expose APIs:

  1. Expose InputScope API:
    a. Proposal Proposal: Expose InputScope property on NumberBox #2710
    b. PR: Set InputScope property to Number in NumberBox's input TextBox #2605
  2. Styling APIs: Proposal: NumberBox: Improve the lightweight styling experience #2844
    a. Border Properties: Can't set the border properties of the NumberBox. #1925
    b. NumberBox should respect Background/Foreground properties: NumberBox should respect Background/Foreground properties #2998
    c. Provide a PlaceholderForeground API: Proposal: Provide a PlaceholderForeground API for the NumberBox control #2811
    d. Controls providing a PlaceholderText API should also provide a PlaceholderForeground API:Proposal: Controls providing a PlaceholderText API should also provide a PlaceholderForeground API #2965
  3. SpinButtons Tooltips: Proposal: Make the Tooltips of the NumberBox SpinButtons customizable #2808

Requests to add properties, events, theme resources:

  1. [Property] Add IsReadOnly / IsValueLocked property: Proposal: Add IsReadOnly / IsValueLocked property to NumberBox #2204
  2. [Events] Add Paste, CopyingToClipboard, and CuttingToClipboard Events: Proposal: Add Paste, CopyingToClipboard, and CuttingToClipboard Events to NumberBox #2055
  3. [Property] Add 'DeleteButtonVisibility' property: Proposal: Add 'DeleteButtonVisibility' property to NumberBox #2205
  4. [Theme Resources] Styling resources for glyphs: Proposal: Provide lightweight styling resources for the glyphs of the NumberBox's spin buttons #2789

Important Notes

Open Questions

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions