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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:34:17+00:00 2026-05-14T05:34:17+00:00

Using WPF .NET 4.0 in VS2010 RTM: I can’t create a fullscreen WPF popup.

  • 0

Using WPF .NET 4.0 in VS2010 RTM: I can’t create a fullscreen WPF popup.

If I create a popup that is sized 50% width and 100% height everything works fine, but if I try to create a “full screen” popup sized to 100% width and height it ends up displaying at 100% width and 75% height… the bottom is truncated.

Note: The width and height are actually being expressed in pixels in code, I’m using percent to make the situation a little more understandable…

It “feels” like there is some sort of limit preventing the area of a popup from exceeding ~75% of the total area of the screen.

UPDATE: Here is a Hello World example that shows the problem.

<Window x:Class="TechnologyVisualizer.PopupTest"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="PopupTest" 
        WindowStyle="None" WindowState="Maximized" Background="DarkGray">
    <Canvas x:Name="MainCanvas" Width="1920" Height="1080">
        <Popup Placement="Center" VerticalAlignment="Center" HorizontalAlignment="Center" Width="1900" Height="1060" Name="popContent">
            <TextBlock Background="Red">Hello World</TextBlock>
        </Popup>
        <Button Canvas.Left="50" Canvas.Top="50" Content="Menu" Height="60" Name="button1" Width="80"
                 FontSize="22" Foreground="White" Background="Black" Click="button1_Click" />
    </Canvas>
</Window>




 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace TechnologyVisualizer
{
    /// <summary>
    /// Interaction logic for PopupTest.xaml
    /// </summary>
    public partial class PopupTest : Window
    {
        public PopupTest()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            popContent.IsOpen = true;
        }

    }
}

If you run this the bottom 25% of the popup is missing if you change the width of the popup to 500 then it will go full height

  • 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-14T05:34:17+00:00Added an answer on May 14, 2026 at 5:34 am

    Your guess about the size limitation (75% of the screen) is correct. It’s documented here:

    http://msdn.microsoft.com/en-us/library/system.windows.controls.primitives.placementmode%28VS.85%29.aspx

    The relevant note is missing from the .NET 4 docs. I think you’ll need to use another method of getting full screen. I normally use a maximized, borderless, non-resizable window.

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

Sidebar

Related Questions

I just started using the WPF WebBrowser that is included in Net 3.5 SP1.
I am creating menus in WPF programatically using vb.net. Can someone show me how
I am new to WPF, I am using VS2010 beta2, .NET 4.0. Throw new
Using C# and WPF under .NET (rather than Windows Forms or console), what is
I've been using Winforms since .NET 1.1 and I want to start learning WPF.
Using WPF, I have a TreeView control that I want to set its ItemTemplate
I'm building an application in C# using WPF. How can I bind to some
Anyone using WPF for real LOB applications? We have all seen the clever demos
I have a situation where I am using wpf data binding and validation using
i wonder if it is possible to cascade converters when using wpf databinding. e.g.

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.