Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic repeating control #8

Open
lkingsford opened this issue Feb 23, 2020 · 0 comments
Open

Dynamic repeating control #8

lkingsford opened this issue Feb 23, 2020 · 0 comments
Labels
enhancement New feature or request not ready This issue requires more design work and discussion before being worked on

Comments

@lkingsford
Copy link
Owner

lkingsford commented Feb 23, 2020

Summary

This is to allow controls to be dynamically generated from an enumerable data source to allow creating things like Windows' Combo Boxes and List Boxes

Requires

Proposed Changes

GIVEN a control with an enumerable DataSource
AND that control has a DataControl field
WHEN the DataSource is updated
THEN the control's controls are updated to reflect the DataSource

GIVEN a control with an enumerable DataDource
AND that control has a DataControl field
WHEN the controls are updated
THEN there will be 1 control per enumerated item, with its datasource set to the item, made as a duplicate of DataControl, with its index the index of the itrm

GIVEN a control with DataControl
WHEN the controls are updated
THEN the child controls will each be offset by the previous controls RepeatingOffsetX and RepeatingOffsetY

@lkingsford lkingsford added enhancement New feature or request not ready This issue requires more design work and discussion before being worked on labels Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request not ready This issue requires more design work and discussion before being worked on
Projects
None yet
Development

No branches or pull requests

1 participant