Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VariantsInfo Members

Represents a set of variants available for the View.

#Constructors

Name Description
VariantsInfo(String, String, IList<VariantInfo>) Initializes a new instance of the VariantsInfo class.

#Properties

Name Description
CurrentVariantId Specifies the identifier of the currently selected View variant.
Items Gets a collection of VariantInfo objects representing the available View variants.
RootViewId Gets the identifier of the varied View having the VariantsInfo.Items as View variants.

#Methods
Show Inherited Hide Inherited

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindById(String) Returns a VariantInfo object having the specified VariantInfo.Id identifier.
GetCurrentVariantInfo() Returns the currently selected View variant.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
TryGetItem(String, out VariantInfo) Returns a VariantInfo object having the specified VariantInfo.Id identifier via the result parameter.
See Also