Skip to main content
A newer version of this page is available.
All docs
V18.2

FilterControl.GetClauseImageByType(String, ISvgPaletteProvider) Method

Retrieves icons used by FilterControl for specific filtering clauses in the specific skin palette.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public static Image GetClauseImageByType(
    string sType,
    ISvgPaletteProvider provider
)

Parameters

Name Type Description
sType String

A String value that specifies the clause for which an icon needs to be returned.

provider DevExpress.Utils.Design.ISvgPaletteProvider

An ISvgPaletteProvider that colorizes SVG icons depending on the currently applied DevExpress skin.

Returns

Type Description
Image

An Image used by FilterControl for a given clause.

Remarks

The figure below illustrates three sample buttons with FilterControl clause icons.

FilterControl - Clause Images


simpleButton1.Image = FilterControl.GetClauseImageByType(this.LookAndFeel, "Equals");
simpleButton2.Image = FilterControl.GetClauseImageByType(this.LookAndFeel, "Less");
simpleButton3.Image = FilterControl.GetClauseImageByType(this.LookAndFeel, "Between");
See Also