@@ -10,23 +10,23 @@ import actionBar = require("ui/action-bar");
1010import dependencyObservable = require( "ui/core/dependency-observable" ) ;
1111import proxy = require( "ui/core/proxy" ) ;
1212
13- var navigationBarHiddenProperty = new dependencyObservable . Property (
14- "navigationBarHidden " ,
13+ var actionBarHiddenProperty = new dependencyObservable . Property (
14+ "actionBarHidden " ,
1515 "Page" ,
1616 new proxy . PropertyMetadata ( undefined , dependencyObservable . PropertyMetadataSettings . AffectsLayout )
1717 ) ;
1818
19- function onNavigationBarHiddenPropertyChanged ( data : dependencyObservable . PropertyChangeData ) {
19+ function onActionBarHiddenPropertyChanged ( data : dependencyObservable . PropertyChangeData ) {
2020 var page = < Page > data . object ;
2121 if ( page . isLoaded ) {
22- page . _updateNavigationBar ( data . newValue ) ;
22+ page . _updateActionBar ( data . newValue ) ;
2323 }
2424}
2525
26- ( < proxy . PropertyMetadata > navigationBarHiddenProperty . metadata ) . onSetNativeValue = onNavigationBarHiddenPropertyChanged ;
26+ ( < proxy . PropertyMetadata > actionBarHiddenProperty . metadata ) . onSetNativeValue = onActionBarHiddenPropertyChanged ;
2727
2828export class Page extends contentView . ContentView implements dts . Page {
29- public static navigationBarHiddenProperty = navigationBarHiddenProperty ;
29+ public static actionBarHiddenProperty = actionBarHiddenProperty ;
3030 public static navigatingToEvent = "navigatingTo" ;
3131 public static navigatedToEvent = "navigatedTo" ;
3232 public static navigatingFromEvent = "navigatingFrom" ;
@@ -47,22 +47,22 @@ export class Page extends contentView.ContentView implements dts.Page {
4747 public onLoaded ( ) {
4848 this . _applyCss ( ) ;
4949
50- if ( this . navigationBarHidden !== undefined ) {
51- this . _updateNavigationBar ( this . navigationBarHidden ) ;
50+ if ( this . actionBarHidden !== undefined ) {
51+ this . _updateActionBar ( this . actionBarHidden ) ;
5252 }
5353
5454 super . onLoaded ( ) ;
5555 }
5656
57- get navigationBarHidden ( ) : boolean {
58- return this . _getValue ( Page . navigationBarHiddenProperty ) ;
57+ get actionBarHidden ( ) : boolean {
58+ return this . _getValue ( Page . actionBarHiddenProperty ) ;
5959 }
6060
61- set navigationBarHidden ( value : boolean ) {
62- this . _setValue ( Page . navigationBarHiddenProperty , value ) ;
61+ set actionBarHidden ( value : boolean ) {
62+ this . _setValue ( Page . actionBarHiddenProperty , value ) ;
6363 }
6464
65- public _updateNavigationBar ( hidden : boolean ) {
65+ public _updateActionBar ( hidden : boolean ) {
6666 //
6767 }
6868
0 commit comments