Options Type
Constructors
| Constructor |
Description
|
Full Usage:
Options(segments, ?segmentStyle, ?mode, ?selectedIndex, ?change)
Parameters:
SegmentedControlSegment[]
-
An array of segments to place in this control.
?segmentStyle : SegmentStyle
-
Style of the segments:
?mode : Mode
-
The selection mode of the control:
?selectedIndex : int
-
The index of the currently selected segment, will update automatically with user interaction. When the mode is multiple it
will be the last selected item.
?change : int * bool -> unit
-
Called when the user selects a new segment.
Returns: Options
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.change
|
Called when the user selects a new segment. |
Full Usage:
this.mode
|
The selection mode of the control: |
Full Usage:
this.segmentStyle
|
Style of the segments: |
Full Usage:
this.segments
|
An array of segments to place in this control. |
Full Usage:
this.selectedIndex
|
The index of the currently selected segment, will update automatically with user interaction. When the mode is multiple it will be the last selected item. |
fable-electron-docs-api