Window는 컨텐츠용 차일드를 하나만 포함할 수 있다. 다행히 WPF에서는 여러 개의 차일드를 적절히 배치해주는 Panel 계열 클래스를 제공하기 때문에 Panel 객체를 Window의 차일드로 사용함으로써 다양한 화면…
XAML Resource는 Brush, Style, Font, Image 등의 XAML object를 말한다. 한번 정의된 Resource는 XAML 코드에서 재사용할 수 있다. (참고로 프로젝트에 별도로 추가되는 이미지 파일같은…
Panel 클래스를 이용하여 큰 레이아웃을 정한 다음에는 컨트롤을 왼쪽으로 붙일지, 가운데에 맞출지, 간격은 얼마나 띄울지 등의 미세 조정이 필요하다.
언제부터인가 파일 탐색기가 자동으로 Refresh되면서 스크롤이 맨 위로 올라가는 문제가 생겼다. 그런데 Refresh되는 빈도가 너무 잦아서 일이 안될 정도였다.
구글링을 해보니 ‘ Automatically Pick an Accent Color from my Background’ 기능을 끄라고 한다. 한글 메뉴로는 설정 -> 개인설정 -> 색 -> ‘자동으로 내 배경 화면에서 테마 컬러 선택’ 이다.
미디엄은 한글 폰트가 참 구리다. 20년 전 아래아한글97 느낌이다.
WPF App이 언제 종료될 수 있는지에 대한 조건을 ShutdownMode 속성에 명시한다. 이 속성은 다음 3가지 값을 가질 수 있다.
<Application x:Class="WpfApp2.App"…