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

FilterControl.GetGroupSvgImageByType(String) Method

Retrieves the default SVG icon for an item within a menu that the FilterControl shows when end-users change group conditions.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public static SvgImage GetGroupSvgImageByType(
    string sType
)

Parameters

Name Type Description
sType String

A String value that specifies the button whose vector icon is to be retrieved.

Returns

Type Description
DevExpress.Utils.Svg.SvgImage

An SvgImage object that is the vector icon for the FilterControl group condition menu item.

Remarks

The code below populates a sample SvgImageCollection with group condition menu items.


svgImageCollection1.Clear();
svgImageCollection1.Add(FilterControl.GetGroupSvgImageByType("And"));
svgImageCollection1.Add(FilterControl.GetGroupSvgImageByType("Or"));
svgImageCollection1.Add(FilterControl.GetGroupSvgImageByType("NotAnd"));
svgImageCollection1.Add(FilterControl.GetGroupSvgImageByType("NotOr"));
svgImageCollection1.Add(FilterControl.GetGroupSvgImageByType("AddCondition"));
svgImageCollection1.Add(FilterControl.GetGroupSvgImageByType("AddGroup"));
svgImageCollection1.Add(FilterControl.GetGroupSvgImageByType("ClearAll"));
See Also