VisualStyleRenderer Methods

VisualStyleRenderer Methods

 

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodDrawBackground(IDeviceContext, Rectangle)

Draws the background image of the current visual style element within the specified bounding rectangle.

System_CAPS_pubmethodDrawBackground(IDeviceContext, Rectangle, Rectangle)

Draws the background image of the current visual style element within the specified bounding rectangle and clipped to the specified clipping rectangle.

System_CAPS_pubmethodDrawEdge(IDeviceContext, Rectangle, Edges, EdgeStyle, EdgeEffects)

Draws one or more edges of the specified bounding rectangle.

System_CAPS_pubmethodDrawImage(Graphics, Rectangle, Image)

Draws the specified image within the specified bounds.

System_CAPS_pubmethodDrawImage(Graphics, Rectangle, ImageList, Int32)

Draws the image from the specified ImageList within the specified bounds.

System_CAPS_pubmethodDrawParentBackground(IDeviceContext, Rectangle, Control)

Draws the background of a control's parent in the specified area.

System_CAPS_pubmethodDrawText(IDeviceContext, Rectangle, String)

Draws text in the specified bounds using default formatting.

System_CAPS_pubmethodDrawText(IDeviceContext, Rectangle, String, Boolean)

Draws text in the specified bounds with the option of displaying disabled text.

System_CAPS_pubmethodDrawText(IDeviceContext, Rectangle, String, Boolean, TextFormatFlags)

Draws text in the specified bounding rectangle with the option of displaying disabled text and applying other text formatting.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetBackgroundContentRectangle(IDeviceContext, Rectangle)

Returns the content area for the background of the current visual style element.

System_CAPS_pubmethodGetBackgroundExtent(IDeviceContext, Rectangle)

Returns the entire background area for the current visual style element.

System_CAPS_pubmethodGetBackgroundRegion(IDeviceContext, Rectangle)

Returns the region for the background of the current visual style element.

System_CAPS_pubmethodGetBoolean(BooleanProperty)

Returns the value of the specified Boolean property for the current visual style element.

System_CAPS_pubmethodGetColor(ColorProperty)

Returns the value of the specified color property for the current visual style element.

System_CAPS_pubmethodGetEnumValue(EnumProperty)

Returns the value of the specified enumerated type property for the current visual style element.

System_CAPS_pubmethodGetFilename(FilenameProperty)

Returns the value of the specified file name property for the current visual style element.

System_CAPS_pubmethodGetFont(IDeviceContext, FontProperty)

Returns the value of the specified font property for the current visual style element.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetInteger(IntegerProperty)

Returns the value of the specified integer property for the current visual style element.

System_CAPS_pubmethodGetMargins(IDeviceContext, MarginProperty)

Returns the value of the specified margins property for the current visual style element.

System_CAPS_pubmethodGetPartSize(IDeviceContext, Rectangle, ThemeSizeType)

Returns the value of the specified size property of the current visual style part using the specified drawing bounds.

System_CAPS_pubmethodGetPartSize(IDeviceContext, ThemeSizeType)

Returns the value of the specified size property of the current visual style part.

System_CAPS_pubmethodGetPoint(PointProperty)

Returns the value of the specified point property for the current visual style element.

System_CAPS_pubmethodGetString(StringProperty)

Returns the value of the specified string property for the current visual style element.

System_CAPS_pubmethodGetTextExtent(IDeviceContext, Rectangle, String, TextFormatFlags)

Returns the size and location of the specified string when drawn with the font of the current visual style element within the specified initial bounding rectangle.

System_CAPS_pubmethodGetTextExtent(IDeviceContext, String, TextFormatFlags)

Returns the size and location of the specified string when drawn with the font of the current visual style element.

System_CAPS_pubmethodGetTextMetrics(IDeviceContext)

Retrieves information about the font specified by the current visual style element.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodHitTestBackground(Graphics, Rectangle, Region, Point, HitTestOptions)

Returns a hit test code indicating whether the point is contained in the background of the current visual style element and within the specified bounds.

System_CAPS_pubmethodHitTestBackground(IDeviceContext, Rectangle, IntPtr, Point, HitTestOptions)

Returns a hit test code indicating whether the point is contained in the background of the current visual style element and within the specified region.

System_CAPS_pubmethodHitTestBackground(IDeviceContext, Rectangle, Point, HitTestOptions)

Returns a hit test code indicating whether a point is contained in the background of the current visual style element.

System_CAPS_pubmethodIsBackgroundPartiallyTransparent()

Indicates whether the background of the current visual style element has any semitransparent or alpha-blended pieces.

System_CAPS_pubmethodSystem_CAPS_staticIsElementDefined(VisualStyleElement)

Determines whether the specified visual style element is defined by the current visual style.

System_CAPS_pubmethodSetParameters(String, Int32, Int32)

Sets this VisualStyleRenderer to the visual style element represented by the specified class, part, and state values.

System_CAPS_pubmethodSetParameters(VisualStyleElement)

Sets this VisualStyleRenderer to the visual style element represented by the specified VisualStyleElement.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show:
© 2016 Microsoft