Skip to content

How to set the "Classes" for ListboxItem #18843

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

You must be logged in to vote

Nevermind ! I was indeed missing something, there is a way to do it:

  <Style Selector="ListBox.FrameMenu > ListBoxItem">
    <Setter Property="Theme" Value="{DynamicResource ListBoxItem.FrameMenu}"/>
  </Style>

Replies: 1 comment 2 replies

Comment options

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

@cboittin
Comment options

Answer selected by cboittin
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