C#/MAUI
-
[MAUI] StylesC#/MAUI 2022. 11. 4. 16:15
Styles.xaml -기본 스타일값 지정된 xaml 파일. Colors.xaml -기본 컬러값 지정된 xaml 파일. CalcDictionary.xaml ( ResourceDictionary.xaml ) -사용자 지정 xaml 파일. CalcView.xaml -ContentPage.xaml (표현하는 View) App.xaml에 사용자 정의한 스타일 xaml 파일 추가 **순서중요** -추가한 순서대로 스타일 순차 적용. 위처럼 추가된 스타일 파일(CalcDictionary.xaml)에 정의된 스타일 값은 기본값 스타일(Styles.xaml)의 AppThemeBinding을 무시하고 Light테마 Dark테마 상관없이 디폴트(Light)값으로 적용됨. ( 테마 모드에 따른 스타일 변화를 프로퍼티 별로 ..
-