controlSize scales buttons, progress views, and similar components across a discrete set of sizes; pickerStyle switches a Picker between segmented, wheel, menu, and other layouts; buttonStyle applies a fully custom rendering to a Button via defineButtonStyle.
Apply these modifiers to a single control or to a container — controlSize and buttonStyle propagate to descendant controls in the hierarchy.
controlSize
Sets the size for controls like buttons and progress views."mini" | "small" | "regular" | "large" | "extraLarge"
required
The control size to apply. Affects the visual size and padding of supported controls.
pickerStyle
Sets the display style for a Picker component.PickerStyle
required
The visual style for the picker. See PickerStyle.Options:
"automatic", "segmented", "inline", "menu", "navigationlink", "palette", "radiogroup", "wheel".buttonStyle
Applies a custom button style to a Button component.ButtonStyleComponent
required
A custom button style component created with
defineButtonStyle. The style controls how the button renders in its various states (normal, pressed).See also
- Button — interactive button control
- Picker — selection control
- ProgressView — progress indicator
- disabled — disable interaction on a control
- PickerStyle — picker style values