Enum
RadFitToSizeMode

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

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public enum RadFitToSizeMode

Fields

FitToParentBounds

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

Declaration

cs-api-definition
FitToParentBounds = 2

Field Value

RadFitToSizeMode

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.

FitToParentContent

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

Declaration

cs-api-definition
FitToParentContent = 0

Field Value

RadFitToSizeMode

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.

FitToParentPadding

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

Declaration

cs-api-definition
FitToParentPadding = 1

Field Value

RadFitToSizeMode

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.