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 6342461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:14:41+00:00 2026-05-24T20:14:41+00:00

While designing Silverlight UI, I occasionaly encounter some weird lines of an unknown origin

  • 0

While designing Silverlight UI, I occasionaly encounter some weird lines of an unknown origin in the designer canvas. It is shown below:

enter image description here

I cannot click on it (nothing happens), there’s no way to select it, and there is nothing that is supposed to be there too. Those ‘phantom’ lines started to appear after integrating a big UserControl (which is itself a SL 4 application with its own project before) by referencing the other project from my main project. As soon as I’ve added the control just like any other UI element to the XAML, I’ve started gettings these lines. If I remove the control, they also disappear. The lines also appear ONLY when I open the MainPage.xaml for the first time. As long as I click on anything in the canvas, or change something, zoom etc. (probably anything that would force a redraw of the canvas) the lines go away and don’t come back until I close the MainPage.xaml’s tab and reopen it from the beginning. While I’m not irritated a lot by the lines, I think they are a possible indicator of something going wrong, especially with initialization/drawing of the controls. The Silverlight, including the ‘bogus’ control, runs fine though.

What could be the cause, as I’m pretty sure there’s something with the initialization of that other control, possibly some code that I have in that control. And lastly, yes, it DOES look like something’s margins are off, but I’ve checked that, everything’s ok.

PS: All the solution HAS been cleared and rebuilt several times.

  • 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-24T20:14:41+00:00Added an answer on May 24, 2026 at 8:14 pm

    I see you are using a tab like control there 🙂 I’ve run into something similar with a wizard-type control.

    This is most likely an issue with the design experience of that control. Basically, Visual Studio is trying to outline controls in another tab (or my case wizard page), when they are no longer visible. This generally occurs when the selection is changed.

    I worked with Microsoft on a resolution, which was extremely convoluted. Ultimately, they sent over code from their WPF TabControl which I was able to copy.

    This was introduced in Visual Studio 2010 because it’s designer was overhauled to support both WPF and Silverlight. In Visual Studio 2008, the designer could hook into the elements being designed and detect when the selection/layout changed.

    If you are the control developer, I’d recommend you contact Microsoft as I can’t distribute that code. If not, I’d recommend you contact the control developer.

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

Sidebar

Related Questions

These are some general questions I am facing while designing the error handling for
I used scroll view to display many controls.while designing it hides some controls. I
while designing my user control, i encountered the following problem: i would like to
While designing a new WPF application I noticed exceptions not being thrown during data
While making some final tests of a class-library that I'm writing for Windows Mobile
While rendering the view page, based on some condition in the controller action I
While designing applications it is a very good practice to have all the business
Is TRIE the most recommended data structure while designing something like a dictionary for
I have a little trouble deciding which way to go for while designing the
Are there any best practices to keep in mind while designing API's which ensures

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.