[NUI] Add SetHiddenInput, GetHiddenInput to TextField
authorBowon Ryu <bowon.ryu@samsung.com>
Wed, 25 Aug 2021 08:18:18 +0000 (17:18 +0900)
committerhuiyu <35286162+huiyueun@users.noreply.github.com>
Tue, 7 Sep 2021 09:05:39 +0000 (18:05 +0900)
commit350c1e8a6d57338a1f1ecfdd6482134a623cb823
treea6ed9e1e914ca83682835068c401c34dc3dc7c21
parentc8c7b2dac676b8aa1077361c7909f38fe9fbb617
[NUI] Add SetHiddenInput, GetHiddenInput to TextField

Add a HiddenInput struct to pass data of DALi HiddenInputSettings PropertyMap.
The HiddenInput struct can be used as an argument to
SetHiddenInput and GetHiddenInput methods.

// example
var hiddenInput = new Tizen.NUI.Text.HiddenInput();
hiddenInput.Mode = HiddenInputModeType.ShowLastCharacter;
hiddenInput.SubstituteCharacter = '★';
hiddenInput.SubstituteCount = 0;
hiddenInput.ShowLastCharacterDuration = 1000;

field.SetHiddenInput(hiddenInput);

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextUtils.cs
src/Tizen.NUI/src/public/Common/NUIConstants.cs