EnvironmentValues
public extension EnvironmentValues
-
This property indicates if the calendar view also shows the week number of not. The default is
false.Declaration
Swift
var showsWeekNumbers: Bool { get set } -
Specifies if the event indicator view is displayed
Declaration
Swift
var hasEventIndicator: Bool { get set } -
The ID of the language to be used when displaying the
CalendarView.Declaration
Swift
var customLanguageId: String? { get set } -
Custom bundle.
Declaration
Swift
var customBundle: Bundle? { get set } -
The type of secondary calendar to be displayed.
The default is
.none, meaning that there is no secondary calendar to be displayed.Declaration
Swift
var alternateCalendarType: AlternateCalendarType { get set } -
The
Localeto be used for alternate calendar.The default is
nilwhich means the corresponding defaultLocalefor the secondary calendar is used.Declaration
Swift
var alternateCalendarLocale: Locale? { get set } -
The color of the view displayed upon selection of a date.
Declaration
Swift
var selectionSingleColor: Color { get set } -
The color of the view displayed upon a range selection of dates
Declaration
Swift
var selectionRangeColor: Color { get set } -
The color of the
eventViewdisplayed below each date.Declaration
Swift
var eventViewColor: Color { get set } -
The color of the
eventViewdisplayed below each date for disabled dates.Declaration
Swift
var eventViewColorDisabled: Color { get set } -
The color of calendar item in different state, only support foregroundColor.
For .weekDayText, only .normal and .highlighted states will be used. For .monthHeaderText, only .normal state will be used. For .weekNumberText, only .normal state will be used.
Declaration
Swift
var calendarItemTintAttributes: [CalendarPropertyRef : [CalendarItemControlState : Color]] { get set } -
The date formatter for month header. Default is “MMMM”
Declaration
Swift
var monthHeaderDateFormat: String { get set } -
The backgroundColor for banner message
Declaration
Swift
var bannerMessageBackgroundColor: Color? { get set } -
A property that provides access to the selection mode for hierarchical items.
The
hierarchyItemSelectionModeproperty allows you to retrieve or set the selection mode for hierarchical items in HierarchyView and HierarchyItemView. This enables you to control how users can interact with items in a hierarchy (e.g., selecting items in a tree view or nested list).Note
The selection mode is defined by theHierarchyItemSelectionModeenum, which supports three modes:none,single, andmultiple.Declaration
Swift
var hierarchyItemSelectionMode: HierarchyItemSelectionMode { get set } -
The closure used to create and configure the underlying standard
Button<EmptyView>inFioriButton.Use this to apply Apple’s
Buttonfeatures (e.g.,role: .destructive).Declaration
Swift
var standardButtonCreator: ButtonCreator { get set } -
Set max number of items that can be displayed in a component.
Supported components:
- MenuSelection
Declaration
Swift
var maxNumberOfItems: Int { get set } -
Undocumented
Declaration
Swift
var isCustomizedBorder: Bool { get set } -
get / set
isInMenuvalue in the environment. Can be used to determine if the component such as aFioriButtonis put inside aMenu.Declaration
Swift
var isInMenu: Bool { get set } -
A Boolean value indicating whether content is currently loading. It can be used to show the shimmer effect.
Declaration
Swift
var isLoading: Bool { get set } -
A Boolean value indicating whether AI content is currently loading. It can be used to show the tint color for shimmer effect.
Declaration
Swift
var isAILoading: Bool { get set } -
Distribution of left and right content columns, when in
.regularhorizontal content mode. Defaults to0.5.Declaration
Swift
var splitPercent: CGFloat? { get set } -
The avatars border color. Default value is
clear.Declaration
Swift
var avatarBorderColor: Color { get set } -
Dimensions of the avatars border width. Default value is 0.
Declaration
Swift
var avatarBorderWidth: CGFloat { get set } -
Specifies whether the
avatarsare drawn as circular. Default value istrue.Declaration
Swift
var isAvatarCircular: Bool { get set } -
Dimensions of avatars size. Default value is
45x45forgroup, and16x16for horizontal avatars.Declaration
Swift
var avatarSize: CGSize? { get set } -
Title position of avatar stack. Default value is
trailing.Declaration
Swift
var avatarsTitlePosition: AvatarStack.TextPosition { get set } -
Layout for avatars in the stack. Default value is
.grouped.Declaration
Swift
var avatarsLayout: AvatarStack.Layout { get set } -
Max count for avatars in the stack. Default value is nil.
Declaration
Swift
var avatarsMaxCount: Int? { get set } -
Spacing for avatars in horizontal stack. Default value is -1.
Declaration
Swift
var avatarsSpacing: CGFloat { get set } -
Attributes for filter form option, include foregroundColor, backgroundColor, font, strokeColor and strokeWidth.
Declaration
Swift
var filterFormOptionAttributes: [FilterFormOptionState : [NSAttributedString.Key : Any]] { get set } -
Minimum height for filter form option.
Declaration
Swift
var filterFormOptionMinHeight: CGFloat { get set } -
Minimum touch area height for filter form option.
Declaration
Swift
var filterFormOptionMinTouchHeight: CGFloat { get set } -
Corner radius for filter form option.
Declaration
Swift
var filterFormOptionCornerRadius: CGFloat { get set } -
Padding for filter form option.
Declaration
Swift
var filterFormOptionPadding: EdgeInsets { get set } -
Spacing between title and the checkmark for filter form option.
Declaration
Swift
var filterFormOptionTitleSpacing: CGFloat { get set } -
Item spacing for filter form options.
Declaration
Swift
var filterFormOptionsItemSpacing: CGFloat { get set } -
Line spacing for filter form options.
Declaration
Swift
var filterFormOptionsLineSpacing: CGFloat { get set } -
Maximum number of the footnote icons. Default value is 0. When the count is less or equal to 0, means the number is unlimited.
Declaration
Swift
var footnoteIconsMaxCount: Int { get set } -
Specifies whether the
footnoteIconsare drawn as circular. Default value istrue.Declaration
Swift
var isFootnoteIconsCircular: Bool { get set } -
Dimensions of the footnote icons spacing. Default value is -2.
Declaration
Swift
var footnoteIconsSpacing: CGFloat { get set } -
Dimensions of footnote icons. Default value is
16x16.Declaration
Swift
var footnoteIconsSize: CGSize { get set } -
Text position for footnote icons.
Declaration
Swift
var footnoteIconsTextPosition: AvatarStack.TextPosition { get set } -
Whether the order of items in
KPIHeaderis forced or not.Declaration
Swift
var isItemOrderForced: Bool { get set } -
The value for the inter item spacing of items in
KPIHeader.Declaration
Swift
var interItemSpacing: CGFloat? { get set } -
listBackground environment value
Declaration
Swift
var listBackground: Color { get set } -
Font for filter feedback bar item.
Declaration
Swift
var filterFeedbackBarItemFont: Font { get set } -
Foreground color for filter feedback bar item selected state.
Declaration
Swift
var filterFeedbackBarItemSelectedForegroundColor: Color { get set } -
Foreground color for filter feedback bar item unselected state.
Declaration
Swift
var filterFeedbackBarItemUnselectedForegroundColor: Color { get set } -
Spacing for filter feedback bar item.
Declaration
Swift
var filterFeedbackBarItemSpacing: CGFloat { get set } -
Padding for filter feedback bar item.
Declaration
Swift
var filterFeedbackBarItemPadding: CGFloat { get set } -
Max width for filter feedback bar item.
Declaration
Swift
var filterFeedbackBarItemMaxWidth: CGFloat { get set } -
Minimum height for filter feedback bar item.
Declaration
Swift
var filterFeedbackBarItemMinHeight: CGFloat { get set } -
Corner radius for filter feedback bar item.
Declaration
Swift
var filterFeedbackBarItemCornerRadius: CGFloat { get set } -
Fill color for filter feedback bar item background selected state.
Declaration
Swift
var filterFeedbackBarItemBackgroundSelectedFillColor: Color { get set } -
Fill color for filter feedback bar item background unselected state.
Declaration
Swift
var filterFeedbackBarItemBackgroundUnselectedFillColor: Color { get set } -
Stroke color for filter feedback bar item background selected state.
Declaration
Swift
var filterFeedbackBarItemBackgroundSelectedStrokeColor: Color { get set } -
Stroke color for filter feedback bar item background unselected state.
Declaration
Swift
var filterFeedbackBarItemBackgroundUnselectedStrokeColor: Color { get set } -
Border width for filter feedback bar item.
Declaration
Swift
var filterFeedbackBarItemBorderWidth: CGFloat { get set } -
Step separator line environment value for
SingleStep.Declaration
Swift
var stepLineModifier: AnyViewModifier { get set } -
Determine the relative positioning of an icon within the
TextOrIconwhen both a text and an icon are present. . The default is.leading..centerand.trailingmeans.trailing.Declaration
Swift
var iconHorizontalAlignment: HorizontalAlignment { get set } -
Progress view style.
Declaration
Swift
var kpiProgressViewStyle: AnyKPIProgressViewStyle { get set } -
Undocumented
Declaration
Swift
var numberOfLines: Int { get set } -
Sets the button width mode for
CardFooter.Declaration
Swift
var cardFooterButtonWidthMode: CardFooterButtonWidthMode { get set } -
The formatter for duration picker.
Declaration
Swift
var measurementFormatter: MeasurementFormatter { get set } -
Title position of loading indicator. Default value is
top.Declaration
Swift
var indicatorPosition: LoadingIndicator.Layout { get set } -
The control size of the loading indicator. Default value is
.regular.Declaration
Swift
var indicatorControlSize: ControlSize { get set } -
The tint color of loading indicator. Default value is
.quaternaryLabel.Declaration
Swift
var indicatorTint: Color { get set }
-
A boolean value that indicates whether the sidebar should auto-adjust its width according to parent’s available space.
Declaration
Swift
var isSidebarAutoWidth: Bool { get set } -
The total width of the sidebar, inclusive of leading and trailing padding. It only takes effect when isSidebarAutoWidth is set to false.
Declaration
Swift
var sidebarWidth: CGFloat { get set } -
The leading padding value for the sidebar.
Declaration
Swift
var sidebarLeadingPadding: CGFloat { get set } -
The trailing padding value for the sidebar.
Declaration
Swift
var sidebarTrailingPadding: CGFloat { get set } -
Indicate whether to show vertical content in
StepProgressIndicator. Allow to control the presentation state of vertical content inStepProgressIndicatorprogrammatically.Declaration
Swift
var isSPIVerticalContentPresented: Binding<Bool> { get set }
-
The maximum number of tags that ObjectHeader can allow to display The minimum number of tags is 1 if the value is less than 1. If the value is nil, it uses as many tags as required. The default is nil.
Declaration
Swift
var tagLimit: Int? { get set } -
The index of the WhatsNewPageView’s current page. When the value changes, the component will navigate to the page corresponding to the new value.
Declaration
Swift
var whatsNewPageIndex: Binding<Int?> { get set } -
An action to take when the user has tapped on the Start button in the WhatsNewPageView.
Declaration
Swift
var whatsNewPageDidFinish: (() -> Void)? { get set } -
Undocumented
Declaration
Swift
public var titleModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var subtitleModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var tagsModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var footnoteModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var descriptionTextModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var detailImageModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var attributeModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var secondaryAttributeModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var timestampModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var secondaryTimestampModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var trendModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var trendImageModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var statusModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var substatusModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var bodyTextModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var bodyAttributedTextModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var iconModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var accessoryIconModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var iconsModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var actionTitleModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var firstActionTitleModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var secondActionTitleModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var seriesTitlesModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var keyModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var valueModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var valuesModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var valueAxisTitleModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var secondaryValuesAxisTitleModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var categoryAxisTitleModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var emptyTextModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var kpiModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var placeholderModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var lowerBoundTitleModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var upperBoundTitleModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var avatarsModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var footnoteIconsModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var leftIconModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var rightIconModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var actionItemsModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var actionTextModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var progressIndicatorTextModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var textInputValueModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var cancelActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var doneActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var actionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var secondaryActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var textInputModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var itemsModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var startActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var restartActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var clearActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var saveActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var nodeModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var resetActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var applyActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var nextActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var allowActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var denyActionModifier: AnyViewModifier { get set } -
Undocumented
Declaration
Swift
public var notNowActionModifier: AnyViewModifier { get set }