Version

AllResolutions Property (UltraLiveTileViewMetrics)

Returns an object which determines metric values which are used when no specific value is assigned for a given resolution scale.
Syntax
'Declaration
 
Public ReadOnly Property AllResolutions As ResolutionIndependentMetrics
public ResolutionIndependentMetrics AllResolutions {get;}
Remarks

The UltraLiveTileViewMetrics class exposes a metrics property for each of the four relative screen resolutions; the values defined by each of these classes is specific to a particular screen resolution.

The object returned from this property exposes the same metrics properties as its resolution-dependent counterparts. Setting one of those metrics properties on this object defines a value that is scaled and used for all screen resolutions.

For example, assume the TileSizeSmall property is set to a value of 120 on this resolution-independent object, and that none of the resolution dependent objects have a value specified for TileSizeSmall. Assume also that the ResolutionScale property is left at its default value of 'Scale100Percent'.

When the control determines the actual size of a tile, it takes this value (120), evaluates it against the value of the ResolutionScale property to determine the scaling ratio, and then uses this scaled value for the resolution dependent object.

Using this example, the setting of 120 results in tile sizes of 150, 120, 86, and 67 for the Scale80Percent, Scale100Percent, Scale140Percent, and Scale180Percent resolutions, respectively.

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