IFrameVariantsEngine.GetVariants(View) Method
Returns a set of view variants available for the specific View.
Namespace: DevExpress.ExpressApp.ViewVariantsModule
Assembly: DevExpress.ExpressApp.ViewVariantsModule.v26.1.dll
NuGet Package: DevExpress.ExpressApp.ViewVariantsModule
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| view | View | A View object. |
Returns
| Type | Description |
|---|---|
| VariantsInfo | An VariantsInfo object that contains a list of view variants. |
Remarks
This method checks whether or not the passed View is created as a view variant, and returns a set of view variants available for this View.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetVariants(View) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.