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

FilterControl.GetAggregateSvgImageByType(String) Method

Returns a default SVG image used by an aggregate filter menu item (see the FilterControl.AllowAggregateEditing property).

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public static SvgImage GetAggregateSvgImageByType(
    string sType
)

Parameters

Name Type Description
sType String

A String value that specifies the menu item caption.

Returns

Type Description
DevExpress.Utils.Svg.SvgImage

An SvgImage object that is the aggregate filter menu item image.

Remarks

The code below retrieves all default menu item icons and saves them to a sample SvgImageCollection object.


svgImageCollection1.Clear();
svgImageCollection1.Add(FilterControl.GetAggregateSvgImageByType("Avg"));
svgImageCollection1.Add(FilterControl.GetAggregateSvgImageByType("Count"));
svgImageCollection1.Add(FilterControl.GetAggregateSvgImageByType("Exists"));
svgImageCollection1.Add(FilterControl.GetAggregateSvgImageByType("Max"));
svgImageCollection1.Add(FilterControl.GetAggregateSvgImageByType("Min"));
svgImageCollection1.Add(FilterControl.GetAggregateSvgImageByType("Sum"));
See Also