Files
AntdUI/doc/wiki/en/Control/Enum.md
2025-10-16 11:03:26 +08:00

3.9 KiB

HomeUpdateLogConfigTheme

TAutoSize

Auto Size

Name Description
None Disable automatic sizing
Auto Automatic size adjustment
Width Only width
Height Only height

TShape

Shape

Name Description
Default Default
Circle Circle
Round Round

TShapeProgress

Shape

Name Description
Default Default
Circle Circle
Round Round
Mini Mini
Steps Step

TTypeMini

Type

Name Description
Default Default
Primary Primary
Success Success
Error Error
Warn Warn
Info Info

TType

Type

Name Description
None None
Success Success
Info Info
Warn Warn
Error Error

TOrientation

Segmentation line text direction

Name Description
None Default
Left Left
Right Right

Trigger

Interactive behavior

Name Description
Click Click
Hover Hover

TAlign

Align

Name Description
None None
TL
Top
TR
RT
Right
RB
BR
Bottom
BL
LB
Left
LT

TAlignMini

General Align

Name Description
None None
Top Top
Right Right
Bottom Bottom
Left Left

TAlignFrom

From Align

Name Description
TL TopLeft
Top Top
TR TopRight
BR BottomRight
Bottom Bottom
BL BottomLeft

TAlignFlow

Flow Align

Name Description
LeftCenter Left center
Left Left
Center Center
RightCenter Right center
Right Right

TStepState

Step Status

Name Description
Wait Wait
Process Process
Finish Finish
Error Error

TState

Status

Name Description
Primary Primary
Default Default
Success Success
Error Error
Processing Processing
Warn Warn

TabType

TabType

Name Description
Line Line
Card Card

TFit

Image layout

Name Description
Fill Adjust the size of the replaced content to fill the content box of the element. If necessary, stretch or squeeze the object to fit it
Contain Scale and replace the content to maintain its aspect ratio, while placing it in the content box of the element
Cover Adjust the size of the replacement content to maintain its aspect ratio when filling the entire content box of the element. The object will be cropped to fit
None Adjust the size of the replaced content

TAMode

Color mode

Name Description
Auto Auto
Light Light color mode
Dark Dark color mode

TEditMode

Edit Mode

Name Description
None None
Click Click
DoubleClick Double Click

ColumnsMode

Automatic adjustment mode

Name Description
Auto automatic
Fill Fill When the width is not enough

TMenuMode

Menu Mode

Name Description
Inline Inline mode
Vertical Vertical mode
Horizontal Horizontal mode

TColorMode

Color mode

Name Description
Hex Hex
Rgb Rgb

TabTypExceed

Name Description
None None
Button Button
LR LeftRight Button
LR_Shadow LeftRight Button+Shadow

TRotate

Rotate

Name Description
None None
Clockwise_90 Clockwise 90°
CounterClockwise_90 CounterClockwise 90°