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

#1202 Restore Viewbox to Gallery #1209

Merged
merged 7 commits into from
Mar 7, 2023

Conversation

MarkBrainfire
Copy link
Contributor

@MarkBrainfire MarkBrainfire commented Mar 7, 2023

Rename ViewBox to Viewbox to restore access to the Viewbox control page to the Gallery.
This resolves issue #1202

Description

Renames included:
ViewBoxPage class -> ViewboxPage
ViewBoxPage.xaml filename -> ViewboxPage.xaml
ViewBoxPage.xaml.cs filename -> ViewboxPage.xaml.cs
ViewBoxIcon.png filename -> ViewboxIcon.png
ViewBox.png filename -> Viewbox.png
Content Include Items:
"Assets\ControlIcons\ViewBoxIcon.png" to "Assets\ControlIcons\ViewboxIcon.png"
"Assets\ControlImages\ViewBox.png" to "Assets\ControlImages\Viewbox.png"
Several occurrences of ViewBox -> Viewbox in ControlInfoData.json items.

Motivation and Context

Improper spelling of ViewBox resulted in a null page type and then the Viewbox control not being included in the build.
This subsequently caused both the menu item and control item to be disabled and ghosted, this making it impossible to access the Viewbox page.

How Has This Been Tested?

I compiled and ran the gallery and then accessed the Viewbox control page in every possible way and observed that the page functioned properly.

IMPORTANT NOTE!!!!!! Accessing the Viewbox and other controls multiple times (2 to 10 times usually) results in a XamlParseException. See issue #1206.

Types of changes

  • [X ] 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)

MarkBrainfire and others added 7 commits March 6, 2023 16:19
…age. Also renamed the corresponding files (xaml and xaml.cs) as well renaming ViewBox.png to Viewbox.png, and ViewBoxIcon.png to ViewboxIcon.png and renaming all other occurances of ViewBox to Viewbox in includes and comments.
… order to commit and add back later so that git will record that this file has been renamed.
…s file has been renamed. (amazing that I have to do this) Good grief!
@bpulliam bpulliam merged commit d3e49d6 into microsoft:main Mar 7, 2023
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.

None yet

2 participants