Grids, RowDefinitions, and Settings Popups RRS feed

  • Question

  • I have a page with the following Grid:
    <Grid x:Name="grdLayout" HorizontalAlignment="Center" VerticalAlignment="Center">
    		<RowDefinition Height="Auto"/>
    		<RowDefinition Height="*"/>
    		<RowDefinition Height="Auto"/>
    		<ColumnDefinition Width="Auto"/>
    		<ColumnDefinition Width="*"/>
    		<ColumnDefinition Width="Auto"/>

    I include a Popup for my Settings, which I placed as a child of the Grid with a RowSpan and ColumnSpan of 3, and then set the HorizontalOffset. However, because the Grid will not always cover the entire height of the screen, how can I calculate the VerticalOffset and height for the Popup? Thanks.

    Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

    Monday, June 30, 2014 2:35 AM


  • if you place the popup over the whole page isn't it easier to go to another page?

    the size of your app you can get by : Window.Current.CoreWindow.Bounds

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Monday, June 30, 2014 5:30 AM