コード例 #1
0
ファイル: TextBox.Android.cs プロジェクト: sonnemaf/uno
        protected void SetInputScope(InputTypes types)
        {
            if (_textBoxView != null)
            {
                _textBoxView.InputType = types;

                if (!types.HasPasswordFlag())
                {
                    UpdateFontPartial();
                }
            }
        }
コード例 #2
0
        protected void SetInputScope(InputTypes types)
        {
            if (_textBoxView != null)
            {
                if (FeatureConfiguration.TextBox.UseLegacyInputScope)
                {
                    _textBoxView.InputType = types;
                }
                else
                {
                    _textBoxView.SetRawInputType(types);
                }

                if (!types.HasPasswordFlag())
                {
                    UpdateFontPartial();
                }
            }
        }