Version

DrawCache Class Members

The following tables list the members exposed by DrawCache.

Public Constructors
 NameDescription
Public ConstructorDrawCache ConstructorOverloaded.   
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)MaxCachedFontsGets or sets teh maximum number of fonts that can be cached during a single paint operation.  
Public Methods
 NameDescription
Public MethodDisposeCleans up (disposes) the cached resources  
Public MethodDrawArrowIndicatorDraws the arrow for a scroll button, dropdown button, etc.  
Public MethodDrawOffice2010ArrowIndicatorDraws the arrow for a scroll button, dropdown button, etc.  
Public MethodDrawXPStyleArrowIndicatorDraws a Windows XP-style arrow for a scroll button, dropdown button, etc.  
Public Methodstatic (Shared in Visual Basic)GetButtonImageOffsetOverloaded. Determines how much the image should be offset based on the button type, state and style.  
Public Methodstatic (Shared in Visual Basic)GetButtonTextOffsetOverloaded. Determines how much the text should be offset based on the button type, state and style.  
Protected Methods
 NameDescription
Protected MethodFinalizeFinalizer  
See Also