Version

ImageSizeCollapsed Property

Returns the size of the area in which a tile's CollapsedImage is displayed.
Syntax
'Declaration
 
Public ReadOnly Property ImageSizeCollapsed As Size
public Size ImageSizeCollapsed {get;}
Remarks

When the control's Expanded property is set to false, tiles are displayed at a size that is equal to 1/5th the size of square tiles, as determined by the TileSizeSmall property at a resolution scale of 100%.

By default, the TileSizeSmall property (at a resolution scale of 100%) is 150 pixels, making collapsed tiles 30 pixels by default.

Additional padding is applied by dividing the collapsed tile size by 5; using the example above, this results in 30 / 5 = 6 pixels of padding, resulting in an actual image size of 24 pixels.

Images which do not fit in this area are scaled accordingly based on the value of the ImageScaling property. An image of this size or smaller is guaranteed to appear at its natural size, unless this behavior is overridden by setting the ImageScaling to a value which contains the 'FillWhenSmaller' flag.

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