locked
viewing the contents of a frame during design time RRS feed

  • Question

  • Hi, I have trouble seeing the contents of my frame control during design time, i've placed several controls within my frame

    and need to move them around the artboard.

    i run my application and everything is there  but when i try to change some properties i only see a blank page with a header titled "Frame" at the top left corner of my frame control with none of the other controls visible.... i have a presentation this afternoon please help urgently.

    Terra.

    Friday, September 21, 2012 9:13 AM

All replies

  • Could you post your XAML?
    Friday, September 21, 2012 12:44 PM
  • <sdk:Frame x:Name="container"  Grid.Row="2" Grid.RowSpan="1" Margin="0,2,0,0">
        <sdk:Page x:Name="mainPage" >
         <StackPanel x:Name="holder" Orientation="Vertical">
          
          <Image Height="323" Source="Images/right1.jpg" Stretch="Fill" Margin="0"/>
          <StackPanel Orientation="Vertical" Margin="0,50,0,0" Height="866" Width="1009" HorizontalAlignment="Left" >
           <StackPanel Orientation="Horizontal" Height="309" OpacityMask="{StaticResource PEMS brush}">
            <i:Interaction.Behaviors>
             <ei:FluidMoveBehavior/>
             <ei:FluidMoveBehavior>
              <ei:FluidMoveBehavior.EaseY>
               <ElasticEase EasingMode="EaseOut"/>
              </ei:FluidMoveBehavior.EaseY>
              <ei:FluidMoveBehavior.EaseX>
               <ElasticEase EasingMode="EaseIn"/>
              </ei:FluidMoveBehavior.EaseX>
             </ei:FluidMoveBehavior>
            </i:Interaction.Behaviors>
            <StackPanel Orientation="Vertical" Margin="50,0,0,0">
            <sdk:Label VerticalAlignment="Center" Content="BR324 PEMS " FontFamily="Calibri" FontSize="21.333" HorizontalAlignment="Left" Foreground="#FF044D9F" Margin="11,0,0,0"/>
            <sdk:Label VerticalAlignment="Center"  Content="Project Execution Method Statement" FontFamily="Calibri" FontSize="14.667" HorizontalAlignment="Left" Foreground="#FF1A6CC8" Margin="11,0,0,0"/>
         
            <Image Source="Images/Letter-P-blue-icon.png" Stretch="Fill" Width="242" MouseLeave="Image_MouseLeave" HorizontalAlignment="Left" Cursor="Hand" MouseLeftButtonUp="Image_MouseLeftButtonUp">
             <i:Interaction.Triggers>
              <i:EventTrigger EventName="MouseEnter">
               <ei:ControlStoryboardAction Storyboard="{StaticResource PemsHover}" ControlStoryboardOption="Play"/>
              </i:EventTrigger>
              <i:EventTrigger EventName="MouseLeave">
               <ei:ChangePropertyAction PropertyName="Opacity" Value="1" TargetObject="{Binding ElementName=image}">
                <ei:ChangePropertyAction.Ease>
                 <BounceEase EasingMode="EaseIn"/>
                </ei:ChangePropertyAction.Ease>
               </ei:ChangePropertyAction>
              </i:EventTrigger>
             </i:Interaction.Triggers>
            </Image>
            </StackPanel>
            <Image x:Name="image" Source="Images/LandingPic.jpg" Stretch="Fill" Width="508" Margin="100,54,0,35"/>

           </StackPanel>
           <StackPanel Orientation="Horizontal" Height="309" OpacityMask="{StaticResource PEMS brush}">
            <i:Interaction.Behaviors>
             <ei:FluidMoveBehavior/>
             <ei:FluidMoveBehavior>
              <ei:FluidMoveBehavior.EaseY>
               <ElasticEase EasingMode="EaseOut"/>
              </ei:FluidMoveBehavior.EaseY>
              <ei:FluidMoveBehavior.EaseX>
               <ElasticEase EasingMode="EaseIn"/>
              </ei:FluidMoveBehavior.EaseX>
             </ei:FluidMoveBehavior>
            </i:Interaction.Behaviors>
            <StackPanel Orientation="Vertical" Margin="50,0,0,0">
             <sdk:Label VerticalAlignment="Center" Content="Study Guidelines " FontFamily="Calibri" FontSize="21.333" HorizontalAlignment="Left" Foreground="#FF044D9F" Margin="11,0,0,0"/>
             <sdk:Label VerticalAlignment="Center"  Content="BR324 PEMS Study Guide" FontFamily="Calibri" FontSize="14.667" HorizontalAlignment="Left" Foreground="#FF1A6CC8" Margin="11,0,0,0"/>
         
             <Image Source="Letter-S-grey-icon.png" Stretch="Fill" Width="242" MouseLeave="Image_MouseLeave" HorizontalAlignment="Left" Cursor="Hand">
              <i:Interaction.Triggers>
               <i:EventTrigger EventName="MouseEnter">
                <ei:ControlStoryboardAction Storyboard="{StaticResource studyGuide_enter}" ControlStoryboardOption="Play"/>
               </i:EventTrigger>
               <i:EventTrigger EventName="MouseLeave">
                <ei:ChangePropertyAction PropertyName="Opacity" Value="1" TargetObject="{Binding ElementName=image2}">
                 <ei:ChangePropertyAction.Ease>
                  <BounceEase EasingMode="EaseIn"/>
                 </ei:ChangePropertyAction.Ease>
                </ei:ChangePropertyAction>
               </i:EventTrigger>
              </i:Interaction.Triggers>
             </Image>
            </StackPanel>
            <Image x:Name="image2" Source="left1.jpg" Stretch="Fill" Width="508" Margin="100,54,0,35"/>

           </StackPanel>
           <StackPanel Orientation="Horizontal" Height="309" OpacityMask="{StaticResource PEMS brush}">
            <i:Interaction.Behaviors>
             <ei:FluidMoveBehavior/>
             <ei:FluidMoveBehavior>
              <ei:FluidMoveBehavior.EaseY>
               <ElasticEase EasingMode="EaseOut"/>
              </ei:FluidMoveBehavior.EaseY>
              <ei:FluidMoveBehavior.EaseX>
               <ElasticEase EasingMode="EaseIn"/>
              </ei:FluidMoveBehavior.EaseX>
             </ei:FluidMoveBehavior>
            </i:Interaction.Behaviors>
            <StackPanel Orientation="Vertical" Margin="50,0,0,0">
             <sdk:Label VerticalAlignment="Center" Content="BR324 PEMS " FontFamily="Calibri" FontSize="21.333" HorizontalAlignment="Left" Foreground="#FF044D9F" Margin="11,0,0,0"/>
             <sdk:Label VerticalAlignment="Center"  Content="Project Execution Method Statement" FontFamily="Calibri" FontSize="14.667" HorizontalAlignment="Left" Foreground="#FF1A6CC8" Margin="11,0,0,0"/>
         
             <Image Source="Letter-S-blue-icon.png" Stretch="Fill" Width="242" MouseLeave="Image_MouseLeave" HorizontalAlignment="Left" Cursor="Hand">
              <i:Interaction.Triggers>
               <i:EventTrigger EventName="MouseEnter">
                <ei:ControlStoryboardAction Storyboard="{StaticResource scope_enter}" ControlStoryboardOption="Play"/>
               </i:EventTrigger>
               <i:EventTrigger EventName="MouseLeave">
                <ei:ChangePropertyAction PropertyName="Opacity" Value="1" TargetObject="{Binding ElementName=image1}">
                 <ei:ChangePropertyAction.Ease>
                  <BounceEase EasingMode="EaseIn"/>
                 </ei:ChangePropertyAction.Ease>
                </ei:ChangePropertyAction>
               </i:EventTrigger>
              </i:Interaction.Triggers>
             </Image>
            </StackPanel>
            <Image x:Name="image1" Source="center.jpg" Stretch="Fill" Width="508" Margin="100,54,0,35"/>

           </StackPanel>
          </StackPanel>
         
         </StackPanel>
         </sdk:Page>
        </sdk:Frame>

    Wednesday, September 26, 2012 1:37 PM