파노라마 컨트롤 제목을 잠글 수있는 방법이있어서 페이지가 전환 될 때 슬라이드가 움직이지 않습니까? 대신 그 자리에 남아 있습니까?파노라마 잠금 제목/이미지
1
A
답변
2
아마도 2 줄의 눈금 안에 파노라마를 배치 할 것입니다. 첫 번째 행에는 텍스트, 이미지 또는 정적으로 유지하려는 모든 것을 포함 할 수 있습니다. 그런 다음 파노라마 컨트롤을 두 번째 행 안에 배치합니다. 이 체크 아웃 :
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Image x:Name="Logo" Grid.Row="0"/>
<controls:Panorama Grid.Row="1" Margin="0,-60,0,0">
<controls:Panorama.Title><Rectangle Height="60"/></controls:Panorama.Title>
...
</controls:Panorama>
</Grid>
0
난 당신이 올바르게 파노라마에 대한 paralax 제목 층을 원하지 않는 이해합니다.
<Style x:Key="NonParalaxPanorama" TargetType="controls:Panorama">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:Panorama">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<local:NoParalaxBackgroundLayer x:Name="BackgroundLayer"
HorizontalAlignment="Left" Grid.RowSpan="2">
<Border x:Name="background"
Background="{TemplateBinding Background}"
CacheMode="BitmapCache"/>
</local:NoParalaxBackgroundLayer>
<local:NoParalaxTitleLayer x:Name="TitleLayer"
CacheMode="BitmapCache"
ContentTemplate="{TemplateBinding TitleTemplate}"
Content="{TemplateBinding Title}"
FontSize="187"
FontFamily="{StaticResource PhoneFontFamilyLight}"
HorizontalAlignment="Left"
Margin="10,-76,0,9" Grid.Row="0"/>
<controlsPrimitives:PanningLayer x:Name="ItemsLayer"
HorizontalAlignment="Left" Grid.Row="1">
<ItemsPresenter x:Name="items"/>
</controlsPrimitives:PanningLayer>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<controls:Panorama Style="{StaticResource NonParalaxPanorama}">
</controls:Panorama>
관련 문제
- 1. 파노라마 페이지에서 사용자 컨트롤을위한 파노라마 배경 설정
- 2. HTML5 파노라마
- 3. 파노라마 항목을 파노라마 제목에 더 가까이 이동하는 방법
- 4. 기본 창처럼 파노라마 시작 애니메이션을 만드는 방법 전화 파노라마 앱
- 5. WP7.5 파노라마 페이지의 AppBar
- 6. 파노라마 이미지 스티칭
- 7. HTML5 캔버스 파노라마 효과
- 8. 파노라마 핫스팟 구현
- 9. 파노라마 컨트롤 패닝 문제
- 10. bbc 베타 파노라마 jquery가있는
- 11. 파노라마 사진 결과를 테스트하십시오.
- 12. 파노라마 페이지의보기 모델 수
- 13. 자바 스크립트 360도 파노라마
- 14. 파노라마 배경 이미지가 흐림
- 15. Windows Phone 파노라마 대문자?
- 16. 파노라마 제목 바인딩
- 17. 이미지 파노라마 안드로이드에서
- 18. 360도 구형 파노라마
- 19. 스트리트 뷰 파노라마 완전히 회색
- 20. Yandex 파노라마 이미지를 얻는 방법
- 21. 파노라마 사진은 Android에서 하위보기로 표시됩니다.
- 22. 안드로이드 환경에서 파노라마 이미지 조작
- 23. Three.js 파노라마 이상한 캔버스로 렌더링
- 24. 사파리 HTML5 파노라마 제작을위한 자습서?
- 25. 3D 소프트웨어에서 "구형"파노라마 생성
- 26. HDR 및 파노라마 : 어디서 배울지
- 27. .Net에서 잠금 행 잠금
- 28. 잠금
- 29. 화면 잠금 및 잠금 해제
- 30. ldap - 계정 잠금/잠금 해제
이 거의 작업이 좋겠처럼 보이지만, 파노라마의 배경은 아래에서 아래로 밀어하지 얻을 것이다 :
그리고 스타일을 :
그렇다면,이 시도 심벌 마크. 이 방법은 행 정의 없이도 작동하는 것처럼 보입니다. 그렇죠? –
파노라마에 네비게이션 TOP MARGIN을 적용 할 수 있습니다. 내 대답을 업데이트 할게. – loyalpenguin