Chanhong's Program Blog

  • 홈
  • 태그
  • 방명록

XAML 1

[WPF] Behavior 를 이용하여 xaml 에서 값 변경하기

평소 Behavior 를 이용해서 ViewModel 에서 MouseDown 혹은 Loaded 이벤트들을 받아서 처리하였는데이외에도 여러가지를 지원하는 것 같다. 최근 알아낸것은.. Button 을 클릭하면 xaml 에서 ToggleButton 의 IsChecked 를 변경하는 것을 시도하던 중 알아냈다.  b: 는 Behavior 를 사용하는 xmlns 이름이다.Interaction.Triggers - EventTrigger : EventName  - ChangePropertyAction : TargerObject, PropertyName, Value를 이용하여 변경이 가능하다.xaml 에서 할 수 있는 것을 하나하나 ..

WPF 2024.07.12
이전
1
다음
더보기
프로필사진

Chanhong's Program Blog

나만의 개발 블로그

  • 분류 전체보기 (34)
    • IDE (1)
      • Visual Studio (1)
    • WPF (21)
    • 통신 (0)
      • Serial (0)
      • HSMS (0)
      • Linux (0)
      • Mitsubishi PLC (0)
      • Simens PLC (0)
      • Socket (0)
      • OPCUA (0)
      • RestAPI (0)
    • 정보 공유 (3)
      • Nuget (3)
      • 프리웨어 (0)
    • SQL (3)
      • Postgre (2)

Tag

한글 분리, entityframeworkcore, PostgreSQL, cancellationtokensource, changepropertyaction, verticalcontentalignment, windows.data error 4, busyindicator, Postgre, binding error, horizontalcontentalignment, WPF, windowchrome, shadow, continuewith, TextBox, pgAdmin4, 특수문자 깨짐, popup, load view,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바