Chanhong's Program Blog

  • 홈
  • 태그
  • 방명록

cancellationtokensource 1

[WPF] TextBox 값이 변할 때 마다 어떤 작업 실행 시 느려진다면

TextBox 에 Binding 한 string 값이 변할 때 마다 CollectionView Filter 를 주는 프로세스를 만들어 두었었다.그런데 TextBox 의 값이 빠르게 변하면 Filter 작업을 처리하면서 느려지는 현상이 발생했다.그래서 다음과 같은 작업을 처리했다. "Debounce 기능" - 일정 시간동안 연속해서 작업이 들어온 경우 모든 작업을 처리하지 않고 마지막 작업만 처리하도록 하는 기능  private string searchText = string.Empty; public string SearchText { get { return searchText; } set { searchText = value; OnPropertyChang..

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

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • 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.

티스토리툴바