9 references to SelectedIndex
Microsoft.Maui.Controls (9)
Picker\Picker.cs (9)
32
/// <summary>Bindable property for <see cref="
SelectedIndex
"/>.</summary>
34
BindableProperty.Create(nameof(
SelectedIndex
), typeof(int), typeof(Picker), -1, BindingMode.TwoWay,
311
if (insertIndex <=
SelectedIndex
)
312
UpdateSelectedItem(
SelectedIndex
);
336
if (removeStart <=
SelectedIndex
)
357
picker.UpdateSelectedItem(picker.
SelectedIndex
);
369
var oldIndex =
SelectedIndex
;
370
var newIndex =
SelectedIndex
.Clamp(-1, Items.Count - 1);
436
get =>
SelectedIndex
;