Skip to content

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

Merged
Niels Laute (niels9001) merged 1 commit into
microsoft:mainfrom
Zakariathr22:enhance-title-bar-example
Dec 6, 2024
Merged

Niels Laute (niels9001) merged 1 commit into
microsoft:mainfrom
Zakariathr22:enhance-title-bar-example

Conversation

@Zakariathr22

Copy link
Copy Markdown
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.
@karkarl

Copy link
Copy Markdown
Collaborator

/azp run

@niels9001
Niels Laute (niels9001) merged commit bdef48d into microsoft:main Dec 6, 2024
@Zakariathr22
Zakaria Tahri (Zakariathr22) deleted the enhance-title-bar-example branch December 13, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants