Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate XAML and C# code in TitleBar customization example #1663

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Zakariathr22
Copy link
Contributor

Description

This pull request Updates the TitleBar customization example by separating the XAML and C# code into distinct Code Presenters, main changes are:

  • Adjusted the control example to include separate XAML code in TitleBarPage.xaml.
  • Updated C# code in TitleBarSample1.txt to align with the new implementation.

Motivation and Context

This simple change enhances readability and avoids confusion.

How Has This Been Tested?

Manually tested

Screenshots (if appropriate):

Before changes:
image

After Changes:
image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

- Adjusted the control example to include separate XAML code in TitleBarPage.
- Updated C# code in TitleBarSample1.txt to align with the new implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant