Version

UIElementDrawParams Structure Methods

For a list of all members of this type, see UIElementDrawParams members.

Public Methods
 NameDescription
Public MethodAdjustForDrawingOverloaded. Helper method that adjust the rectangle for drawing by adjusting it for right to left and zooming.  
Public MethodAdjustForRightToLeftTakes a rectangle relative to the UIElement and adjusts it for RightToLeft, if needed.  
Public MethodAdjustForZoomingOverloaded. Adjusts the rectangle based on the drawParams' zoom factor.  
Public MethodCreateHatchBrushCreates a System.Drawing.Drawing2D.HatchBrush with the specified colors adjusted based on the alpha settings  
Public MethodCreateSolidBrushCreates a System.Drawing.SolidBrush with specified color adjusted based on the alpha settings  
Public MethodDrawArrowIndicatorOverloaded. Draws the arrow for a scroll button, dropdown button, etc.  
Public MethodDrawBackColorOverloaded. Fills back color into a supplied rect (based on the current appearance settings.  
Public MethodDrawBordersOverloaded. Draws the borders around the current element.  
Public MethodDrawButtonBordersOverloaded. Draws button borders around the element.  
Public MethodDrawButtonRegionRenders button borders using the specified ImageRegion  
Public MethodDrawCheckBoxOverloaded. Renders a checkbox into the Graphics object using the current alphablend settings.  
Public MethodDrawFocusRectangleOverloaded. Draws a focus rectangle within the bounds of the element's borders.  
Public MethodDrawImageOverloaded. Renders the specified image on the graphics object.  
Public MethodDrawImageBackgroundOverloaded. Renders the ImageBackground for the current Element  
Public MethodDrawMixedCheckBoxOverloaded. Renders a checkbox into the Graphics object using the current alphablend settings.  
Public MethodDrawOffice2010ArrowIndicatorDraws the arrow for a scroll button, dropdown button, etc.  
Public MethodDrawRadioButtonOverloaded. Renders a radion/option button into the Graphics object using the current alphablend settings.  
Public MethodDrawStringDraws textToRender in specified rectangle.  
Public MethodDrawZoomedImageRenders and scales the specified image in the center of the graphics object.  
Public MethodGetAlphaBlendColorReturns a color with a modified Alpha channel based on whether AlphaBlending is supported and the current DrawPhaseAlphaLevel  
Public Methodstatic (Shared in Visual Basic)GetGlyphSizeOverloaded. Attempts to determine the glyph size for an element by walking up the parent chain and looking for the editor element or the ControlElement and calling GetGlyphInfo.  
Public MethodGetPenReturns a cached pen of the requested type. This pen should not be disposed of. It will be cleaned up eventually when the dispose method of this class is called.  
Public MethodInitUIElementThis method is used internally to initialize the UIElementDrawParams when rendering a specific element.  
Public MethodMirrorPointIfNeededOverloaded. Takes a point and mirrors it with respect to the UIElement if the interior of the element is RightToLeft.  
Public Methodstatic (Shared in Visual Basic)MirrorRectTakes a rectangle and mirrors it with respect to the parent rect.  
Public MethodMirrorRectIfNeededOverloaded. Takes a rectangle and mirrors it with respect to the UIElement if the interior of the element is RightToLeft.  
See Also