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

FilterControl.GetClauseImageByType(ISkinProvider, String) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public static Image GetClauseImageByType(
    ISkinProvider skinProvider,
    string sType
)

Parameters

Name Type Description
skinProvider DevExpress.Skins.ISkinProvider

A UserLookAndFeel object that specifies a skin for which clause icons should be retrieved.

sType String

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

Returns

Type Description
Image

An Icon 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