Version

UIElementDrawParams Constructor

Constructor
Syntax
'Declaration
 
Public Function New( _
   ByVal element As UIElement, _
   ByVal drawCache As DrawCache, _
   ByVal invalidRect As Rectangle, _
   ByRef appearanceData As AppearanceData, _
   ByVal textNeedsClipping As Boolean, _
   ByVal usesThemes As Boolean, _
   ByVal forceDrawAsFocused As Boolean, _
   Optional ByVal zoomFactor As Single _
)
public UIElementDrawParams( 
   UIElement element,
   DrawCache drawCache,
   Rectangle invalidRect,
   ref AppearanceData appearanceData,
   bool textNeedsClipping,
   bool usesThemes,
   bool forceDrawAsFocused,
   float zoomFactor
)

Parameters

element
The element to draw
drawCache
The object that caches resources needed during a drawing operation
invalidRect
The invalidate area
appearanceData
Appearance data to start with
textNeedsClipping
For print runs whether we need to clip the text
usesThemes
True if the elements will be allowed to render using the system theme.
forceDrawAsFocused
If true, the element will be drawn with a focus rect if DrawsFocusRect is true, regardless of whether its parent control has input focus.
zoomFactor
The zooming factor
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also