Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

VariantsInfo.GetCurrentVariantInfo() Method

Returns the currently selected View variant.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

Assembly: DevExpress.ExpressApp.ViewVariantsModule.v20.2.dll

Declaration

public VariantInfo GetCurrentVariantInfo()

Returns

Type Description
VariantInfo

A VariantInfo object representing the currently selected View variant. If no variant was selected, the first item of the VariantsInfo.Items collection is returned.

See Also