Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2">
- <views:PageFrame Name="Content_MainPage" Frame.NavigationUIVisibility="Hidden"/>
- </Grid>
- public new BaseView Content
- {
- get
- {
- if (DesignerProperties.GetIsInDesignMode(this))
- {
- return new BaseView();
- }
- else
- {
- return (BaseView)base.Content;
- }
- }
- set
- {
- if (DesignerProperties.GetIsInDesignMode(this))
- {
- base.Content = new BaseView();
- FrameTitle = "design mode";
- }
- else
- {
- base.Content = value;
- FrameTitle = value.Title;
- }
- }
- }
Add Comment
Please, Sign In to add comment