VariantsInfo.GetCurrentVariantInfo() Method

Returns the currently selected View variant.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

Declaration

public VariantInfo GetCurrentVariantInfo()
Public Function GetCurrentVariantInfo As VariantInfo

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