Ejemplo n.º 1
0
        void UpdatePickerFromPickerSource(PickerSource pickerSource)
        {
            if (VirtualView == null || NativeView == null)
            {
                return;
            }

            NativeView.Text           = VirtualView.GetItem(pickerSource.SelectedIndex);
            VirtualView.SelectedIndex = pickerSource.SelectedIndex;
        }
Ejemplo n.º 2
0
        void UpdatePickerFromPickerSource(PickerSource pickerSource)
        {
            if (VirtualView == null || TypedNativeView == null)
            {
                return;
            }

            TypedNativeView.Text      = pickerSource.SelectedItem;
            VirtualView.SelectedIndex = pickerSource.SelectedIndex;
        }