This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 241
Add ListViewColumn and CellView expansion #662
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setting ListViewColumn.Expands to true expands the column to fill all remaining available space inside a List or Tree view.
Enabling CellView expansion will expand a cell to fill all available horizontal space inside its column.
I feel it would be more consistent if the expand argument is specified when adding the cell to the cellview collection. |
Allow to specify the Expands parameter when adding CellViews to Columns.
Yeah, that's a good idea! Done: f745dc8 |
I would remove it now. |
Removes the constructor introduced in 3741844, the new CellViewCollection.Add overload can be used instead.
ok, done |
slluis
approved these changes
Mar 28, 2017
Merged since we need this for one of our feature work and it was approved |
Therzok
pushed a commit
that referenced
this pull request
Jan 3, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch adds expansion support for ListView/TreeView columns and cells.
New API:
ListViewColumn.Expands
: the column expands to fill all available space inside the view.CellView.Expands
: the cell view expands horizontally to fill all available space inside its column. Due to toolkit limitations CellView expanding can be only set upon creation,CellView.Expands
is read only.TODO: Wpf column expansion