https://charlesk.tistory.com/55 [XAML or HTML] Trigger 해당 control의 속성status에 따라 Property가 변경되는 Trigger Multi Trigger 조건을 다수 사용하여 AND관계를 정의하는 Trigger 멀티트리거는 논리곱(AND)이며 정의된 모든 Condition이 참일 때 트리거가 호출됨. Event Trigger 특정 이벤트가 발생했을 때 호출되는 Trigger 스토리보드를 사용하기 때문에 트리거를 취소하려면 이전 트리거에 반하는 또는 그에 준하는 트리거를 추가해야 함 Data Trigger Binding 문법으로 연결된 Control의 Property 가 특정 데이타일 경우에 호출되는 Trigger Multi Data Trigger 조..
ScrollViewer ScrollViewer Style Template 구조 Grid └ ScrollContentsPresenter └ ScrollBar (Horizontal) └ ScrollBar (Vertical) ScrollViewer 주요 속성 (더 자세한 내용- ScrollViewer properties) PropertyDescription ComputedHorizontalScrollBarVisibility 가로 Scrollbar의 표시여부를 설정하는 Property ComputedVerticalScrollBarVisibility 세로 Scrollbar의 표시여부를 설정하는 Property CanContentScroll 논리 단위(Item)로 스크롤이 될것인지(true) 물리단위로 스크롤될것인..
ListBox 선택 가능한항목의 리스트 Control ListBox Style Template 구조 Border └ ScrollViewer └ ItemsPresenter (ListBoxItem의 설정값을 가져옴) ListBoxItem주요 속성 (더 자세한 내용- ListboxItem properties) IsSelected 해당항목의 선택여부를 설정하는 Property ListView 데이터 항목 목록을 표시하는 Control Header가 있다. (ListBox와 차이점) ListView Style Template 구조 Border └ ScrollViewer └ ItemsPresenter (ListViewItem의 설정값을 가져옴) GridViewColumnHeader (Header 스타일) └ Con..
Label 일반적으로 control에 대한 설명을 제공하는데 사용함 (Text) TextBlock 문자를 포함하는 Control의 가장 작은 단위 Content로 사용되며, 작은양의 유동 Contents를 표시gka. Textblock의 주요 속성 (더 자세한 내용- Textblock properties) Foreground 글씨에 적용되는 색상을 설정하는 Property FontWeight 글씨의 두께를 설정하는 Property FontSize 글씨의 크기를 설정하는 Property FontFamily 글씨체를 설정하는 Property FontStyle 글씨 스타일을 설정하는 Property Value: Normal / Italic / Obilique Text 텍스트 컨텐츠를 가져오거나 설정하는 Pro..
Button 가장 보편적인 push button Button의 주요 속성 (더 자세한 내용- Button properties) IsMouseOver 마우스 포인터가 button 위에 있는지 여부를 나타내는 값 IsPressed 마우스 포인터가 button을 눌렀는지 여부를 나타내는 값 IsEnabled Button을 사용할 수 있는지 여부를 나타내는 값 Status별 Style을 적용할 때 Trigger Property에 활용 Toggle Button On/Off 개념이 있는 Button Toggle Button의 주요 속성 (더 자세한 내용- ToggleButton properties) IsMouseOver 마우스 포인터가 button 위에 있는지 여부를 나타내는 값 IsPressed 마우스 포인터가 ..
Border 테두리의 모양을 조절하는 Control 한개의 content만 가질 수 있음. 복수의 Control을 갖기 위해서는 Border의 내부 Content로 Grid, StackPanel등 적용해야함 Border의 주요 속성 Property Description Background 내부 영역을 채우는 색상 등을 설정하는 Property BorderBrush 외부 테두리 색을 설정하는 Property BorderThickness 외부 테두리의 두께를 설정하는 Property CornerRadius Border의 모퉁이의 둥근정도를 설정하는 Property Shape Shape 종류: Rectangle, Ellipse, Path, Line, Polygon, Polyline Shape 주요속성 Prop..