일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- listview
- typescript
- Binding
- db
- GitHub
- 바인딩
- MS-SQL
- 오류
- 파이어베이스
- Firebase
- spring boot
- HTML
- React JS
- Flutter
- Maui
- AnimationController
- MVVM
- 리엑트
- 닷넷
- JavaScript
- 깃허브
- 자바스크립트
- 마우이
- Animation
- page
- 플러터
- MSSQL
- 함수
- .NET
- 애니메이션
Archives
- Today
- Total
개발노트
26. [.NET MAUI] xaml에서 컨트롤 맨 앞으로 보내기 본문
반응형
xaml에 작성된 Control들을 맨앞으로, 맨뒤로 자유롭게 우선순위를 둬서 보여지게하고 싶다면 ZIndex를 사용하면된다.
숫자가 클수록 앞에 위치하게되며 모든 컨트롤에서 사용가능하다.
- 참고링크: https://www.syncfusion.com/blogs/post/handling-overlay-elements-in-net-maui-with-zindex.aspx
Handling Overlay Elements in .NET MAUI with ZIndex | Syncfusion Blogs
In the .NET MAUI Preview 12 release, the ZIndex property was introduced to handle overlay elements in the view. Here’s all you need to know about the ZIndex property.
www.syncfusion.com
2번째로 작성된 skiaLSKLottieView 가 ZIndex ="3"으로 제일 큰 값을 갖기 때문에 가장 앞에 위치,
1번째로 작성된 skiaLSKLottieView 가 ZIndex ="2"로 그 다음,
StackLayOut 이 ZIndex ="1"으로 가장 작은 값을 갖기 때문에 가장 뒤에 위치한다.
반응형
'앱 개발 > .NET MAUI' 카테고리의 다른 글
28. [.NET MAUI] xaml에서 BackgroundColor 다크 모드, 라이트 모드일 때 Color 지정하기 (1) | 2022.09.22 |
---|---|
27. [.NET MAUI] 시간제한 화면 만들기(Stopwatch사용) (0) | 2022.09.21 |
25. [.NET MAUI] AudioPlayer 로 소리 재생하기 (0) | 2022.09.15 |
24. [.NET MAUI] IMultiValueConverter 사용하기(CommandParameter 에MultiBinding 하기) (0) | 2022.09.14 |
23. [.NET MAUI] ObservationCollection의 Item랜덤하게 가져오기(with Random) (0) | 2022.08.31 |
Comments