System.Windows.Forms.VisualStyles.SizingType Enumeration

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

Syntax

public enum SizingType

Remarks

The System.Windows.Forms.VisualStyles.SizingType values represent the return values of the VisualStyleRenderer.GetEnumValue(EnumProperty) method when it is called with an argument value of EnumProperty.SizingType.

Members

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.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0