Class ImageConstraints
Represents sets of image constraints, such as size and/or proportions.
Implements
Inherited Members
Namespace: AdaptiveImages.Core
Assembly: AdaptiveImages.dll
Syntax
public class ImageConstraints : List<FormFactorConstraint>, IList<FormFactorConstraint>, ICollection<FormFactorConstraint>, IReadOnlyList<FormFactorConstraint>, IReadOnlyCollection<FormFactorConstraint>, IEnumerable<FormFactorConstraint>, IList, ICollection, IEnumerable
Methods
Get(FormFactor)
Gets constraints, if any, for a specific form factor.
Declaration
public FormFactorConstraint? Get(FormFactor formFactor)
Parameters
Type | Name | Description |
---|---|---|
FormFactor | formFactor |
Returns
Type | Description |
---|---|
FormFactorConstraint |