Badge - BadgeSizing Property

Specifies the sizing behaviour of the Badge

Member of Badge (PRIM_MD.Badge)

Data Type - Enumeration

Details

The BadgeSizing property determines how the Badge will size based on the space defined by the Control to which it is attached.

Allowed Values

Enum Value

Description

ContentHeight

The height will be governed by the contents of the Badge. The width will remain unchanged

ContentHeightFitToWidth

The height will be governed by the contents of the Badge. The Badge will resize to the width of the Control

ContentWidth

The width will be governed by the contents of the Badge. The height will remain unchanged

ContentWidthAndHeight

The width and height will be governed by the contents of the Badge

ContentWidthFitToHeight

The width will be governed by the contents of the Badge. The control will resize to the height of the Control

FitBoth

Resize the Badge to the height and width of the Control

FitHeight

Resize the Badge to the height of the Control. Width will remain unchanged

FitWidth

Resize the Badge to the width of the Control. Height will remain unchanged

None

Do not resize the Badge


See also

All Component Classes

Technical Reference