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 | Description |
---|---|
IndicatorView(reference: ViewRef) | Define a IndicatorView widget with the given reference. |
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. |
let indicatorViewRef = ViewRef<IndicatorView>()
IndicatorView(indicatorViewRef)
.selectedIndicatorColor(Color.Red.ToFabColor(), Color.Blue.ToFabColor())
.indicatorSize(24.)
.indicatorsShape(IndicatorShape.Circle)
.indicatorColor(Palette.MidGrey)