Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 2.32 KB

TitleBarTheme.md

File metadata and controls

35 lines (30 loc) · 2.32 KB

Helper

use:

using UWP.Toolkit.Controls.Helper;

TitleBarTheme

Sets the ApplicationViewTitleBar colors according to the theme provided. static class

Method

Color(ElementTheme theme, ApplicationViewTitleBar titleBar)

Sets the ApplicationViewTitleBar colors according to the theme provided.


TitleBarLight

Sets or Gets the Colors according to the Light Theme. static class

Properties

  • ForegroundColor : Sets or Gets the color of the foreground. Default Hex: #1A1A1A, ARGB: 255, 26, 26, 26.
  • HoverForegroundColor : Sets or Gets the color of the foreground when the pointer is over. Default Hex: #191919, ARGB: 255, 25, 25, 25.
  • PressedForegroundColor : Sets or Gets the color of the foreground when the button is pressed. Default Hex: #606060, ARGB: 255, 96, 96, 96.
  • InactiveForegroundColor : Sets or Gets the color of the foreground when the window is inactive. Default Hex: #A0A0A0, ARGB: 255, 160, 160, 160.
  • HoverBackgroundColor : Sets or Gets the color of the background when the pointer is over. Default Hex: #DDDDDD, ARGB: 255, 221, 221, 221.
  • PressedBackgroundColor : Sets or Gets the color of the background when the button is pressed. Default Hex: #F4F4F4, ARGB: 255, 224, 224, 224.

TitleBarDark

Sets or Gets the Colors according to the Dark Theme. static class

Properties

  • ForegroundColor : Sets or Gets the color of the foreground. Default Hex: #FFFFFF, ARGB: 255, 255, 255, 255.
  • HoverForegroundColor : Sets or Gets the color of the foreground when the pointer is over. Default Hex: #FFFFFF, ARGB: 255, 255, 255, 255.
  • PressedForegroundColor : Sets or Gets the color of the foreground when the button is pressed. Default Hex: #D0D0D0, ARGB: 255, 208, 208, 208.
  • InactiveForegroundColor : Sets or Gets the color of the foreground when the window is inactive. Default Hex: #6F6F6F, ARGB: 255, 111, 111, 111.
  • HoverBackgroundColor : Sets or Gets the color of the background when the pointer is over. Default Hex: #292929, ARGB: 255, 41, 41, 41.
  • PressedBackgroundColor : Sets or Gets the color of the background when the button is pressed. Default Hex: #383838, ARGB: 255, 56, 56, 56.