-
Notifications
You must be signed in to change notification settings - Fork 693
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rename 'Expanding' to 'Expanded' * Ensure Expanded/Collapsed fire after state is applied * Remove MaxWidth set in the default style * Make the expander properly size to content The header and content container elements should always be stretched to give child controls maximum available area. * Remove Stretch content alignment (use Center default) This aligns with the default Button style * Add Center VerticalAlignment This aligns with the default Button style * Remove Min/MaxWidth from intermediate controls These should follow the layout root (parent grid) sizing. * Update Expander test page * Add fixed-height Expander example * Stretch header content * Standardize resource names * The header VerticalContentAlignment must be center * Revert "Rename 'Expanding' to 'Expanded'" This reverts commit 1223fb1. * Revert "Ensure Expanded/Collapsed fire after state is applied" This reverts commit 363c732. * Padding now applies to the Content area * Reorg and rename expander theme resources - Header and content resources are clearly named and separated - Relevant control properties now apply to the content area instead of header * Work-around DP precedence issue - Border thickness of the content area is no longer controlled by the BorderThickness DP of the control itself - This is required as BorderThickness of the control has local precedence over the visual state setter. - The correct solution for this is another filter converter for border thickness * Add resources to control header content alignment * Fix Expander event ordering * Fix some Static not Theme resources * Remove some resource redirections There is concern these would not be re-evaluated when expected * Remove unnecessary margins
- Loading branch information
Showing
4 changed files
with
166 additions
and
113 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.