-
-
Notifications
You must be signed in to change notification settings - Fork 915
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe
Currently CardControl has hardcoded value VertcailAlignment.Center for ControlIcon.VerticalAlignment, HeaderContentPresenter.VerticalAlignment and ContentPresenter.VerticalAlignment.
This should be customizable, preferrably from VerticalContentAlignment and TemplateBinding
Describe the solution you'd like
2 new DependencyProperties on CardControl:
VerticalIconAlignment (defaults to VerticalAlignment.Center)
VerticalHeaderAlignment (defaults to VerticalAlignment.Center)
and default VerticalContentAlignment to VerticalAlignment.Center
CardControl.xaml should use TemplateBinding VerticalIconAlignment , TemplateBinding VerticalHeaderAlignment and TemplateBinding VerticalContentAlignment for the three different ContentControl/ContentPresenter
Describe alternatives you've considered
No response
Additional context
Example:
<ContentPresenter
x:Name="HeaderContentPresenter"
VerticalAlignment="{TemplateBinding VerticalHeaderAlignment}" />
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request