HighTechTalks DotNet Forums  

SortArrow visual style problem

Dotnet Framework (Drawing) microsoft.public.dotnet.framework.drawing


Discuss SortArrow visual style problem in the Dotnet Framework (Drawing) forum.



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

Default SortArrow visual style problem - 11-20-2007 , 05:18 AM






I`m trying to draw column header`s sort arrow visual style using
VisualRenderer but I always geting exception 'Given combination of Class,
Part, and State is not defined by the current visual style'.

That`s my code:
VisualRenderer = new
VisualStyleRenderer(VisualStyleElement.Header.Sort Arrow.SortedDown);
VisualRenderer.GetPartSize(Graphics, ThemeSizeType.True));

Note that with other visual styles all fine.
Internet did`nt tell me where`s the problem...

Can anyone tell me what I missed ?

P.S. Win XP SP2, VS 2005 SP1, .NET 2.0

Thanks!


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

Default RE: SortArrow visual style problem - 11-26-2007 , 12:58 AM






So anybody did`nt get this problem ?

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.