![]() You can use the ThemedWindow.HeaderBackground and ThemedWindow.HeaderForeground properties to specify Header Background and Foreground colors when the window is active. Refer to the LeftPanelContent property description for a code sample. LeftPanelContent, LeftPanelContentTemplate, and LeftPanelContentTemplateSelector properties allow you to specify panel content. Set the ShowLeftPanel property to true to display the Side Panel. All header elements ( window icon, title, items, and so on) are displayed to the right of the Side Panel. This panel occupies the entire window height. The ThemedWindow can display a container at its left side ( Side Panel). I want the color to remain the same no matter what happens. At runtime, the button's back color changes slightly when I move the mouse over it. Refer to the ThemedWindow.HeaderItems or ThemedWindow.ToolbarItems property descriptions for a code sample. I changed the button's BackColor to yellow. The ThemedWindow allows you to display items in the window’s header area: You can use the ThemedWindow.AcrylicOpacity and ThemedWindow.AcrylicColor properties to customize ThemedWindow opacity and color. Set the ThemedWindow.EnableAcrylic to true to enable the Acrylic effect. When you move the mouse over the button with custom template, it will change its color as shown below. Customize the ThemedWindow Acrylic EffectĪcrylic makes the ThemedWindow (including title bar) translucent to add a depth effect. The RibbonControl parent element’s Background property must be set to null. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |