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;
88 #if NUI_PROPERTY_CHANGE_2
89 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.TEXT, (string)newValue);
91 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TEXT, new Tizen.NUI.PropertyValue((string)newValue));
93 textField.isSettingTextInCSharp = false;
96 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
98 var textField = (TextField)bindable;
99 #if NUI_PROPERTY_CHANGE_2
100 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.TEXT);
103 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TEXT).Get(out temp);
107 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
108 [EditorBrowsable(EditorBrowsableState.Never)]
109 public static readonly BindableProperty PlaceholderTextProperty = BindableProperty.Create(nameof(PlaceholderText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
111 var textField = (TextField)bindable;
112 if (newValue != null)
114 #if NUI_PROPERTY_CHANGE_2
115 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderText, (string)newValue);
117 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderText, new Tizen.NUI.PropertyValue((string)newValue));
121 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
123 var textField = (TextField)bindable;
124 #if NUI_PROPERTY_CHANGE_2
125 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderText);
128 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderText).Get(out temp);
132 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
133 [EditorBrowsable(EditorBrowsableState.Never)]
134 public static readonly BindableProperty PlaceholderTextFocusedProperty = BindableProperty.Create(nameof(PlaceholderTextFocused), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
136 var textField = (TextField)bindable;
137 if (newValue != null)
139 #if NUI_PROPERTY_CHANGE_2
140 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderTextFocused, (string)newValue);
142 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextFocused, new Tizen.NUI.PropertyValue((string)newValue));
146 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
148 var textField = (TextField)bindable;
149 #if NUI_PROPERTY_CHANGE_2
150 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderTextFocused);
153 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextFocused).Get(out temp);
157 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
158 [EditorBrowsable(EditorBrowsableState.Never)]
159 public static readonly BindableProperty FontFamilyProperty = BindableProperty.Create(nameof(FontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
161 var textField = (TextField)bindable;
162 if (newValue != null)
164 #if NUI_PROPERTY_CHANGE_2
165 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.FontFamily, (string)newValue);
167 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontFamily, new Tizen.NUI.PropertyValue((string)newValue));
171 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
173 var textField = (TextField)bindable;
174 #if NUI_PROPERTY_CHANGE_2
175 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.FontFamily);
178 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontFamily).Get(out temp);
182 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
183 [EditorBrowsable(EditorBrowsableState.Never)]
184 public static readonly BindableProperty FontStyleProperty = BindableProperty.Create(nameof(FontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
186 var textField = (TextField)bindable;
187 if (newValue != null)
189 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
192 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
194 var textField = (TextField)bindable;
195 PropertyMap temp = new PropertyMap();
196 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontStyle).Get(temp);
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 PointSizeProperty = BindableProperty.Create(nameof(PointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
204 var textField = (TextField)bindable;
205 if (newValue != null)
207 #if NUI_PROPERTY_CHANGE_2
208 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.PointSize, (float)newValue);
210 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PointSize, new Tizen.NUI.PropertyValue((float)newValue));
214 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
216 var textField = (TextField)bindable;
217 #if NUI_PROPERTY_CHANGE_2
218 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.PointSize);
221 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PointSize).Get(out temp);
225 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
226 [EditorBrowsable(EditorBrowsableState.Never)]
227 public static readonly BindableProperty MaxLengthProperty = BindableProperty.Create(nameof(MaxLength), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
229 var textField = (TextField)bindable;
230 if (newValue != null)
232 #if NUI_PROPERTY_CHANGE_2
233 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.MaxLength, (int)newValue);
235 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MaxLength, new Tizen.NUI.PropertyValue((int)newValue));
239 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
241 var textField = (TextField)bindable;
242 #if NUI_PROPERTY_CHANGE_2
243 return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.MaxLength);
246 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MaxLength).Get(out temp);
250 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
251 [EditorBrowsable(EditorBrowsableState.Never)]
252 public static readonly BindableProperty ExceedPolicyProperty = BindableProperty.Create(nameof(ExceedPolicy), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
254 var textField = (TextField)bindable;
255 if (newValue != null)
257 #if NUI_PROPERTY_CHANGE_2
258 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.ExceedPolicy, (int)newValue);
260 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ExceedPolicy, new Tizen.NUI.PropertyValue((int)newValue));
264 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
266 var textField = (TextField)bindable;
267 #if NUI_PROPERTY_CHANGE_2
268 return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.ExceedPolicy);
271 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ExceedPolicy).Get(out temp);
275 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
276 [EditorBrowsable(EditorBrowsableState.Never)]
277 public static readonly BindableProperty HorizontalAlignmentProperty = BindableProperty.Create(nameof(HorizontalAlignment), typeof(HorizontalAlignment), typeof(TextField), HorizontalAlignment.Begin, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
279 var textField = (TextField)bindable;
280 if (newValue != null)
282 #if NUI_PROPERTY_CHANGE_2
283 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.HorizontalAlignment, (int)newValue);
285 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HorizontalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
289 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
291 var textField = (TextField)bindable;
293 #if NUI_PROPERTY_CHANGE_2
294 temp = Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.HorizontalAlignment);
296 if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HorizontalAlignment).Get(out temp) == false)
298 NUILog.Error("HorizontalAlignment get error!");
301 return temp.GetValueByDescription<HorizontalAlignment>();
303 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
304 [EditorBrowsable(EditorBrowsableState.Never)]
305 public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.Create(nameof(TextField.VerticalAlignment), typeof(VerticalAlignment), typeof(TextField), VerticalAlignment.Bottom, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
307 var textField = (TextField)bindable;
308 if (newValue != null)
310 #if NUI_PROPERTY_CHANGE_2
311 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.VerticalAlignment, (int)newValue);
313 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.VerticalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
317 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
319 var textField = (TextField)bindable;
321 #if NUI_PROPERTY_CHANGE_2
322 temp = Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.VerticalAlignment);
324 if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.VerticalAlignment).Get(out temp) == false)
326 NUILog.Error("VerticalAlignment get error!");
329 return temp.GetValueByDescription<VerticalAlignment>();
331 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
332 [EditorBrowsable(EditorBrowsableState.Never)]
333 public static readonly BindableProperty TextColorProperty = BindableProperty.Create(nameof(TextField.TextColor), typeof(Color), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
335 var textField = (TextField)bindable;
336 if (newValue != null)
338 #if NUI_PROPERTY_CHANGE_2
339 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.TextColor, ((Color)newValue).SwigCPtr);
341 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TextColor, new Tizen.NUI.PropertyValue((Color)newValue));
345 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
347 var textField = (TextField)bindable;
348 #if NUI_PROPERTY_CHANGE_2
349 if (textField.internalTextColor == null)
351 textField.internalTextColor = new Color(0, 0, 0, 0);
353 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.TextColor, textField.internalTextColor.SwigCPtr);
354 return textField.internalTextColor;
357 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
358 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TextColor).Get(temp);
362 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
363 [EditorBrowsable(EditorBrowsableState.Never)]
364 public static readonly BindableProperty PlaceholderTextColorProperty = BindableProperty.Create(nameof(TextField.PlaceholderTextColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
366 var textField = (TextField)bindable;
367 if (newValue != null)
369 #if NUI_PROPERTY_CHANGE_2
370 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.PlaceholderTextColor, ((Vector4)newValue).SwigCPtr);
372 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
376 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
378 var textField = (TextField)bindable;
379 #if NUI_PROPERTY_CHANGE_2
380 if (textField.internalPlaceholderTextColor == null)
382 textField.internalPlaceholderTextColor = new Vector4(0, 0, 0, 0);
384 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.PlaceholderTextColor, textField.internalPlaceholderTextColor.SwigCPtr);
385 return textField.internalPlaceholderTextColor;
387 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
388 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextColor).Get(temp);
392 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
393 [EditorBrowsable(EditorBrowsableState.Never)]
394 public static readonly BindableProperty EnableGrabHandleProperty = BindableProperty.Create(nameof(TextField.EnableGrabHandle), typeof(bool), typeof(TextField), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
396 var textField = (TextField)bindable;
397 if (newValue != null)
399 #if NUI_PROPERTY_CHANGE_2
400 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandle, (bool)newValue);
402 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandle, new Tizen.NUI.PropertyValue((bool)newValue));
406 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
408 var textField = (TextField)bindable;
409 #if NUI_PROPERTY_CHANGE_2
410 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandle);
413 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandle).Get(out temp);
417 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
418 [EditorBrowsable(EditorBrowsableState.Never)]
419 public static readonly BindableProperty EnableGrabHandlePopupProperty = BindableProperty.Create(nameof(TextField.EnableGrabHandlePopup), typeof(bool), typeof(TextField), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
421 var textField = (TextField)bindable;
422 if (newValue != null)
424 #if NUI_PROPERTY_CHANGE_2
425 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup, (bool)newValue);
427 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup, new Tizen.NUI.PropertyValue((bool)newValue));
431 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
433 var textField = (TextField)bindable;
434 #if NUI_PROPERTY_CHANGE_2
435 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup);
438 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup).Get(out temp);
442 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
443 [EditorBrowsable(EditorBrowsableState.Never)]
444 public static readonly BindableProperty PrimaryCursorColorProperty = BindableProperty.Create(nameof(TextField.PrimaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
446 var textField = (TextField)bindable;
447 if (newValue != null)
449 #if NUI_PROPERTY_CHANGE_2
450 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.PrimaryCursorColor, ((Vector4)newValue).SwigCPtr);
452 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PrimaryCursorColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
456 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
458 var textField = (TextField)bindable;
459 #if NUI_PROPERTY_CHANGE_2
460 if (textField.internalPrimaryCursorColor == null)
462 textField.internalPrimaryCursorColor = new Vector4(0, 0, 0, 0);
464 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.PrimaryCursorColor, textField.internalPrimaryCursorColor.SwigCPtr);
465 return textField.internalPrimaryCursorColor;
467 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
468 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PrimaryCursorColor).Get(temp);
472 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
473 [EditorBrowsable(EditorBrowsableState.Never)]
474 public static readonly BindableProperty SecondaryCursorColorProperty = BindableProperty.Create(nameof(TextField.SecondaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
476 var textField = (TextField)bindable;
477 if (newValue != null)
479 #if NUI_PROPERTY_CHANGE_2
480 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.SecondaryCursorColor, ((Vector4)newValue).SwigCPtr);
482 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SecondaryCursorColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
486 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
488 var textField = (TextField)bindable;
489 #if NUI_PROPERTY_CHANGE_2
490 if (textField.internalSecondaryCursorColor == null)
492 textField.internalSecondaryCursorColor = new Vector4(0, 0, 0, 0);
494 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.SecondaryCursorColor, textField.internalSecondaryCursorColor.SwigCPtr);
495 return textField.internalSecondaryCursorColor;
497 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
498 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SecondaryCursorColor).Get(temp);
502 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
503 [EditorBrowsable(EditorBrowsableState.Never)]
504 public static readonly BindableProperty EnableCursorBlinkProperty = BindableProperty.Create(nameof(TextField.EnableCursorBlink), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
506 var textField = (TextField)bindable;
507 if (newValue != null)
509 #if NUI_PROPERTY_CHANGE_2
510 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableCursorBlink, (bool)newValue);
512 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableCursorBlink, new Tizen.NUI.PropertyValue((bool)newValue));
516 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
518 var textField = (TextField)bindable;
519 #if NUI_PROPERTY_CHANGE_2
520 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableCursorBlink);
523 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableCursorBlink).Get(out temp);
527 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
528 [EditorBrowsable(EditorBrowsableState.Never)]
529 public static readonly BindableProperty CursorBlinkIntervalProperty = BindableProperty.Create(nameof(TextField.CursorBlinkInterval), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
531 var textField = (TextField)bindable;
532 if (newValue != null)
534 #if NUI_PROPERTY_CHANGE_2
535 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkInterval, (float)newValue);
537 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkInterval, new Tizen.NUI.PropertyValue((float)newValue));
541 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
543 var textField = (TextField)bindable;
544 #if NUI_PROPERTY_CHANGE_2
545 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkInterval);
548 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkInterval).Get(out temp);
552 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
553 [EditorBrowsable(EditorBrowsableState.Never)]
554 public static readonly BindableProperty CursorBlinkDurationProperty = BindableProperty.Create(nameof(TextField.CursorBlinkDuration), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
556 var textField = (TextField)bindable;
557 if (newValue != null)
559 #if NUI_PROPERTY_CHANGE_2
560 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkDuration, (float)newValue);
562 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkDuration, new Tizen.NUI.PropertyValue((float)newValue));
566 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
568 var textField = (TextField)bindable;
569 #if NUI_PROPERTY_CHANGE_2
570 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkDuration);
573 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkDuration).Get(out temp);
577 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
578 [EditorBrowsable(EditorBrowsableState.Never)]
579 public static readonly BindableProperty CursorWidthProperty = BindableProperty.Create(nameof(TextField.CursorWidth), typeof(int), typeof(TextField), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
581 var textField = (TextField)bindable;
582 if (newValue != null)
584 #if NUI_PROPERTY_CHANGE_2
585 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.CursorWidth, (int)newValue);
587 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorWidth, new Tizen.NUI.PropertyValue((int)newValue));
591 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
593 var textField = (TextField)bindable;
594 #if NUI_PROPERTY_CHANGE_2
595 return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.CursorWidth);
598 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorWidth).Get(out temp);
602 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
603 [EditorBrowsable(EditorBrowsableState.Never)]
604 public static readonly BindableProperty GrabHandleImageProperty = BindableProperty.Create(nameof(TextField.GrabHandleImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
606 var textField = (TextField)bindable;
607 if (newValue != null)
609 #if NUI_PROPERTY_CHANGE_2
610 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandleImage, (string)newValue);
612 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleImage, new Tizen.NUI.PropertyValue((string)newValue));
616 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
618 var textField = (TextField)bindable;
619 #if NUI_PROPERTY_CHANGE_2
620 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandleImage);
623 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleImage).Get(out temp);
627 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
628 [EditorBrowsable(EditorBrowsableState.Never)]
629 public static readonly BindableProperty GrabHandlePressedImageProperty = BindableProperty.Create(nameof(TextField.GrabHandlePressedImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
631 var textField = (TextField)bindable;
632 if (newValue != null)
634 #if NUI_PROPERTY_CHANGE_2
635 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandlePressedImage, (string)newValue);
637 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandlePressedImage, new Tizen.NUI.PropertyValue((string)newValue));
641 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
643 var textField = (TextField)bindable;
644 #if NUI_PROPERTY_CHANGE_2
645 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandlePressedImage);
648 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandlePressedImage).Get(out temp);
652 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
653 [EditorBrowsable(EditorBrowsableState.Never)]
654 public static readonly BindableProperty ScrollThresholdProperty = BindableProperty.Create(nameof(TextField.ScrollThreshold), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
656 var textField = (TextField)bindable;
657 if (newValue != null)
659 #if NUI_PROPERTY_CHANGE_2
660 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollThreshold, (float)newValue);
662 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollThreshold, new Tizen.NUI.PropertyValue((float)newValue));
666 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
668 var textField = (TextField)bindable;
669 #if NUI_PROPERTY_CHANGE_2
670 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollThreshold);
673 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollThreshold).Get(out temp);
677 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
678 [EditorBrowsable(EditorBrowsableState.Never)]
679 public static readonly BindableProperty ScrollSpeedProperty = BindableProperty.Create(nameof(TextField.ScrollSpeed), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
681 var textField = (TextField)bindable;
682 if (newValue != null)
684 #if NUI_PROPERTY_CHANGE_2
685 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollSpeed, (float)newValue);
687 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollSpeed, new Tizen.NUI.PropertyValue((float)newValue));
691 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
693 var textField = (TextField)bindable;
694 #if NUI_PROPERTY_CHANGE_2
695 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollSpeed);
698 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollSpeed).Get(out temp);
703 [EditorBrowsable(EditorBrowsableState.Never)]
704 public static readonly BindableProperty SelectionPopupStyleProperty = BindableProperty.Create(nameof(SelectionPopupStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
706 var textField = (TextField)bindable;
707 if (newValue != null)
709 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionPopupStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
712 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
714 var textField = (TextField)bindable;
715 PropertyMap temp = new PropertyMap();
716 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionPopupStyle).Get(temp);
720 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
721 [EditorBrowsable(EditorBrowsableState.Never)]
722 public static readonly BindableProperty SelectionHandleImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
724 var textField = (TextField)bindable;
725 if (newValue != null)
727 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
730 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
732 var textField = (TextField)bindable;
733 PropertyMap temp = new PropertyMap();
734 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageLeft).Get(temp);
737 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
738 [EditorBrowsable(EditorBrowsableState.Never)]
739 public static readonly BindableProperty SelectionHandleImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
741 var textField = (TextField)bindable;
742 if (newValue != null)
744 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
747 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
749 var textField = (TextField)bindable;
750 PropertyMap temp = new PropertyMap();
751 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleImageRight).Get(temp);
754 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
755 [EditorBrowsable(EditorBrowsableState.Never)]
756 public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
758 var textField = (TextField)bindable;
759 if (newValue != null)
761 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
764 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
766 var textField = (TextField)bindable;
767 PropertyMap temp = new PropertyMap();
768 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageLeft).Get(temp);
771 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
772 [EditorBrowsable(EditorBrowsableState.Never)]
773 public static readonly BindableProperty SelectionHandlePressedImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
775 var textField = (TextField)bindable;
776 if (newValue != null)
778 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
781 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
783 var textField = (TextField)bindable;
784 PropertyMap temp = new PropertyMap();
785 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandlePressedImageRight).Get(temp);
788 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
789 [EditorBrowsable(EditorBrowsableState.Never)]
790 public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
792 var textField = (TextField)bindable;
793 if (newValue != null)
795 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
798 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
800 var textField = (TextField)bindable;
801 PropertyMap temp = new PropertyMap();
802 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageLeft).Get(temp);
805 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
806 [EditorBrowsable(EditorBrowsableState.Never)]
807 public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
809 var textField = (TextField)bindable;
810 if (newValue != null)
812 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
815 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
817 var textField = (TextField)bindable;
818 PropertyMap temp = new PropertyMap();
819 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHandleMarkerImageRight).Get(temp);
822 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
823 [EditorBrowsable(EditorBrowsableState.Never)]
824 public static readonly BindableProperty SelectionHighlightColorProperty = BindableProperty.Create(nameof(TextField.SelectionHighlightColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
826 var textField = (TextField)bindable;
827 if (newValue != null)
829 #if NUI_PROPERTY_CHANGE_2
830 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.SelectionHighlightColor, ((Vector4)newValue).SwigCPtr);
832 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHighlightColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
836 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
838 var textField = (TextField)bindable;
839 #if NUI_PROPERTY_CHANGE_2
840 if (textField.internalSelectionHighlightColor == null)
842 textField.internalSelectionHighlightColor = new Vector4(0, 0, 0, 0);
844 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.SelectionHighlightColor, textField.internalSelectionHighlightColor.SwigCPtr);
845 return textField.internalSelectionHighlightColor;
847 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
848 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHighlightColor).Get(temp);
852 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
853 [EditorBrowsable(EditorBrowsableState.Never)]
854 public static readonly BindableProperty DecorationBoundingBoxProperty = BindableProperty.Create(nameof(TextField.DecorationBoundingBox), typeof(Rectangle), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
856 var textField = (TextField)bindable;
857 if (newValue != null)
859 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.DecorationBoundingBox, new Tizen.NUI.PropertyValue((Rectangle)newValue));
862 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
864 var textField = (TextField)bindable;
865 Rectangle temp = new Rectangle(0, 0, 0, 0);
866 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.DecorationBoundingBox).Get(temp);
869 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
870 [EditorBrowsable(EditorBrowsableState.Never)]
871 public static readonly BindableProperty InputMethodSettingsProperty = BindableProperty.Create(nameof(TextField.InputMethodSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
873 var textField = (TextField)bindable;
874 if (newValue != null)
876 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputMethodSettings, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
879 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
881 var textField = (TextField)bindable;
882 PropertyMap temp = new PropertyMap();
883 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputMethodSettings).Get(temp);
886 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
887 [EditorBrowsable(EditorBrowsableState.Never)]
888 public static readonly BindableProperty InputColorProperty = BindableProperty.Create(nameof(TextField.InputColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
890 var textField = (TextField)bindable;
891 if (newValue != null)
893 #if NUI_PROPERTY_CHANGE_2
894 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.InputColor, ((Vector4)newValue).SwigCPtr);
896 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
900 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
902 var textField = (TextField)bindable;
903 #if NUI_PROPERTY_CHANGE_2
904 if (textField.internalInputColor == null)
906 textField.internalInputColor = new Vector4(0, 0, 0, 0);
908 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.InputColor, textField.internalInputColor.SwigCPtr);
909 return textField.internalInputColor;
911 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
912 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputColor).Get(temp);
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 EnableMarkupProperty = BindableProperty.Create(nameof(TextField.EnableMarkup), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
920 var textField = (TextField)bindable;
921 if (newValue != null)
923 #if NUI_PROPERTY_CHANGE_2
924 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableMarkup, (bool)newValue);
926 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableMarkup, new Tizen.NUI.PropertyValue((bool)newValue));
930 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
932 var textField = (TextField)bindable;
933 #if NUI_PROPERTY_CHANGE_2
934 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableMarkup);
937 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableMarkup).Get(out temp);
941 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
942 [EditorBrowsable(EditorBrowsableState.Never)]
943 public static readonly BindableProperty InputFontFamilyProperty = BindableProperty.Create(nameof(TextField.InputFontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
945 var textField = (TextField)bindable;
946 if (newValue != null)
948 #if NUI_PROPERTY_CHANGE_2
949 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputFontFamily, (string)newValue);
951 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontFamily, new Tizen.NUI.PropertyValue((string)newValue));
955 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
957 var textField = (TextField)bindable;
958 #if NUI_PROPERTY_CHANGE_2
959 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputFontFamily);
962 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontFamily).Get(out temp);
966 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
967 [EditorBrowsable(EditorBrowsableState.Never)]
968 public static readonly BindableProperty InputFontStyleProperty = BindableProperty.Create(nameof(TextField.InputFontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
970 var textField = (TextField)bindable;
971 if (newValue != null)
973 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
976 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
978 var textField = (TextField)bindable;
979 PropertyMap temp = new PropertyMap();
980 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontStyle).Get(temp);
983 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
984 [EditorBrowsable(EditorBrowsableState.Never)]
985 public static readonly BindableProperty InputPointSizeProperty = BindableProperty.Create(nameof(TextField.InputPointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
987 var textField = (TextField)bindable;
988 if (newValue != null)
990 #if NUI_PROPERTY_CHANGE_2
991 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.InputPointSize, (float)newValue);
993 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputPointSize, new Tizen.NUI.PropertyValue((float)newValue));
997 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
999 var textField = (TextField)bindable;
1000 #if NUI_PROPERTY_CHANGE_2
1001 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.InputPointSize);
1004 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputPointSize).Get(out temp);
1008 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1009 [EditorBrowsable(EditorBrowsableState.Never)]
1010 public static readonly BindableProperty UnderlineProperty = BindableProperty.Create(nameof(TextField.Underline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1012 var textField = (TextField)bindable;
1013 if (newValue != null)
1015 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
1018 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1020 var textField = (TextField)bindable;
1021 PropertyMap temp = new PropertyMap();
1022 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.UNDERLINE).Get(temp);
1025 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1026 [EditorBrowsable(EditorBrowsableState.Never)]
1027 public static readonly BindableProperty InputUnderlineProperty = BindableProperty.Create(nameof(TextField.InputUnderline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1029 var textField = (TextField)bindable;
1030 if (newValue != null)
1032 #if NUI_PROPERTY_CHANGE_2
1033 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputUnderline, (string)newValue);
1035 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputUnderline, new Tizen.NUI.PropertyValue((string)newValue));
1039 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1041 var textField = (TextField)bindable;
1042 #if NUI_PROPERTY_CHANGE_2
1043 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputUnderline);
1046 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputUnderline).Get(out temp);
1051 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1052 [EditorBrowsable(EditorBrowsableState.Never)]
1053 public static readonly BindableProperty ShadowProperty = BindableProperty.Create(nameof(TextField.Shadow), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1055 var textField = (TextField)bindable;
1056 if (newValue != null)
1058 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SHADOW, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
1061 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1063 var textField = (TextField)bindable;
1064 PropertyMap temp = new PropertyMap();
1065 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SHADOW).Get(temp);
1068 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1069 [EditorBrowsable(EditorBrowsableState.Never)]
1070 public static readonly BindableProperty InputShadowProperty = BindableProperty.Create(nameof(TextField.InputShadow), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1072 var textField = (TextField)bindable;
1073 if (newValue != null)
1075 #if NUI_PROPERTY_CHANGE_2
1076 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputShadow, (string)newValue);
1078 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputShadow, new Tizen.NUI.PropertyValue((string)newValue));
1082 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1084 var textField = (TextField)bindable;
1085 #if NUI_PROPERTY_CHANGE_2
1086 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputShadow);
1089 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputShadow).Get(out temp);
1093 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1094 [EditorBrowsable(EditorBrowsableState.Never)]
1095 public static readonly BindableProperty EmbossProperty = BindableProperty.Create(nameof(TextField.Emboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1097 var textField = (TextField)bindable;
1098 if (newValue != null)
1100 #if NUI_PROPERTY_CHANGE_2
1101 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.EMBOSS, (string)newValue);
1103 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue((string)newValue));
1107 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1109 var textField = (TextField)bindable;
1110 #if NUI_PROPERTY_CHANGE_2
1111 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.EMBOSS);
1114 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EMBOSS).Get(out temp);
1118 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1119 [EditorBrowsable(EditorBrowsableState.Never)]
1120 public static readonly BindableProperty InputEmbossProperty = BindableProperty.Create(nameof(TextField.InputEmboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1122 var textField = (TextField)bindable;
1123 if (newValue != null)
1125 #if NUI_PROPERTY_CHANGE_2
1126 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputEmboss, (string)newValue);
1128 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputEmboss, new Tizen.NUI.PropertyValue((string)newValue));
1132 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1134 var textField = (TextField)bindable;
1135 #if NUI_PROPERTY_CHANGE_2
1136 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputEmboss);
1139 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputEmboss).Get(out temp);
1143 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1144 [EditorBrowsable(EditorBrowsableState.Never)]
1145 public static readonly BindableProperty OutlineProperty = BindableProperty.Create(nameof(TextField.Outline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1147 var textField = (TextField)bindable;
1148 if (newValue != null)
1150 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
1153 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1155 var textField = (TextField)bindable;
1156 PropertyMap temp = new PropertyMap();
1157 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.OUTLINE).Get(temp);
1160 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1161 [EditorBrowsable(EditorBrowsableState.Never)]
1162 public static readonly BindableProperty InputOutlineProperty = BindableProperty.Create(nameof(TextField.InputOutline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1164 var textField = (TextField)bindable;
1165 if (newValue != null)
1167 #if NUI_PROPERTY_CHANGE_2
1168 Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputOutline, (string)newValue);
1170 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputOutline, new Tizen.NUI.PropertyValue((string)newValue));
1174 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1176 var textField = (TextField)bindable;
1177 #if NUI_PROPERTY_CHANGE_2
1178 return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputOutline);
1181 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputOutline).Get(out temp);
1185 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1186 [EditorBrowsable(EditorBrowsableState.Never)]
1187 public static readonly BindableProperty HiddenInputSettingsProperty = BindableProperty.Create(nameof(TextField.HiddenInputSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1189 var textField = (TextField)bindable;
1190 if (newValue != null)
1192 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HiddenInputSettings, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
1195 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1197 var textField = (TextField)bindable;
1198 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
1199 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HiddenInputSettings).Get(temp);
1202 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1203 [EditorBrowsable(EditorBrowsableState.Never)]
1204 public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(TextField.PixelSize), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1206 var textField = (TextField)bindable;
1207 if (newValue != null)
1209 #if NUI_PROPERTY_CHANGE_2
1210 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.PixelSize, (float)newValue);
1212 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PixelSize, new Tizen.NUI.PropertyValue((float)newValue));
1216 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1218 var textField = (TextField)bindable;
1219 #if NUI_PROPERTY_CHANGE_2
1220 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.PixelSize);
1223 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PixelSize).Get(out temp);
1227 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1228 [EditorBrowsable(EditorBrowsableState.Never)]
1229 public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create(nameof(TextField.EnableSelection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1231 var textField = (TextField)bindable;
1232 if (newValue != null)
1234 #if NUI_PROPERTY_CHANGE_2
1235 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableSelection, (bool)newValue);
1237 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableSelection, new Tizen.NUI.PropertyValue((bool)newValue));
1241 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1243 var textField = (TextField)bindable;
1244 #if NUI_PROPERTY_CHANGE_2
1245 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableSelection);
1248 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableSelection).Get(out temp);
1252 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1253 [EditorBrowsable(EditorBrowsableState.Never)]
1254 public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create(nameof(TextField.Placeholder), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1256 var textField = (TextField)bindable;
1257 if (newValue != null)
1259 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PLACEHOLDER, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
1262 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1264 var textField = (TextField)bindable;
1265 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
1266 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PLACEHOLDER).Get(temp);
1269 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1270 [EditorBrowsable(EditorBrowsableState.Never)]
1271 public static readonly BindableProperty EllipsisProperty = BindableProperty.Create(nameof(TextField.Ellipsis), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1273 var textField = (TextField)bindable;
1274 if (newValue != null)
1276 #if NUI_PROPERTY_CHANGE_2
1277 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.ELLIPSIS, (bool)newValue);
1279 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ELLIPSIS, new Tizen.NUI.PropertyValue((bool)newValue));
1283 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1285 var textField = (TextField)bindable;
1286 #if NUI_PROPERTY_CHANGE_2
1287 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.ELLIPSIS);
1290 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ELLIPSIS).Get(out temp);
1294 /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1295 [EditorBrowsable(EditorBrowsableState.Never)]
1296 public static readonly BindableProperty EllipsisPositionProperty = BindableProperty.Create(nameof(EllipsisPosition), typeof(EllipsisPosition), typeof(TextField), EllipsisPosition.End, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1298 var textField = (TextField)bindable;
1299 if (newValue != null)
1301 #if NUI_PROPERTY_CHANGE_2
1302 Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.EllipsisPosition, (int)newValue);
1304 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EllipsisPosition, new Tizen.NUI.PropertyValue((int)newValue));
1308 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1310 var textField = (TextField)bindable;
1311 #if NUI_PROPERTY_CHANGE_2
1312 return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.EllipsisPosition);
1315 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EllipsisPosition).Get(out temp);
1316 return (EllipsisPosition)temp;
1319 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1320 [EditorBrowsable(EditorBrowsableState.Never)]
1321 public static readonly BindableProperty EnableShiftSelectionProperty = BindableProperty.Create(nameof(TextField.EnableShiftSelection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1323 var textField = (TextField)bindable;
1324 if (newValue != null)
1326 #if NUI_PROPERTY_CHANGE_2
1327 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableShiftSelection, (bool)newValue);
1329 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableShiftSelection, new Tizen.NUI.PropertyValue((bool)newValue));
1333 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1335 var textField = (TextField)bindable;
1336 #if NUI_PROPERTY_CHANGE_2
1337 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableShiftSelection);
1340 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableShiftSelection).Get(out temp);
1344 /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1345 [EditorBrowsable(EditorBrowsableState.Never)]
1346 public static readonly BindableProperty MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(TextField.MatchSystemLanguageDirection), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1348 var textField = (TextField)bindable;
1349 if (newValue != null)
1351 #if NUI_PROPERTY_CHANGE_2
1352 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection, (bool)newValue);
1354 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection, new Tizen.NUI.PropertyValue((bool)newValue));
1358 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1360 var textField = (TextField)bindable;
1361 #if NUI_PROPERTY_CHANGE_2
1362 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection);
1365 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection).Get(out temp);
1370 [EditorBrowsable(EditorBrowsableState.Never)]
1371 public static readonly BindableProperty FontSizeScaleProperty = BindableProperty.Create(nameof(FontSizeScale), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1373 var textField = (TextField)bindable;
1374 if (newValue != null)
1376 #if NUI_PROPERTY_CHANGE_2
1377 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.FontSizeScale, (float)newValue);
1379 using (var property = new Tizen.NUI.PropertyValue((float)newValue))
1381 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontSizeScale, property);
1386 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1388 var textField = (TextField)bindable;
1389 #if NUI_PROPERTY_CHANGE_2
1390 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.FontSizeScale);
1393 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontSizeScale).Get(out temp);
1398 [EditorBrowsable(EditorBrowsableState.Never)]
1399 public static readonly BindableProperty EnableFontSizeScaleProperty = BindableProperty.Create(nameof(EnableFontSizeScale), typeof(bool), typeof(TextField), default(bool), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1401 var textField = (TextField)bindable;
1402 if (newValue != null)
1404 #if NUI_PROPERTY_CHANGE_2
1405 Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableFontSizeScale, (bool)newValue);
1407 using (var property = new Tizen.NUI.PropertyValue((bool)newValue))
1409 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableFontSizeScale, property);
1414 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1416 var textField = (TextField)bindable;
1417 #if NUI_PROPERTY_CHANGE_2
1418 return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableFontSizeScale);
1421 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableFontSizeScale).Get(out temp);
1426 /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1427 [EditorBrowsable(EditorBrowsableState.Never)]
1428 public static readonly BindableProperty GrabHandleColorProperty = BindableProperty.Create(nameof(TextField.GrabHandleColor), typeof(Color), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1430 var textField = (TextField)bindable;
1431 if (newValue != null)
1433 #if NUI_PROPERTY_CHANGE_2
1434 Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.GrabHandleColor, ((Color)newValue).SwigCPtr);
1436 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleColor, new Tizen.NUI.PropertyValue((Color)newValue));
1440 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1442 var textField = (TextField)bindable;
1443 #if NUI_PROPERTY_CHANGE_2
1444 if (textField.internalGrabHandleColor == null)
1446 textField.internalGrabHandleColor = new Color(0, 0, 0, 0);
1448 Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.GrabHandleColor, textField.internalGrabHandleColor.SwigCPtr);
1449 return textField.internalGrabHandleColor;
1451 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
1452 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleColor).Get(temp);
1458 /// ShadowOffsetProperty
1460 [EditorBrowsable(EditorBrowsableState.Never)]
1461 public static readonly BindableProperty ShadowOffsetProperty = BindableProperty.Create(nameof(ShadowOffset), typeof(Tizen.NUI.Vector2), typeof(Tizen.NUI.BaseComponents.TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
1463 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1464 if (newValue != null)
1466 instance.InternalShadowOffset = (Tizen.NUI.Vector2)newValue;
1469 defaultValueCreator: (bindable) =>
1471 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1472 return instance.InternalShadowOffset;
1476 /// ShadowColorProperty
1478 [EditorBrowsable(EditorBrowsableState.Never)]
1479 public static readonly BindableProperty ShadowColorProperty = BindableProperty.Create(nameof(ShadowColor), typeof(Tizen.NUI.Vector4), typeof(Tizen.NUI.BaseComponents.TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
1481 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1482 if (newValue != null)
1484 instance.InternalShadowColor = (Tizen.NUI.Vector4)newValue;
1487 defaultValueCreator: (bindable) =>
1489 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1490 return instance.InternalShadowColor;
1494 /// EnableEditingProperty
1496 [EditorBrowsable(EditorBrowsableState.Never)]
1497 public static readonly BindableProperty EnableEditingProperty = BindableProperty.Create(nameof(EnableEditing), typeof(bool), typeof(Tizen.NUI.BaseComponents.TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
1499 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1500 if (newValue != null)
1502 instance.InternalEnableEditing = (bool)newValue;
1505 defaultValueCreator: (bindable) =>
1507 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1508 return instance.InternalEnableEditing;
1512 /// PrimaryCursorPositionProperty
1514 [EditorBrowsable(EditorBrowsableState.Never)]
1515 public static readonly BindableProperty PrimaryCursorPositionProperty = BindableProperty.Create(nameof(PrimaryCursorPosition), typeof(int), typeof(Tizen.NUI.BaseComponents.TextField), 0, propertyChanged: (bindable, oldValue, newValue) =>
1517 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1518 if (newValue != null)
1520 instance.InternalPrimaryCursorPosition = (int)newValue;
1523 defaultValueCreator: (bindable) =>
1525 var instance = (Tizen.NUI.BaseComponents.TextField)bindable;
1526 return instance.InternalPrimaryCursorPosition;
1528 /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1529 [EditorBrowsable(EditorBrowsableState.Never)]
1530 public static readonly BindableProperty CharacterSpacingProperty = BindableProperty.Create(nameof(CharacterSpacing), typeof(float), typeof(TextField), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
1532 var textField = (TextField)bindable;
1533 if (newValue != null)
1535 #if NUI_PROPERTY_CHANGE_2
1536 Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CharacterSpacing, (float)newValue);
1538 Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CharacterSpacing, new Tizen.NUI.PropertyValue((float)newValue));
1542 defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
1544 var textField = (TextField)bindable;
1545 #if NUI_PROPERTY_CHANGE_2
1546 return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CharacterSpacing);
1549 Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CharacterSpacing).Get(out temp);