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

Update shell.md | clarify the use of the OnPlatform markup extension #2717

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

bhavanesh2001
Copy link
Contributor

@bhavanesh2001 bhavanesh2001 commented Jan 10, 2025

The ShellContent.Icon property for each page uses special syntax: {OnPlatform ...}

The original line inaccurately described the syntax used for ShellContent.Icon. The updated line correctly identifies OnPlatform as a markup extension and explains its purpose in specifying platform-specific values in XAML.

The ShellContent.Icon property for each page uses OnPlatform markup extension. This markup extension in XAML is used to specify different values for different platforms.

@bhavanesh2001
Copy link
Contributor Author

#sign-off

@bhavanesh2001 bhavanesh2001 changed the title Update shell.md | Clarifying about OnPlatform markup extension Update shell.md | clarify the use of the OnPlatform markup extension Jan 10, 2025
@davidbritch davidbritch merged commit 6a210d3 into dotnet:main Jan 10, 2025
4 checks passed
@bhavanesh2001 bhavanesh2001 deleted the patch-1 branch January 10, 2025 09:58
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.

2 participants