HighTechTalks DotNet Forums  

How can i make Refresh(rerender) on control in wpf?

Dotnet Framework microsoft.public.dotnet.framework


Discuss How can i make Refresh(rerender) on control in wpf? in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Poly
 
Posts: n/a

Default How can i make Refresh(rerender) on control in wpf? - 12-27-2007 , 04:53 AM






I have custom control, with my own render function, but i don't know how
to make my control to Refresh itself?

Reply With Quote
  #2  
Old   
bern11
 
Posts: n/a

Default Re: How can i make Refresh(rerender) on control in wpf? - 12-28-2007 , 06:49 AM







If you just want to it redraw itself, call the Invalidate method with no
arguments. The whole thing will redraw.

Poly wrote:
Quote:
I have custom control, with my own render function, but i don't know how
to make my control to Refresh itself?

Reply With Quote
  #3  
Old   
Poly
 
Posts: n/a

Default Re: How can i make Refresh(rerender) on control in wpf? - 12-28-2007 , 09:28 AM



It works. Thnks.

Quote:
If you just want to it redraw itself, call the Invalidate method with no
arguments. The whole thing will redraw.

Poly wrote:
I have custom control, with my own render function, but i don't know how
to make my control to Refresh itself?

--
___________
best regards
Poly


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.