Skip to content

Adding StretchChild property to WrapPanel control #3005

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

Merged

Conversation

shweaver-MSFT
Copy link
Member

@shweaver-MSFT shweaver-MSFT commented Sep 13, 2019

Issue: #
#195

PR Type

What kind of change does this PR introduce?

Adding an extra property and matching enum: StretchChild. This is needed to support the design of the upcoming TokenizingTextBox control.

Set StretchChild to StretchChild.Last to cause the last child of the wrap panel to fill any remaining space.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Pull Request has been submitted to the documentation repository instructions. Link:
  • Sample in sample app has been added / updated (for bug fixes / features)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Header has been added to all new source files (run build/UpdateHeaders.bat)
  • Contains NO breaking changes

Copy link
Member

@michael-hawker michael-hawker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few suggestions and questions, nothing major. Looks like a great new feature to have!

@shweaver-MSFT shweaver-MSFT changed the title Adding StretchLastChild property to WrapPanel control Adding StretchChild property to WrapPanel control Sep 13, 2019
@michael-hawker michael-hawker merged commit a4215c7 into CommunityToolkit:master Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants