Header menu logo fable-electron-docs-api

SegmentedControlSegment Type

Constructors

Constructor Description

SegmentedControlSegment(?label, ?icon, ?enabled)

Full Usage: SegmentedControlSegment(?label, ?icon, ?enabled)

Parameters:
    ?label : string - The text to appear in this segment.
    ?icon : NativeImage - The image to appear in this segment.
    ?enabled : bool - Whether this segment is selectable. Default: true.

Returns: SegmentedControlSegment
?label : string

The text to appear in this segment.

?icon : NativeImage

The image to appear in this segment.

?enabled : bool

Whether this segment is selectable. Default: true.

Returns: SegmentedControlSegment

Instance members

Instance member Description

this.enabled

Full Usage: this.enabled

Whether this segment is selectable. Default: true.

this.icon

Full Usage: this.icon

The image to appear in this segment.

this.label

Full Usage: this.label

The text to appear in this segment.

Type something to start searching.