The following tables list the members exposed by UIElementDrawParams.
Name | Description | |
---|---|---|
![]() | UIElementDrawParams Constructor | Constructor |
Name | Description | |
---|---|---|
![]() | AppearanceData | The appearance data structure for this element |
Name | Description | |
---|---|---|
![]() | AlphaBlendMode | Returns the current AlphaBlendMode |
![]() | BackBrush | The brush used to draw the back color (read-only) |
![]() ![]() | CheckBoxGlyphInfo | Determines how check boxes are drawn. |
![]() | ControlElement | The main control, top level element (read-only). |
![]() | DrawPhase | The current phase of the drawing operation (read-only). |
![]() | DrawPhaseAlphaLevel | Returns the alpha level that is operational based on the current phase of the drawing operation and the settings in AppearanceData. This will return a value between 0 and 255 (0 is transparent, 255 is completely opague). This property is read-only. |
![]() | Element | The UIElement (read-only). |
![]() | ElementDrawingClipRect | Gets the element's ClipRect taking RightToLeft into account. |
![]() | ElementDrawingRect | Gets the rectangle (taking RightToLeft into account) used during the element's rendering. |
![]() | ElementDrawingRectInsideBorders | Gets the element's RectInsideBorders taking RightToLeft into account. |
![]() | Font | Returns a font |
![]() | ForceDrawAsFocused | True if the element draws a focus rect even when its parent control does not have the input focus (read-only). |
![]() | Graphics | The graphics object (read-only) |
![]() | InvalidRect | The intersection of the original invalid rect, this element's rect and all of its parent rects (read-only). |
![]() | IsAlphaBlendingSupported | True if alpha blending is supported (read-only). |
![]() | IsDrawingTransition | Returns a boolean indicating if the element is being rendered as part of a transition. When true, elements should not perform any rendering operations. |
![]() ![]() | Office2007CheckBoxGlyphInfo | Returns the default CheckBoxGlyphInfo object for Office2007 CheckBox glyphs. |
![]() ![]() | Office2007RadioButtonGlyphInfo | Returns the default CheckBoxGlyphInfo object for Office2007 RadioButton glyphs. |
![]() ![]() | Office2010CheckBoxGlyphInfo | Returns the default CheckBoxGlyphInfo object for Office 2010 CheckBox glyphs using the current Office2010ColorTable.ColorScheme. |
![]() ![]() | Office2010RadioButtonGlyphInfo | Returns the default RadioButtonGlyphInfo object for Office 2010 RadioButton glyphs. |
![]() ![]() | Office2013CheckBoxGlyphInfo | Returns the default CheckBoxGlyphInfo object for Office 2013 CheckBox glyphs using the current Office2013ColorTable.ColorScheme. |
![]() ![]() | Office2013RadioButtonGlyphInfo | Returns the default RadioButtonGlyphInfo object for Office 2013 RadioButton glyphs. |
![]() ![]() | RadioButtonGlyphInfo | Determines how radio buttons are drawn. |
![]() | RightToLeft | Returns whether the drawing of the current element is RightToLeft. |
![]() ![]() | ScenicRibbonCheckBoxGlyphInfo | Returns the default CheckBoxGlyphInfo object for ScenicRibbon CheckBox glyphs. |
![]() ![]() | ScenicRibbonRadioButtonGlyphInfo | Returns the default RadioButtonGlyphInfo object for ScenicRibbon RadioButton glyphs. |
![]() ![]() | StandardCheckBoxGlyphInfo | Returns the default CheckBoxGlyphInfo object for standard CheckBox glyphs. |
![]() ![]() | StandardRadioButtonGlyphInfo | Returns the default CheckBoxGlyphInfo object for standard radio button glyphs. |
![]() | TextBrush | The brush used to draw text (read-only) |
![]() | TextRenderingMode | Returns the text rendering mode. Note that this can be Default, in which case the DrawUtility.UseGDIPlusTextRendering value. |
![]() | UsesThemes | True if the themes are supported (read-only). |
![]() | ZoomFactor | The zoom factor of the ControlUIElement. |
Name | Description | |
---|---|---|
![]() | AdjustForDrawing | Overloaded. Helper method that adjust the rectangle for drawing by adjusting it for right to left and zooming. |
![]() | AdjustForRightToLeft | Takes a rectangle relative to the UIElement and adjusts it for RightToLeft, if needed. |
![]() | AdjustForZooming | Overloaded. Adjusts the rectangle based on the drawParams' zoom factor. |
![]() | CreateHatchBrush | Creates a System.Drawing.Drawing2D.HatchBrush with the specified colors adjusted based on the alpha settings |
![]() | CreateSolidBrush | Creates a System.Drawing.SolidBrush with specified color adjusted based on the alpha settings |
![]() | DrawArrowIndicator | Overloaded. Draws the arrow for a scroll button, dropdown button, etc. |
![]() | DrawBackColor | Overloaded. Fills back color into a supplied rect (based on the current appearance settings. |
![]() | DrawBorders | Overloaded. Draws the borders around the current element. |
![]() | DrawButtonBorders | Overloaded. Draws button borders around the element. |
![]() | DrawButtonRegion | Renders button borders using the specified ImageRegion |
![]() | DrawCheckBox | Overloaded. Renders a checkbox into the Graphics object using the current alphablend settings. |
![]() | DrawFocusRectangle | Overloaded. Draws a focus rectangle within the bounds of the element's borders. |
![]() | DrawImage | Overloaded. Renders the specified image on the graphics object. |
![]() | DrawImageBackground | Overloaded. Renders the ImageBackground for the current Element |
![]() | DrawMixedCheckBox | Overloaded. Renders a checkbox into the Graphics object using the current alphablend settings. |
![]() | DrawOffice2010ArrowIndicator | Draws the arrow for a scroll button, dropdown button, etc. |
![]() | DrawRadioButton | Overloaded. Renders a radion/option button into the Graphics object using the current alphablend settings. |
![]() | DrawString | Draws textToRender in specified rectangle. |
![]() | DrawZoomedImage | Renders and scales the specified image in the center of the graphics object. |
![]() | GetAlphaBlendColor | Returns a color with a modified Alpha channel based on whether AlphaBlending is supported and the current DrawPhaseAlphaLevel |
![]() ![]() | GetGlyphSize | Overloaded. 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. |
![]() | GetPen | Returns 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. |
![]() | InitUIElement | This method is used internally to initialize the UIElementDrawParams when rendering a specific element. |
![]() | MirrorPointIfNeeded | Overloaded. Takes a point and mirrors it with respect to the UIElement if the interior of the element is RightToLeft. |
![]() ![]() | MirrorRect | Takes a rectangle and mirrors it with respect to the parent rect. |
![]() | MirrorRectIfNeeded | Overloaded. Takes a rectangle and mirrors it with respect to the UIElement if the interior of the element is RightToLeft. |