Comments (3)
Hi, unfortunately I'm unable to reproduce this issue. Can you share the code of your LoginPage? I'm inclined to say that there might be the issue.
from winui-gallery.
Is there any update with this? I am experiencing this exact issue.
I am using a fully custom titlebar per: https://learn.microsoft.com/en-us/windows/apps/develop/title-bar#full-customization-example.
When I add frame navigation to my OnLaunched event in the App.xaml.cs file, the title bar is removed. (per https://learn.microsoft.com/en-us/windows/apps/design/basics/navigate-between-two-pages?tabs=wasdk)
protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
{
m_window = new MainWindow();
// Create a Frame to act as the navigation context and navigate to the first page
Frame rootFrame = new Frame();
rootFrame.NavigationFailed += OnNavigationFailed;
// Navigate to the first page, configuring the new page
// by passing required information as a navigation parameter
rootFrame.Navigate(typeof(MainPage), args.Arguments);
// Place the frame in the current Window
m_window.Content = rootFrame;
// Ensure the MainWindow is active
m_window.Activate();
}
By omitting "m_window.Content = rootFrame;", my custom titlebar is left in tact, however, obviously my application will now no longer navigate to the desired page.
from winui-gallery.
Is there any update with this? I am experiencing this exact issue.
I am using a fully custom titlebar per: https://learn.microsoft.com/en-us/windows/apps/develop/title-bar#full-customization-example.
When I add frame navigation to my OnLaunched event in the App.xaml.cs file, the title bar is removed. (per https://learn.microsoft.com/en-us/windows/apps/design/basics/navigate-between-two-pages?tabs=wasdk)
protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args) { m_window = new MainWindow(); // Create a Frame to act as the navigation context and navigate to the first page Frame rootFrame = new Frame(); rootFrame.NavigationFailed += OnNavigationFailed; // Navigate to the first page, configuring the new page // by passing required information as a navigation parameter rootFrame.Navigate(typeof(MainPage), args.Arguments); // Place the frame in the current Window m_window.Content = rootFrame; // Ensure the MainWindow is active m_window.Activate(); }
By omitting "m_window.Content = rootFrame;", my custom titlebar is left in tact, however, obviously my application will now no longer navigate to the desired page.
Can you attach a repro app? Thanks in advance!
from winui-gallery.
Related Issues (20)
- [a11y issue] With the DatePicker, the screen readers [NVDA and Narrator] reads the current date instead of the field names being displayed HOT 1
- Remove DataGrid Page
- Using the icons search box while an icon is selected crashes the application HOT 2
- Add an example on how to dynamically create the items for a MenuFlyout HOT 1
- [Bug] Crash after clicking "Settings" HOT 6
- Crashes when clicking Icons + using search/filter HOT 2
- Request: move CopyButton lower HOT 5
- Voice Access commang like "Delete that" is not working wit PasswordBox HOT 1
- Change how source codes (C#/XAML) are displayed HOT 4
- Gallery crashes when trying to search for an icon a second time HOT 3
- Folder structure: Controls > Design?
- Add searchable tags to Icons HOT 5
- Consolidate code for "lists/tables" on Geometry, Spacing, Typography pages
- Showcasing the Use of `OverlappedPresenter.IsModal` for Improved User Experience
- AppWindow Presenter related samples HOT 2
- State Trigger not working ? HOT 1
- Minor Inconsistency HOT 1
- Icons don't warn about Win10 not supported HOT 13
- Imperfect looks on the Color controls HOT 2
- The Wizard control for WinUI HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winui-gallery.