Class

MobileSegment


Description

A single segment in a MobileSegmentedButton control.

Properties

Name

Type

Read-Only

Shared

Caption

String

Icon

Picture

Selected

Boolean

Width

Double

Methods

Name

Parameters

Returns

Shared

Constructor

Caption As String

Constructor

Icon As Picture

Property descriptions


MobileSegment.Caption

Caption As String

The text that will appear in the segment.


MobileSegment.Icon

Icon As Picture

The icon/picture that will be displayed on the segment.


MobileSegment.Selected

Selected As Boolean

If True, the segment is selected.


MobileSegment.Width

Width As Double

The width of the segment.

Method descriptions


MobileSegment.Constructor

Constructor(Caption As String)

Note

Constructors are special methods called when you create an object with the New keyword and pass in the parameters above.

Creates a MobileSegment with the Caption passed.


MobileSegment.Constructor

Constructor(Icon As Picture)

Note

Constructors are special methods called when you create an object with the New keyword and pass in the parameters above.

Creates a MobileSegment with the Icon passed.

Compatibility

Mobile projects on all supported mobile operating systems.

See also

Object parent class; MobileSegmentedButton control.