SizingType Enumeration
TOC
Collapse the table of content
Expand the table of content

SizingType Enumeration

 

Specifies how elements with a bitmap background will adjust to fill a bounds.

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum SizingType

Member nameDescription
FixedSize

The element cannot be resized.

Stretch

The background image stretches to fill the bounds.

Tile

The background image repeats the pattern to fill the bounds.

The SizingType values represent the return values of the VisualStyleRenderer.GetEnumValue method when it is called with an argument value of EnumProperty.SizingType.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft