Skip to content

SegmentedControlMarkupExtensions class

Generated fluent setters and event subscriptions for SegmentedControl.

Guide: C# Markup guide

public static class SegmentedControlMarkupExtensions
name description
static OnSelectionChanged(…) Subscribes handler to SelectionChanged. Occurs when the selected segment changes.
static SelectedIndex(…) Sets the selected segment index (-1 means no selection).
static SelectedItem(…) Sets the currently selected item object, or null when nothing is selected.