We have a special LayoutPanel in our application to which I want to add a custom "settings" button to the left of the pin and close buttons.
I was able to add the image to the LayoutPanel header using LayoutPanel.ControlBoxContentTemplate and <Image Source="{dx:DXImage 'SvgImages/Icon Builder/Actions_Settings.svg'}"/>, but then I don't get the visual state changes for MouseOver, MouseDown, etc.
I also tried using a <Button> with the same image, but then it looks like a button and, again, the visual states do not match the ones for the pin and close buttons defined by the current theme.
Is there a way to add a custom button to the LayoutPanel header that has the same look and feel as the standard pin and close buttons?
Thanks.