User Tools

Site Tools


notes:uwp:otherelements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
notes:uwp:otherelements [2017/04/27]
leszek [Shapes]
notes:uwp:otherelements [2017/06/09] (current)
leszek [Tapped event]
Line 325: Line 325:
     * //​IsTapEnabled//​ = true     * //​IsTapEnabled//​ = true
     * //​Visibility//​ = Visibility.Visible     * //​Visibility//​ = Visibility.Visible
 +
 +====Title bar====
 +
 +In Windows 10 Microsoft has exposed programmability into the application title bar through the //​ApplicationViewTitleBar//​ and //​CoreApplicationViewTitleBar//​ classes. ​
 +
 +  * Using the //​ApplicationView.TitleBar//​ property, you can set the foreground and background colors of the title bar.
 +  * Using the //​ApplicationView.Title//​ property, you can set the text that appears on the title bar. 
 +  * Using the //​CoreApplicationViewTitleBar.ExtendViewIntoTitleBar//​ property, you can overlay the title bar with your content. ​
 +  * Using the //​Window.Current.SetTitleBar(RectTitleBar)//​ method, you can define a //​UIElement//​ to serve as the custom title bar for a window. This allows you to use any part of the surface of the RectTitleBar //​Rectangle//​ to move the window. ​
  
notes/uwp/otherelements.txt ยท Last modified: 2017/06/09 by leszek