Skip to content

Ability to set Action on StatusItem post creation #3070

@tznind

Description

@tznind

Is your feature request related to a problem? Please describe.

Action is now get only. This presents a problem in TerminalGuiDesigner where event handlers have to be declared by users within the .cs file (while designed views are constructed in .Designer.cs)

image

Describe the solution you'd like
Add set keyword to Action

Describe alternatives you've considered
None

Additional context
The API docs seem to indicate that this was possible at some point. Or it was intended to be the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions