Hello i am trying to have a Grid that is always visible even when the user is scrolling in the application. This will allow me to always so information to my user, its a bit like a mini player instead i am showing information.
I would like to always have the Orange Grid visible when scroll, i tried using the popup control but this didn't seem to do the trick. Does anyone have an idea how i could do this? And on how i could create the transition?
First Page
what i would like when I scroll in the first page:
Here is my code:
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="100" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid
Background="Red"
Row="0" />
<Grid
Background="Blue"
Row="1">
<ScrollViewer
x:Name="scrollviewer"
HorizontalScrollBarVisibility="Visible"
HorizontalScrollMode="Enabled"
VerticalScrollBarVisibility="Disabled"
VerticalScrollMode="Disabled"
ZoomMode="Disabled"
>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid
Width="600"
Background="Chartreuse"
Column="0">
<Popup IsOpen="True" VerticalOffset="300" HorizontalOffset="10">
<Popup.Transitions>
<TransitionCollection>
<PopupThemeTransition />
</TransitionCollection>
</Popup.Transitions>
<Grid
Height="281"
Width="498"
Background="DarkOrange"
/>
</Popup>
</Grid>
<Hub Grid.Column="1">
<HubSection>
<DataTemplate>
<Grid
Height="700"
Width="400"
Background="IndianRed" />
</DataTemplate>
</HubSection>
<HubSection>
<DataTemplate>
<Grid
Height="700"
Width="400"
Background="LightBlue" />
</DataTemplate>
</HubSection>
<HubSection>
<DataTemplate>
<Grid
Height="700"
Width="400"
Background="DarkOrange" />
</DataTemplate>
</HubSection>
<HubSection>
<DataTemplate>
<Grid
Height="700"
Width="400"
Background="HotPink" />
</DataTemplate>
</HubSection>
</Hub>
</Grid>
</ScrollViewer>
</Grid>
</Grid>