Skip to main content
All docs
V24.1

TileCustomDrawEventArgs Members

A base class with arguments for events that draw tiles.

Constructors

Name Description
TileCustomDrawEventArgs(TileControlInfoArgs, TileItemViewInfo) Initializes a new instance of the TileCustomDrawEventArgs class with specified settings.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
Appearance Gets appearance settings for the painted tile.
Bounds Gets or sets tile bounds.
Cache Gets an object that stores the most used pens, fonts, and brushes.
DefaultSelectionBounds Gets the default bounds of the selection rectangle.
DefaultSelectionColor Gets the default color of the selection rectangle.
DefaultSelectionWidth Gets the default thickness of the selection rectangle.
Handled Gets or sets whether to skip the default painting.
IsDisabled Gets the disabled state of the processed tile.
IsHovered Gets the hovered state of the processed tile.
IsSelected Gets the selection state of the processed tile.
Item Gets the processed tile.
ShouldDrawBackground Gets whether the tile should display a background.
ShouldDrawBorder Gets whether the tile should display a border.
ShouldDrawCheckMark Gets whether the tile should display a check mark.
ShouldDrawContent Gets whether the tile should display content.
ShouldDrawDisabledOverlay Gets whether the tile should display a disabled overlay.
ShouldDrawHoveredOverlay Gets whether the tile should display a hovered overlay.

Methods

Name Description
DefaultDraw() Draws the processed tile element in its default appearance.
DrawBackground() Draws the tile background in its default appearance.
DrawBorder() Draws the tile border in its default appearance.
DrawCheckMark() Draws the tile check mark in its default appearance.
DrawContent() Draws tile content in its default appearance.
DrawDisabledOverlay() Draws the overlay for the disabled state in its default appearance.
DrawHoveredOverlay() Draws the overlay for the hovered state in its default appearance.
DrawHtml(HtmlTemplate, DxHtmlPainterContext, Action<DxHtmlPainterArgs>) Paints the specified HTML template inside the processed tile element. The context parameter allows you to assign an object that transfers mouse events to template elements.
DrawHtml(HtmlTemplate, Action<DxHtmlPainterArgs>) Paints the specified HTML template inside the processed tile element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also