Skip to content

PopuBox and Background, CornerRadius #3200

Closed Answered by nicolaihenriksen
Frillaut asked this question in Q&A
Discussion options

You must be logged in to vote

@Frillaut Yeah I can see that causes an issue with the Ripple being below the ColorZone. One way you could "solve" this is by adding your own Ripple to the popupBox.ToggleContent that you add:

<materialDesign:PopupBox TextBlock.FontSize="14" TextBlock.FontWeight="Medium"
             VerticalContentAlignment="Center"
             materialDesign:RippleAssist.IsCentered="False"
             ClipToBounds="True">
  <materialDesign:PopupBox.ToggleContent>
    <materialDesign:ColorZone CornerRadius="8" Height="28" Mode="SecondaryLight">
      <materialDesign:Ripple
        Padding="16,0"
        HorizontalContentAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource Find…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Frillaut
Comment options

Comment options

You must be logged in to vote
2 replies
@nicolaihenriksen
Comment options

@Frillaut
Comment options

Answer selected by Frillaut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants