728x90
728x170

 

SearchControl 의 ButtonClick 이벤트에서 Search 버튼에 대한 이벤트를 처리하려면

ButtonPressedEventArgs 인자로 들어온 e 값에서 구분할수 있다.

 

if (e.Button.Kind == ButtonPredefines.Search) ..

 

 

Clear 버튼에 대한 이벤트를 처리하려면

 

if (e.Button.Kind == ButtonPredefines.Clear) ..

 

SearchControl 의 Button Event 에서는 기본적으로 두 버튼에 대해 이벤트가 처리된다.

 

728x90
그리드형
Posted by kjun
,