Chanhong's Program Blog

  • 홈
  • 태그
  • 방명록

한글입력 1

[WPF] TextBox 에 한글 입력, UpdateSourceTrigger 가 바로 안될때

private void TextBox_PreviewTextInput(object sender, TextCompositionEventArgs e){ var textBox = sender as TextBox; if (textBox != null) { var bindingExpression = textBox.GetBindingExpression(TextBox.TextProperty); bindingExpression?.UpdateSource(); // 수동으로 바인딩 업데이트 }} Text 가 입력될때마다 강제 업데이트할 수 있다.

카테고리 없음 2024.08.29
이전
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, binding error, shadow, 특수문자 깨짐, busyindicator, windows.data error 4, popup, changepropertyaction, verticalcontentalignment, pgAdmin4, windowchrome, cancellationtokensource, Postgre, 한글 분리, PostgreSQL, load view, TextBox, horizontalcontentalignment, WPF, continuewith,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바