Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4033952
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:54:40+00:00 2026-05-20T11:54:40+00:00

I have this strange issue where anytime I open a XAML file that contains

  • 0

I have this strange issue where anytime I open a XAML file that contains a Grid with a GridSplitter inside it, and the XAML Designer runs, it wants to add the property HorizontalAlignment to the GridSplitter and set it’s value to “Stretch”.

If I set VS2010 to not use the designer, the property is not added and the code remains the same. While I don’t use the designer all the time, it’s nice to use when needed. However, by going to the designer, it will automatically make the unwanted change every time. It forces the file to be checked out of source safe and is just a big mess.

Has anyone ever run into this situation? Seems very strange and specific, yet I can’t find anyone else online complaining about the same scenario.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:54:41+00:00Added an answer on May 20, 2026 at 11:54 am

    The GridSplitterDesignModeValueProvider class is the one changing the value. DesignModeValueProvider allow custom getting/setting logic to be injected when a control is being designed. This is baked into the Visual Studio design experience. There’s no easy way to prevent this feature provider from being called, atleast not without removing the design experience of all the native WPF controls.

    If you are not setting HorizontalAlignment, then you could set it to “Right” which is it’s default value. That should prevent the GridSplitterDesignModeValueProvider from changing it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running into this strange issue. Basically I have a loop that loops forever,
So i have this rather strange issue, i am trying to line up some
I have a strange issue with jQuery's hover, addClass $(document).ready(function(){ $('#selectable li').hover( function(){ $(this).addClass('selecting',
I have this strange issue with some third party DLL's. The third party provider
I have this very strange issue with my MVC 2 project. Often times, I'll
Very strange issue... I have something like this in my Controller: public ActionResult Initialize(IEnumerable<MyModel>
I have a strange issue from a client in that our code, which they
I have this strange issue. Xcode target does not find my 3rd party mac
I followed the git guide but I have this strange issue when trying to
I'm having a strange issue here, i have this bit of code: <?php if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.