Silverlight controls disappears when the window is minimized. Please help

1 posts, 0 answers
  1. Girish
    Girish avatar
    4 posts
    Member since:
    Jan 2011

    Posted 19 Jan 2011 Link to this post

    I have created a silverlight page. Every thing works fine if the window is maximized. But when the window is minimized some of the controls are missing from the page. These controls are aligned to the left and to the top. So the problem is that the controls towards the left side of the page appears on the screen when the page is minimized but not the controls towards the right side of the page. Can some one please help me?

    <UserControl x:Class="SilverlightComponents.ATMHeader"
        mc:Ignorable="d" xmlns:sdk="" d:DesignHeight="100">
        <Grid Height="100" Name="grdHeader">
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="#FFDDE9FF" Offset="0" />
                    <GradientStop Color="#FFA8C7E9" Offset="1" />
                    <GradientStop Color="#FFE3EDFF" Offset="0.198" />
            <sdk:Label Height="55" HorizontalAlignment="Left" Margin="12,19,0,0" Name="lblHeader" VerticalAlignment="Top" Width="381" FontFamily="EucrosiaUPC" FontSize="56" Content="ALL TIME MOVIES" Cursor="Arrow" FontWeight="Bold" />
            <HyperlinkButton Content="Members Login" Height="25" Margin="636,11,0,0" Name="lnkLogin" VerticalAlignment="Top" FontFamily="Calibri (Body)" FontSize="12" FontWeight="Bold" FontStretch="Normal" FontStyle="Normal" HorizontalAlignment="Left" Width="115" />
            <HyperlinkButton Content="Join" Height="23" HorizontalAlignment="Left" Margin="762,11,0,0" Name="lnkJoin" VerticalAlignment="Top" Width="100" FontFamily="Calibri (Body)" FontSize="12" FontWeight="Bold" AllowDrop="False" />
            <sdk:Label Height="36" HorizontalAlignment="Left" Margin="751,11,0,0" Name="lblSlash" VerticalAlignment="Top" Width="32" Content="/" FontWeight="Bold" />
            <TextBox Height="24" HorizontalAlignment="Left" Margin="638,32,0,0" Name="txtUserId" VerticalAlignment="Top" Width="171" Background="#FFD3DDE5" />
            <TextBox Height="24" HorizontalAlignment="Left" Margin="638,63,0,0" Name="txtPassword" VerticalAlignment="Top" Width="171" Background="#FFD3DDE5" />
            <Button Content="Login" Height="24" HorizontalAlignment="Left" Margin="819,32,0,0" Name="btnLogin" VerticalAlignment="Top" Width="70" />
            <HyperlinkButton Content="Forgot Password?" FontFamily="Calibri (Body)" FontSize="12" FontStretch="Normal" FontStyle="Normal" FontWeight="Bold" Height="25" Margin="819,63,0,0" Name="lblFrgtPwd" VerticalAlignment="Top" />


Back to Top