New to Telerik UI for WinFormsStart a free 30-day trial

Specifies how elements should fit within their parent container's sizing constraints.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public enum RadFitToSizeMode

Fields

Specifies that the element should fit within the entire bounds of the parent, including content, padding, and borders.

C#
FitToParentBounds = 2
Remarks:

When set to FitToParentBounds, the element will size itself to fit within the complete bounds of the parent container, potentially overlapping with the parent's borders and padding areas.

Specifies that the element should fit within the parent's content area, excluding padding and borders.

C#
FitToParentContent = 0
Remarks:

When set to FitToParentContent, the element will size itself to fit within the available content space of the parent, respecting the parent's padding and border areas.

Specifies that the element should fit within the parent's padding area, including the content area and padding but excluding borders.

C#
FitToParentPadding = 1
Remarks:

When set to FitToParentPadding, the element will size itself to fit within the parent's padding area, which includes both the content area and the padding space, but excludes borders.