Version

ResolutionIndependentMetrics Class

Exposes properties related to the sizing of various user interface elements, where the values are not specific to any relative screen resolution.
Syntax
'Declaration
 
Public Class ResolutionIndependentMetrics 
   Inherits Infragistics.Shared.SubObjectBase
public class ResolutionIndependentMetrics : Infragistics.Shared.SubObjectBase 
Remarks

The UltraLiveTileView control exposes a separate metrics object for each of the four relative screen resolutions, so that property values that control the size of something can be fine-tuned for a specific screen resolution. The property values of those metrics objects are only used when the corresponding screen resolution matches that of the local machine, for example, values assigned to the 'Scale100Percent' metrics object are not applicable when the local machine has a high-definition screen resolution.

The ResolutionIndependentMetrics class exposes the same properties as the resolution-specific metrics objects. Properties of this class, however, are scaled to approximate ideal values for each of the relative screen resolutions.

For example, assigning a value to the TileSizeSmall property changes the size at which both square and wide tiles are displayed. When the property is set on one of the resolution-specific metrics objects, the size of tiles for the other screen resolutions remains unaffected.

Setting the TileSizeSmall property on the ResolutionIndependentMetrics class, however, causes the tile size to change for all screen resolutions (assuming the property has not been set on the resolution-specific object).

The value of the ResolutionScale property determines the "baseline" resolution for the property values of this class. When scaling is applied to determine the size at which something should be displayed for a particular screen resolution, the value as defined on this class is scaled by a ratio that defines the difference in screen resolutions.

For example, if the ResolutionScale property is set to 'Scale100Percent', and the target screen resolution is 'Scale80Percent', the property value is scaled by a ratio of 4/5 (since the 'Scale80Percent' resolution setting implies a size of 80% that of the 'Scale100Percent' setting).

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also