Update InfoBarPanel APIs to match existing concepts of padding and spacing #3701
Labels
area-InfoBar
help wanted
Issue ideal for external contributors
team-Controls
Issue for the Controls team
Milestone
Update the naming of properties on InfoBarPanel to match existing concepts of padding and spacing.
Rename HorizontalMargin and VerticalMargin attached properties and use them just for the children. Currently we are also setting these on InfoBarPanel itself. Instead we should be using the new padding properties named as below for that purpose.
These will show up in markup like so (ignore values).
And the theme resources follow this pattern
• InfoBar(Title|Message|Action)(Horizontal|Vertical)LayoutMargin InfoBar(Title|Message|Action)SpacingIn(Horizontal|Vertical)Orientation
• InfoBarPanel(Horizontal|Vertical)LayoutMargin InfoBarPanelPaddingIn(Horizontal|Vertical)Orientation
The text was updated successfully, but these errors were encountered: