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.v19.1.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
sType | String | A String value that specifies the menu item caption. |
Returns
Type | Description |
---|---|
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