Skip to main content

Posts

Showing posts with the label UWP TitleBar

UWP - How to hide title bar

UWP - Hide the title bar programmatically The following Universal Windows Platform application development tutorial demonstrates how we can hide the title bar programmatically. Here we will get the application view for the current view. Then we will get the title bar of the application view. After getting the title bar we will set the title bar background color to transparent color. We also extend the core application view into the title bar. As a result, the title bar will be hidden. The ApplicationView class represents the active application view and associated states and behaviors. The ApplicationView class GetForCurrentView() method gets the view state and behavior settings of the active application. This method returns an ApplicationView instance that can be used to get and set app display properties. The ApplicationView class TitleBar property gets the title bar of the app. This property value is an ApplicationViewTitleBar which is the ...

UWP - How to change title bar text

UWP - Change the title bar text programmatically The following Universal Windows Platform application development tutorial demonstrates how we can set or change the title bar text programmatically. Here we will get the application view for the current view. Then we will set the title text for the application view. The ApplicationView class represents the active application view and associated states and behaviors. The ApplicationView class GetForCurrentView() method gets the view state and behavior settings of the active application. This method returns an ApplicationView instance that can be used to get and set app display properties. The ApplicationView class Title property gets or sets the displayed title of the window. This Title property value is a String which is the title of the window. So finally, using this ApplicationView Title property the UWP app developers can change the title bar text programmatically. When the Title pro...

UWP - How to change title bar color

UWP - Change TitleBar Color The following Universal Windows Platform application development tutorial demonstrates how we can programmatically customize/change the title bar color. Here we will get the application view for the current view. Then we will get the title bar of the application view. After getting the title bar we will change the title bar’s various colors. The ApplicationView class represents the active application view and associated states and behaviors. The ApplicationView class GetForCurrentView() method gets the view state and behavior settings of the active application. This method returns an ApplicationView instance that can be used to get and set app display properties. The ApplicationView class TitleBar property gets the title bar of the app. This property value is an ApplicationViewTitleBar which is the title bar of the app. The ApplicationViewTitleBar class represents the title bar of an app. The Applicatio...