Skip to content

Class: SegmentedFormCellProxy

SegmentedFormCellControlProxy is a developer-facing interface that provides access to a Segment control and allows customizations. In addition it provides access to the IFormCellProxy interface.

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

Constructor

+ new SegmentedFormCellProxy(context: IContext): SegmentedFormCellProxy

Overrides FormCellControlProxy.constructor

Parameters:

Name Type
context IContext

Returns: SegmentedFormCellProxy

Methods

getApportionsSegmentWidthsByContent

getApportionsSegmentWidthsByContent(): boolean

Returns the ApportionsSegmentWidthsByContent property value defined for the FormCell's control.

Implementation of ISegmentedFormCellProxy.getApportionsSegmentWidthsByContent

Returns: boolean


getCaptionPosition

getCaptionPosition(): string

Returns the CaptionPosition property value defined for the FormCell's control.

Implementation of ISegmentedFormCellProxy.getCaptionPosition

Returns: string


getSegments

getSegments(): any

Returns the Segments property of the FormCell's control.

Implementation of ISegmentedFormCellProxy.getSegments

Returns: any


setApportionsSegmentWidthsByContent

setApportionsSegmentWidthsByContent(apportionsSegmentWidthsByContent: boolean): Promise<any>

Sets the ApportionsSegmentWidthsByContent property of the FormCell's control.

Implementation of ISegmentedFormCellProxy.setApportionsSegmentWidthsByContent

Parameters:

Name Type Description
apportionsSegmentWidthsByContent boolean value to set.

Returns: Promise<any>


setCaptionPosition

setCaptionPosition(captionPosition: string): Promise<any>

Sets the CaptionPosition property of the FormCell's control.

Implementation of ISegmentedFormCellProxy.setCaptionPosition

Parameters:

Name Type Description
captionPosition string value to set.

Returns: Promise<any>


setSegments

setSegments(segments: any): Promise<any>

Sets the Segments property of the FormCell's control.

Implementation of ISegmentedFormCellProxy.setSegments

Parameters:

Name Type Description
segments any value to set.

Returns: Promise<any>