2 * Copyright(c) 2021 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.ComponentModel;
19 using Tizen.NUI.Binding;
21 namespace Tizen.NUI.BaseComponents
24 /// A control which provides a single line editable text field.
26 /// <since_tizen> 3 </since_tizen>
27 public partial class TextField
32 [EditorBrowsable(EditorBrowsableState.Never)]
33 public static readonly BindableProperty TranslatableTextProperty = BindableProperty.Create(nameof(TranslatableText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
35 var textField = (TextField)bindable;
38 textField.translatableText = (string)newValue;
41 defaultValueCreator: (bindable) =>
43 var textField = (TextField)bindable;
44 return textField.translatableText;
49 [EditorBrowsable(EditorBrowsableState.Never)]
50 public static readonly BindableProperty TranslatablePlaceholderTextProperty = BindableProperty.Create(nameof(TranslatablePlaceholderText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
52 var textField = (TextField)bindable;
55 textField.translatablePlaceholderText = (string)newValue;
58 defaultValueCreator: (bindable) =>
60 var textField = (TextField)bindable;
61 return textField.translatablePlaceholderText;
64 /// TranslatablePlaceholderTextFocused property
66 [EditorBrowsable(EditorBrowsableState.Never)]
67 public static readonly BindableProperty TranslatablePlaceholderTextFocusedProperty = BindableProperty.Create(nameof(TranslatablePlaceholderTextFocused), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
69 var textField = (TextField)bindable;
72 textField.translatablePlaceholderTextFocused = (string)newValue;
75 defaultValueCreator: (bindable) =>
77 var textField = (TextField)bindable;
78 return textField.translatablePlaceholderTextFocused;
80 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
81 [EditorBrowsable(EditorBrowsableState.Never)]
82 public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
84 var textField = (TextField)bindable;
87 textField.isSettingTextInCSharp = true;
89 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.TEXT, (string)newValue);
90 textField.isSettingTextInCSharp = false;
93 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
95 var textField = (TextField)bindable;
97 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.TEXT);
99 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
100 [EditorBrowsable(EditorBrowsableState.Never)]
101 public static readonly BindableProperty PlaceholderTextProperty = BindableProperty.Create(nameof(PlaceholderText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
103 var textField = (TextField)bindable;
104 if (newValue != null)
107 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderText, (string)newValue);
110 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
112 var textField = (TextField)bindable;
114 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderText);
116 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
117 [EditorBrowsable(EditorBrowsableState.Never)]
118 public static readonly BindableProperty PlaceholderTextFocusedProperty = BindableProperty.Create(nameof(PlaceholderTextFocused), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
120 var textField = (TextField)bindable;
121 if (newValue != null)
124 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderTextFocused, (string)newValue);
127 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
129 var textField = (TextField)bindable;
131 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderTextFocused);
133 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
134 [EditorBrowsable(EditorBrowsableState.Never)]
135 public static readonly BindableProperty FontFamilyProperty = BindableProperty.Create(nameof(FontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
137 var textField = (TextField)bindable;
138 if (newValue != null)
140 textField.InternalFontFamily = (string)newValue;
143 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
145 var textField = (TextField)bindable;
146 return textField.InternalFontFamily;
148 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
149 [EditorBrowsable(EditorBrowsableState.Never)]
150 public static readonly BindableProperty FontStyleProperty = BindableProperty.Create(nameof(FontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
152 var textField = (TextField)bindable;
153 if (newValue != null)
155 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
158 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
160 var textField = (TextField)bindable;
161 PropertyMap temp = new PropertyMap();
162 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontStyle).Get(temp);
166 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
167 [EditorBrowsable(EditorBrowsableState.Never)]
168 public static readonly BindableProperty PointSizeProperty = BindableProperty.Create(nameof(PointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
170 var textField = (TextField)bindable;
171 if (newValue != null)
174 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.PointSize, (float)newValue);
177 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
179 var textField = (TextField)bindable;
181 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.PointSize);
183 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
184 [EditorBrowsable(EditorBrowsableState.Never)]
185 public static readonly BindableProperty MaxLengthProperty = BindableProperty.Create(nameof(MaxLength), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
187 var textField = (TextField)bindable;
188 if (newValue != null)
191 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.MaxLength, (int)newValue);
194 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
196 var textField = (TextField)bindable;
198 return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.MaxLength);
200 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
201 [EditorBrowsable(EditorBrowsableState.Never)]
202 public static readonly BindableProperty ExceedPolicyProperty = BindableProperty.Create(nameof(ExceedPolicy), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
204 var textField = (TextField)bindable;
205 if (newValue != null)
208 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.ExceedPolicy, (int)newValue);
211 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
213 var textField = (TextField)bindable;
215 return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.ExceedPolicy);
217 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
218 [EditorBrowsable(EditorBrowsableState.Never)]
219 public static readonly BindableProperty HorizontalAlignmentProperty = BindableProperty.Create(nameof(HorizontalAlignment), typeof(HorizontalAlignment), typeof(TextField), HorizontalAlignment.Begin, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
221 var textField = (TextField)bindable;
222 if (newValue != null)
225 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.HorizontalAlignment, (int)newValue);
228 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
230 var textField = (TextField)bindable;
233 temp = Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.HorizontalAlignment);
234 return temp.GetValueByDescription<HorizontalAlignment>();
236 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
237 [EditorBrowsable(EditorBrowsableState.Never)]
238 public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.Create(nameof(TextField.VerticalAlignment), typeof(VerticalAlignment), typeof(TextField), VerticalAlignment.Bottom, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
240 var textField = (TextField)bindable;
241 if (newValue != null)
244 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.VerticalAlignment, (int)newValue);
247 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
249 var textField = (TextField)bindable;
252 temp = Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.VerticalAlignment);
253 return temp.GetValueByDescription<VerticalAlignment>();
255 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
256 [EditorBrowsable(EditorBrowsableState.Never)]
257 public static readonly BindableProperty TextColorProperty = BindableProperty.Create(nameof(TextField.TextColor), typeof(Color), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
259 var textField = (TextField)bindable;
260 if (newValue != null)
263 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.TextColor, ((Color)newValue).SwigCPtr);
266 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
268 var textField = (TextField)bindable;
270 if (textField.internalTextColor == null)
272 textField.internalTextColor = new Color(0, 0, 0, 0);
274 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.TextColor, textField.internalTextColor.SwigCPtr);
275 return textField.internalTextColor;
277 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
278 [EditorBrowsable(EditorBrowsableState.Never)]
279 public static readonly BindableProperty PlaceholderTextColorProperty = BindableProperty.Create(nameof(TextField.PlaceholderTextColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
281 var textField = (TextField)bindable;
282 if (newValue != null)
285 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.PlaceholderTextColor, ((Vector4)newValue).SwigCPtr);
288 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
290 var textField = (TextField)bindable;
292 if (textField.internalPlaceholderTextColor == null)
294 textField.internalPlaceholderTextColor = new Vector4(0, 0, 0, 0);
296 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.PlaceholderTextColor, textField.internalPlaceholderTextColor.SwigCPtr);
297 return textField.internalPlaceholderTextColor;
299 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
300 [EditorBrowsable(EditorBrowsableState.Never)]
301 public static readonly BindableProperty EnableGrabHandleProperty = BindableProperty.Create(nameof(TextField.EnableGrabHandle), typeof(bool), typeof(TextField), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
303 var textField = (TextField)bindable;
304 if (newValue != null)
307 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandle, (bool)newValue);
310 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
312 var textField = (TextField)bindable;
314 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandle);
316 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
317 [EditorBrowsable(EditorBrowsableState.Never)]
318 public static readonly BindableProperty EnableGrabHandlePopupProperty = BindableProperty.Create(nameof(TextField.EnableGrabHandlePopup), typeof(bool), typeof(TextField), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
320 var textField = (TextField)bindable;
321 if (newValue != null)
324 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup, (bool)newValue);
327 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
329 var textField = (TextField)bindable;
331 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup);
333 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
334 [EditorBrowsable(EditorBrowsableState.Never)]
335 public static readonly BindableProperty PrimaryCursorColorProperty = BindableProperty.Create(nameof(TextField.PrimaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
337 var textField = (TextField)bindable;
338 if (newValue != null)
341 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.PrimaryCursorColor, ((Vector4)newValue).SwigCPtr);
344 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
346 var textField = (TextField)bindable;
348 if (textField.internalPrimaryCursorColor == null)
350 textField.internalPrimaryCursorColor = new Vector4(0, 0, 0, 0);
352 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.PrimaryCursorColor, textField.internalPrimaryCursorColor.SwigCPtr);
353 return textField.internalPrimaryCursorColor;
355 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
356 [EditorBrowsable(EditorBrowsableState.Never)]
357 public static readonly BindableProperty SecondaryCursorColorProperty = BindableProperty.Create(nameof(TextField.SecondaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
359 var textField = (TextField)bindable;
360 if (newValue != null)
363 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.SecondaryCursorColor, ((Vector4)newValue).SwigCPtr);
366 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
368 var textField = (TextField)bindable;
370 if (textField.internalSecondaryCursorColor == null)
372 textField.internalSecondaryCursorColor = new Vector4(0, 0, 0, 0);
374 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.SecondaryCursorColor, textField.internalSecondaryCursorColor.SwigCPtr);
375 return textField.internalSecondaryCursorColor;
377 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
378 [EditorBrowsable(EditorBrowsableState.Never)]
379 public static readonly BindableProperty EnableCursorBlinkProperty = BindableProperty.Create(nameof(TextField.EnableCursorBlink), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
381 var textField = (TextField)bindable;
382 if (newValue != null)
385 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableCursorBlink, (bool)newValue);
388 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
390 var textField = (TextField)bindable;
392 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableCursorBlink);
394 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
395 [EditorBrowsable(EditorBrowsableState.Never)]
396 public static readonly BindableProperty CursorBlinkIntervalProperty = BindableProperty.Create(nameof(TextField.CursorBlinkInterval), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
398 var textField = (TextField)bindable;
399 if (newValue != null)
402 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkInterval, (float)newValue);
405 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
407 var textField = (TextField)bindable;
409 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkInterval);
411 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
412 [EditorBrowsable(EditorBrowsableState.Never)]
413 public static readonly BindableProperty CursorBlinkDurationProperty = BindableProperty.Create(nameof(TextField.CursorBlinkDuration), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
415 var textField = (TextField)bindable;
416 if (newValue != null)
419 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkDuration, (float)newValue);
422 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
424 var textField = (TextField)bindable;
426 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkDuration);
428 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
429 [EditorBrowsable(EditorBrowsableState.Never)]
430 public static readonly BindableProperty CursorWidthProperty = BindableProperty.Create(nameof(TextField.CursorWidth), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
432 var textField = (TextField)bindable;
433 if (newValue != null)
436 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.CursorWidth, (int)newValue);
439 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
441 var textField = (TextField)bindable;
443 return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.CursorWidth);
445 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
446 [EditorBrowsable(EditorBrowsableState.Never)]
447 public static readonly BindableProperty GrabHandleImageProperty = BindableProperty.Create(nameof(TextField.GrabHandleImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
449 var textField = (TextField)bindable;
450 if (newValue != null)
453 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandleImage, (string)newValue);
456 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
458 var textField = (TextField)bindable;
460 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandleImage);
462 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
463 [EditorBrowsable(EditorBrowsableState.Never)]
464 public static readonly BindableProperty GrabHandlePressedImageProperty = BindableProperty.Create(nameof(TextField.GrabHandlePressedImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
466 var textField = (TextField)bindable;
467 if (newValue != null)
470 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandlePressedImage, (string)newValue);
473 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
475 var textField = (TextField)bindable;
477 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandlePressedImage);
479 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
480 [EditorBrowsable(EditorBrowsableState.Never)]
481 public static readonly BindableProperty ScrollThresholdProperty = BindableProperty.Create(nameof(TextField.ScrollThreshold), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
483 var textField = (TextField)bindable;
484 if (newValue != null)
487 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollThreshold, (float)newValue);
490 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
492 var textField = (TextField)bindable;
494 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollThreshold);
496 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
497 [EditorBrowsable(EditorBrowsableState.Never)]
498 public static readonly BindableProperty ScrollSpeedProperty = BindableProperty.Create(nameof(TextField.ScrollSpeed), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
500 var textField = (TextField)bindable;
501 if (newValue != null)
504 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollSpeed, (float)newValue);
507 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
509 var textField = (TextField)bindable;
511 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollSpeed);
514 [EditorBrowsable(EditorBrowsableState.Never)]
515 public static readonly BindableProperty SelectionPopupStyleProperty = BindableProperty.Create(nameof(SelectionPopupStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
517 var textField = (TextField)bindable;
518 if (newValue != null)
520 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionPopupStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
523 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
525 var textField = (TextField)bindable;
526 PropertyMap temp = new PropertyMap();
527 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionPopupStyle).Get(temp);
531 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
532 [EditorBrowsable(EditorBrowsableState.Never)]
533 public static readonly BindableProperty SelectionHandleImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
535 var textField = (TextField)bindable;
536 if (newValue != null)
538 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
541 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
543 var textField = (TextField)bindable;
544 PropertyMap temp = new PropertyMap();
545 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageLeft).Get(temp);
548 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
549 [EditorBrowsable(EditorBrowsableState.Never)]
550 public static readonly BindableProperty SelectionHandleImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
552 var textField = (TextField)bindable;
553 if (newValue != null)
555 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
558 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
560 var textField = (TextField)bindable;
561 PropertyMap temp = new PropertyMap();
562 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageRight).Get(temp);
565 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
566 [EditorBrowsable(EditorBrowsableState.Never)]
567 public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
569 var textField = (TextField)bindable;
570 if (newValue != null)
572 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
575 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
577 var textField = (TextField)bindable;
578 PropertyMap temp = new PropertyMap();
579 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageLeft).Get(temp);
582 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
583 [EditorBrowsable(EditorBrowsableState.Never)]
584 public static readonly BindableProperty SelectionHandlePressedImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
586 var textField = (TextField)bindable;
587 if (newValue != null)
589 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
592 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
594 var textField = (TextField)bindable;
595 PropertyMap temp = new PropertyMap();
596 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageRight).Get(temp);
599 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
600 [EditorBrowsable(EditorBrowsableState.Never)]
601 public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
603 var textField = (TextField)bindable;
604 if (newValue != null)
606 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
609 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
611 var textField = (TextField)bindable;
612 PropertyMap temp = new PropertyMap();
613 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageLeft).Get(temp);
616 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
617 [EditorBrowsable(EditorBrowsableState.Never)]
618 public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
620 var textField = (TextField)bindable;
621 if (newValue != null)
623 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
626 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
628 var textField = (TextField)bindable;
629 PropertyMap temp = new PropertyMap();
630 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageRight).Get(temp);
633 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
634 [EditorBrowsable(EditorBrowsableState.Never)]
635 public static readonly BindableProperty SelectionHighlightColorProperty = BindableProperty.Create(nameof(TextField.SelectionHighlightColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
637 var textField = (TextField)bindable;
638 if (newValue != null)
641 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.SelectionHighlightColor, ((Vector4)newValue).SwigCPtr);
644 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
646 var textField = (TextField)bindable;
648 if (textField.internalSelectionHighlightColor == null)
650 textField.internalSelectionHighlightColor = new Vector4(0, 0, 0, 0);
652 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.SelectionHighlightColor, textField.internalSelectionHighlightColor.SwigCPtr);
653 return textField.internalSelectionHighlightColor;
655 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
656 [EditorBrowsable(EditorBrowsableState.Never)]
657 public static readonly BindableProperty DecorationBoundingBoxProperty = BindableProperty.Create(nameof(TextField.DecorationBoundingBox), typeof(Rectangle), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
659 var textField = (TextField)bindable;
660 if (newValue != null)
662 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.DecorationBoundingBox, new Tizen.NUI.PropertyValue((Rectangle)newValue));
665 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
667 var textField = (TextField)bindable;
668 Rectangle temp = new Rectangle(0, 0, 0, 0);
669 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.DecorationBoundingBox).Get(temp);
672 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
673 [EditorBrowsable(EditorBrowsableState.Never)]
674 public static readonly BindableProperty InputMethodSettingsProperty = BindableProperty.Create(nameof(TextField.InputMethodSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
676 var textField = (TextField)bindable;
677 if (newValue != null)
679 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputMethodSettings, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
682 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
684 var textField = (TextField)bindable;
685 PropertyMap temp = new PropertyMap();
686 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputMethodSettings).Get(temp);
689 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
690 [EditorBrowsable(EditorBrowsableState.Never)]
691 public static readonly BindableProperty InputColorProperty = BindableProperty.Create(nameof(TextField.InputColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
693 var textField = (TextField)bindable;
694 if (newValue != null)
697 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.InputColor, ((Vector4)newValue).SwigCPtr);
700 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
702 var textField = (TextField)bindable;
704 if (textField.internalInputColor == null)
706 textField.internalInputColor = new Vector4(0, 0, 0, 0);
708 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.InputColor, textField.internalInputColor.SwigCPtr);
709 return textField.internalInputColor;
711 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
712 [EditorBrowsable(EditorBrowsableState.Never)]
713 public static readonly BindableProperty EnableMarkupProperty = BindableProperty.Create(nameof(TextField.EnableMarkup), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
715 var textField = (TextField)bindable;
716 if (newValue != null)
719 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableMarkup, (bool)newValue);
722 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
724 var textField = (TextField)bindable;
726 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableMarkup);
728 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
729 [EditorBrowsable(EditorBrowsableState.Never)]
730 public static readonly BindableProperty InputFontFamilyProperty = BindableProperty.Create(nameof(TextField.InputFontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
732 var textField = (TextField)bindable;
733 if (newValue != null)
736 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputFontFamily, (string)newValue);
739 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
741 var textField = (TextField)bindable;
743 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputFontFamily);
745 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
746 [EditorBrowsable(EditorBrowsableState.Never)]
747 public static readonly BindableProperty InputFontStyleProperty = BindableProperty.Create(nameof(TextField.InputFontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
749 var textField = (TextField)bindable;
750 if (newValue != null)
752 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
755 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
757 var textField = (TextField)bindable;
758 PropertyMap temp = new PropertyMap();
759 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontStyle).Get(temp);
762 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
763 [EditorBrowsable(EditorBrowsableState.Never)]
764 public static readonly BindableProperty InputPointSizeProperty = BindableProperty.Create(nameof(TextField.InputPointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
766 var textField = (TextField)bindable;
767 if (newValue != null)
770 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.InputPointSize, (float)newValue);
773 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
775 var textField = (TextField)bindable;
777 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.InputPointSize);
779 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
780 [EditorBrowsable(EditorBrowsableState.Never)]
781 public static readonly BindableProperty UnderlineProperty = BindableProperty.Create(nameof(TextField.Underline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
783 var textField = (TextField)bindable;
784 if (newValue != null)
786 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
789 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
791 var textField = (TextField)bindable;
792 PropertyMap temp = new PropertyMap();
793 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.UNDERLINE).Get(temp);
796 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
797 [EditorBrowsable(EditorBrowsableState.Never)]
798 public static readonly BindableProperty InputUnderlineProperty = BindableProperty.Create(nameof(TextField.InputUnderline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
800 var textField = (TextField)bindable;
801 if (newValue != null)
804 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputUnderline, (string)newValue);
807 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
809 var textField = (TextField)bindable;
811 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputUnderline);
814 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
815 [EditorBrowsable(EditorBrowsableState.Never)]
816 public static readonly BindableProperty ShadowProperty = BindableProperty.Create(nameof(TextField.Shadow), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
818 var textField = (TextField)bindable;
819 if (newValue != null)
821 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SHADOW, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
824 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
826 var textField = (TextField)bindable;
827 PropertyMap temp = new PropertyMap();
828 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SHADOW).Get(temp);
831 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
832 [EditorBrowsable(EditorBrowsableState.Never)]
833 public static readonly BindableProperty InputShadowProperty = BindableProperty.Create(nameof(TextField.InputShadow), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
835 var textField = (TextField)bindable;
836 if (newValue != null)
839 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputShadow, (string)newValue);
842 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
844 var textField = (TextField)bindable;
846 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputShadow);
848 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
849 [EditorBrowsable(EditorBrowsableState.Never)]
850 public static readonly BindableProperty EmbossProperty = BindableProperty.Create(nameof(TextField.Emboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
852 var textField = (TextField)bindable;
853 if (newValue != null)
856 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.EMBOSS, (string)newValue);
859 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
861 var textField = (TextField)bindable;
863 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.EMBOSS);
865 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
866 [EditorBrowsable(EditorBrowsableState.Never)]
867 public static readonly BindableProperty InputEmbossProperty = BindableProperty.Create(nameof(TextField.InputEmboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
869 var textField = (TextField)bindable;
870 if (newValue != null)
873 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputEmboss, (string)newValue);
876 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
878 var textField = (TextField)bindable;
880 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputEmboss);
882 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
883 [EditorBrowsable(EditorBrowsableState.Never)]
884 public static readonly BindableProperty OutlineProperty = BindableProperty.Create(nameof(TextField.Outline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
886 var textField = (TextField)bindable;
887 if (newValue != null)
889 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
892 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
894 var textField = (TextField)bindable;
895 PropertyMap temp = new PropertyMap();
896 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.OUTLINE).Get(temp);
899 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
900 [EditorBrowsable(EditorBrowsableState.Never)]
901 public static readonly BindableProperty InputOutlineProperty = BindableProperty.Create(nameof(TextField.InputOutline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
903 var textField = (TextField)bindable;
904 if (newValue != null)
907 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputOutline, (string)newValue);
910 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
912 var textField = (TextField)bindable;
914 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputOutline);
916 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
917 [EditorBrowsable(EditorBrowsableState.Never)]
918 public static readonly BindableProperty HiddenInputSettingsProperty = BindableProperty.Create(nameof(TextField.HiddenInputSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
920 var textField = (TextField)bindable;
921 if (newValue != null)
923 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HiddenInputSettings, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
926 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
928 var textField = (TextField)bindable;
929 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
930 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HiddenInputSettings).Get(temp);
933 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
934 [EditorBrowsable(EditorBrowsableState.Never)]
935 public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(TextField.PixelSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
937 var textField = (TextField)bindable;
938 if (newValue != null)
941 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.PixelSize, (float)newValue);
944 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
946 var textField = (TextField)bindable;
948 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.PixelSize);
950 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
951 [EditorBrowsable(EditorBrowsableState.Never)]
952 public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create(nameof(TextField.EnableSelection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
954 var textField = (TextField)bindable;
955 if (newValue != null)
958 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableSelection, (bool)newValue);
961 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
963 var textField = (TextField)bindable;
965 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableSelection);
967 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
968 [EditorBrowsable(EditorBrowsableState.Never)]
969 public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create(nameof(TextField.Placeholder), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
971 var textField = (TextField)bindable;
972 if (newValue != null)
974 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PLACEHOLDER, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
977 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
979 var textField = (TextField)bindable;
980 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
981 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PLACEHOLDER).Get(temp);
984 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
985 [EditorBrowsable(EditorBrowsableState.Never)]
986 public static readonly BindableProperty EllipsisProperty = BindableProperty.Create(nameof(TextField.Ellipsis), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
988 var textField = (TextField)bindable;
989 if (newValue != null)
992 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.ELLIPSIS, (bool)newValue);
995 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
997 var textField = (TextField)bindable;
999 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.ELLIPSIS);
1001 /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1002 [EditorBrowsable(EditorBrowsableState.Never)]
1003 public static readonly BindableProperty EllipsisPositionProperty = BindableProperty.Create(nameof(EllipsisPosition), typeof(EllipsisPosition), typeof(TextField), EllipsisPosition.End, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1005 var textField = (TextField)bindable;
1006 if (newValue != null)
1009 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.EllipsisPosition, (int)newValue);
1012 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1014 var textField = (TextField)bindable;
1016 return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.EllipsisPosition);
1018 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1019 [EditorBrowsable(EditorBrowsableState.Never)]
1020 public static readonly BindableProperty EnableShiftSelectionProperty = BindableProperty.Create(nameof(TextField.EnableShiftSelection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1022 var textField = (TextField)bindable;
1023 if (newValue != null)
1026 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableShiftSelection, (bool)newValue);
1029 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1031 var textField = (TextField)bindable;
1033 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableShiftSelection);
1035 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1036 [EditorBrowsable(EditorBrowsableState.Never)]
1037 public static readonly BindableProperty MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(TextField.MatchSystemLanguageDirection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1039 var textField = (TextField)bindable;
1040 if (newValue != null)
1043 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection, (bool)newValue);
1046 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1048 var textField = (TextField)bindable;
1050 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection);
1053 [EditorBrowsable(EditorBrowsableState.Never)]
1054 public static readonly BindableProperty FontSizeScaleProperty = BindableProperty.Create(nameof(FontSizeScale), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1056 var textField = (TextField)bindable;
1057 if (newValue != null)
1059 textField.InternalFontSizeScale = (float)newValue;
1062 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1064 var textField = (TextField)bindable;
1065 return textField.InternalFontSizeScale;
1068 [EditorBrowsable(EditorBrowsableState.Never)]
1069 public static readonly BindableProperty EnableFontSizeScaleProperty = BindableProperty.Create(nameof(EnableFontSizeScale), typeof(bool), typeof(TextField), default(bool), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1071 var textField = (TextField)bindable;
1072 if (newValue != null)
1075 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableFontSizeScale, (bool)newValue);
1078 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1080 var textField = (TextField)bindable;
1082 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableFontSizeScale);
1085 /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1086 [EditorBrowsable(EditorBrowsableState.Never)]
1087 public static readonly BindableProperty GrabHandleColorProperty = BindableProperty.Create(nameof(TextField.GrabHandleColor), typeof(Color), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1089 var textField = (TextField)bindable;
1090 if (newValue != null)
1093 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.GrabHandleColor, ((Color)newValue).SwigCPtr);
1096 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1098 var textField = (TextField)bindable;
1100 if (textField.internalGrabHandleColor == null)
1102 textField.internalGrabHandleColor = new Color(0, 0, 0, 0);
1104 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.GrabHandleColor, textField.internalGrabHandleColor.SwigCPtr);
1105 return textField.internalGrabHandleColor;
1109 /// ShadowOffsetProperty
1111 [EditorBrowsable(EditorBrowsableState.Never)]
1112 public static readonly BindableProperty ShadowOffsetProperty = BindableProperty.Create(nameof(ShadowOffset), typeof(Tizen.NUI.Vector2), typeof(Tizen.NUI.BaseComponents.TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
1114 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1115 if (newValue != null)
1117 instance.InternalShadowOffset = (Tizen.NUI.Vector2)newValue;
1120 defaultValueCreator: (bindable) =>
1122 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1123 return instance.InternalShadowOffset;
1127 /// ShadowColorProperty
1129 [EditorBrowsable(EditorBrowsableState.Never)]
1130 public static readonly BindableProperty ShadowColorProperty = BindableProperty.Create(nameof(ShadowColor), typeof(Tizen.NUI.Vector4), typeof(Tizen.NUI.BaseComponents.TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
1132 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1133 if (newValue != null)
1135 instance.InternalShadowColor = (Tizen.NUI.Vector4)newValue;
1138 defaultValueCreator: (bindable) =>
1140 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1141 return instance.InternalShadowColor;
1145 /// EnableEditingProperty
1147 [EditorBrowsable(EditorBrowsableState.Never)]
1148 public static readonly BindableProperty EnableEditingProperty = BindableProperty.Create(nameof(EnableEditing), typeof(bool), typeof(Tizen.NUI.BaseComponents.TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
1150 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1151 if (newValue != null)
1153 instance.InternalEnableEditing = (bool)newValue;
1156 defaultValueCreator: (bindable) =>
1158 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1159 return instance.InternalEnableEditing;
1163 /// PrimaryCursorPositionProperty
1165 [EditorBrowsable(EditorBrowsableState.Never)]
1166 public static readonly BindableProperty PrimaryCursorPositionProperty = BindableProperty.Create(nameof(PrimaryCursorPosition), typeof(int), typeof(Tizen.NUI.BaseComponents.TextField), 0, propertyChanged: (bindable, oldValue, newValue) =>
1168 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1169 if (newValue != null)
1171 instance.InternalPrimaryCursorPosition = (int)newValue;
1174 defaultValueCreator: (bindable) =>
1176 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1177 return instance.InternalPrimaryCursorPosition;
1179 /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1180 [EditorBrowsable(EditorBrowsableState.Never)]
1181 public static readonly BindableProperty CharacterSpacingProperty = BindableProperty.Create(nameof(CharacterSpacing), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1183 var textField = (TextField)bindable;
1184 if (newValue != null)
1187 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CharacterSpacing, (float)newValue);
1190 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1192 var textField = (TextField)bindable;
1194 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CharacterSpacing);