Skip to content

Change Hint Background on TimePicker with Version 4.7.1 #3364

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

You must be logged in to vote

@N0m4n904
I just tested and it did affect the Popup. However, moving the brush under the style like below seems to solve that issue.

<Style x:Key="MaterialDesignTimePickerTextBox" TargetType="{x:Type materialDesign:TimePickerTextBox}" BasedOn="{StaticResource MaterialDesignTimePickerTextBox}">
  <Style.Resources>
    <SolidColorBrush x:Key="MaterialDesignPaper">Fuchsia</SolidColorBrush>
  </Style.Resources>
  <Setter Property="materialDesign:HintAssist.Background" Value="{DynamicResource MaterialDesignPaper}" />
</Style>
</materialDesign:TimePicker.Resources>

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@N0m4n904
Comment options

@nicolaihenriksen
Comment options

@N0m4n904
Comment options

@nicolaihenriksen
Comment options

Answer selected by N0m4n904
@N0m4n904
Comment options

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