Skip to content

Commit

Permalink
Merge pull request #3008 from ahoefling/appbar-notimplemented
Browse files Browse the repository at this point in the history
feat: Added NotImplemented Attribute for Page.TopAppBar and Page.BottomAppBar
  • Loading branch information
jeromelaban authored Apr 22, 2020
2 parents bad2171 + 6362cfb commit 15d2b92
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Uno.UI/UI/Xaml/Controls/Page/Page.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ protected internal virtual void OnNavigatedTo(NavigationEventArgs e) { }
protected internal virtual void OnNavigatingFrom(NavigatingCancelEventArgs e) { }

#region TopAppBar

[Uno.NotImplemented]
public AppBar TopAppBar
{
get => (AppBar)this.GetValue(TopAppBarProperty);
set => this.SetValue(TopAppBarProperty, value);
}


[Uno.NotImplemented]
public static DependencyProperty TopAppBarProperty { get; } =
DependencyProperty.Register(
"TopAppBar",
Expand All @@ -36,17 +37,17 @@ public AppBar TopAppBar
FrameworkPropertyMetadataOptions.ValueInheritsDataContext
)
);

#endregion

#region BottomAppBar

[Uno.NotImplemented]
public AppBar BottomAppBar
{
get => (AppBar)this.GetValue(BottomAppBarProperty);
set => this.SetValue(BottomAppBarProperty, value);
}

[Uno.NotImplemented]
public static DependencyProperty BottomAppBarProperty { get; } =
DependencyProperty.Register(
"BottomAppBar",
Expand All @@ -57,7 +58,6 @@ public AppBar BottomAppBar
FrameworkPropertyMetadataOptions.ValueInheritsDataContext
)
);

#endregion

#region Frame
Expand All @@ -83,7 +83,7 @@ Frame Frame
)
);

#endregion
#endregion

public NavigationCacheMode NavigationCacheMode { get; set; }
}
Expand Down

0 comments on commit 15d2b92

Please sign in to comment.