Skip to main content
.NET 6.0+

VariantsInfo.GetCurrentVariantInfo() Method

Returns the currently selected View variant.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

Assembly: DevExpress.ExpressApp.ViewVariantsModule.v23.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