Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 2.37 KB

indicatorview.md

File metadata and controls

35 lines (26 loc) · 2.37 KB

IndicatorView

Inheritance: Element -> NavigableElement -> VisualElement -> View -> Layout -> TemplatedView
Xamarin.Forms documentation: IndicatorView API / Guide

For details on how the control actually works, please refer to the Xamarin.Forms documentation.

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)