Back to Devexpress

IModelVariants.Current Property

expressappframework-devexpress-dot-expressapp-dot-viewvariantsmodule-dot-imodelvariants.md

latest1.7 KB
Original Source

IModelVariants.Current Property

Specifies a node of the currently selected View variant.

Namespace : DevExpress.ExpressApp.ViewVariantsModule

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

NuGet Package : DevExpress.ExpressApp.ViewVariantsModule

Declaration

csharp
[DataSourceProperty("this", new string[]{})]
IModelVariant Current { get; set; }
vb
<DataSourceProperty("this", New String() {})>
Property Current As IModelVariant

Property Value

TypeDescription
IModelVariant

An IModelVariant object representing the node of the currently selected View variant.

|

Remarks

When the Current property is not specified, the first View variant available for the varied View is considered to be current.

See Also

View Variants (Switch Document Layouts)

IModelVariants Interface

IModelVariants Members

DevExpress.ExpressApp.ViewVariantsModule Namespace