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

Enhance Select<T, TOwner> control #127

Closed
YevgeniyShunevych opened this issue Dec 12, 2017 · 0 comments
Closed

Enhance Select<T, TOwner> control #127

YevgeniyShunevych opened this issue Dec 12, 2017 · 0 comments
Assignees
Milestone

Comments

@YevgeniyShunevych
Copy link
Member

Enhance Select<T, TOwner> control and related functionality.

Option<T, TOwner> Control

Create Option<T, TOwner> control with the following public members:

public DataProvider<bool, TOwner> IsSelected { get; }

public TOwner Select();

Add Properties to Select<T, TOwner>

public ControlList<Option<T, TOwner>, TOwner> Options { get; }

public Option<T, TOwner> SelectedOption { get; }

public DataProvider<int, TOwner> SelectedIndex { get; }

New Option Selection Behavior Attributes

Create SelectOptionBehaviorAttribute - the base behavior class for option selection of Select<T, TOwner> control. Inherit it from TermSettingsAttribute.

List of behavior implementations is:

  • SelectByTextAttribute
  • SelectByValueAttribute
  • SelectByLabelAttribute
  • SelectByAttribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant