githubEdit

IndicatorView

Inheritance: Elementarrow-up-right -> NavigableElementarrow-up-right -> VisualElementarrow-up-right -> Viewarrow-up-right -> Layoutarrow-up-right -> TemplatedViewarrow-up-right Xamarin.Forms documentation: IndicatorView APIarrow-up-right / Guidearrow-up-right

For details on how the control actually works, please refer to the Xamarin.Forms documentationarrow-up-right.

Constructors

Constructors
Description

IndicatorView(reference: ViewRef)

Define a IndicatorView widget with the given reference.

Properties

Properties
Description

selectedIndicatorColor(light: FabColor, ?dark: FabColor)

Sets The color of the selected indicator.

indicatorSize(size: float)

Sets The size of the indicator.

indicatorShape(shape: IndicatorShape)

Sets The shape of the indicator.

hideSingle(hide: bool)

Whether to hide the indicator if there is only one item.

indicatorColor(light: FabColor, ?dark: FabColor)

Sets the indicator color.

maximumVisible(count: int)

Sets the maximum number of visible indicators.

Usages

let indicatorViewRef = ViewRef<IndicatorView>()

IndicatorView(indicatorViewRef)
    .selectedIndicatorColor(Color.Red.ToFabColor(), Color.Blue.ToFabColor())
    .indicatorSize(24.)
    .indicatorsShape(IndicatorShape.Circle)
    .indicatorColor(Palette.MidGrey)

Last updated