2 * Copyright(c) 2018 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.
17 extern alias TizenSystemSettings;
18 using TizenSystemSettings.Tizen.System;
21 using System.Runtime.InteropServices;
22 using System.Globalization;
23 using System.ComponentModel;
24 using Tizen.NUI.XamlBinding;
25 using static Tizen.NUI.BaseComponents.TextField;
28 namespace Tizen.NUI.Xaml.Forms.BaseComponents
31 /// A control which provides a single line editable text field.
33 /// <since_tizen> 6 </since_tizen>
34 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
35 [EditorBrowsable(EditorBrowsableState.Never)]
36 public class TextField : View
38 private Tizen.NUI.BaseComponents.TextField _textField;
39 internal Tizen.NUI.BaseComponents.TextField textField
43 if (null == _textField)
45 _textField = handleInstance as Tizen.NUI.BaseComponents.TextField;
55 /// <since_tizen> 6 </since_tizen>
56 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
57 [EditorBrowsable(EditorBrowsableState.Never)]
58 public TextField() : this(new Tizen.NUI.BaseComponents.TextField())
62 internal TextField(Tizen.NUI.BaseComponents.TextField nuiInstance) : base(nuiInstance)
64 SetNUIInstance(nuiInstance);
67 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
68 [EditorBrowsable(EditorBrowsableState.Never)]
69 public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
71 var textField = ((TextField)bindable).textField;
72 textField.Text = (string)newValue;
74 defaultValueCreator: (bindable) =>
76 var textField = ((TextField)bindable).textField;
77 return textField.Text;
79 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
80 [EditorBrowsable(EditorBrowsableState.Never)]
81 public static readonly BindableProperty PlaceholderTextProperty = BindableProperty.Create(nameof(PlaceholderText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
83 var textField = ((TextField)bindable).textField;
84 textField.PlaceholderText = (string)newValue;
86 defaultValueCreator: (bindable) =>
88 var textField = ((TextField)bindable).textField;
89 return textField.PlaceholderText;
91 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
92 [EditorBrowsable(EditorBrowsableState.Never)]
93 public static readonly BindableProperty PlaceholderTextFocusedProperty = BindableProperty.Create(nameof(PlaceholderTextFocused), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
95 var textField = ((TextField)bindable).textField;
96 textField.PlaceholderTextFocused = (string)newValue;
98 defaultValueCreator: (bindable) =>
100 var textField = ((TextField)bindable).textField;
101 return textField.PlaceholderTextFocused;
103 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
104 [EditorBrowsable(EditorBrowsableState.Never)]
105 public static readonly BindableProperty FontFamilyProperty = BindableProperty.Create(nameof(FontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
107 var textField = ((TextField)bindable).textField;
108 textField.FontFamily = (string)newValue;
110 defaultValueCreator: (bindable) =>
112 var textField = ((TextField)bindable).textField;
113 return textField.FontFamily;
115 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
116 [EditorBrowsable(EditorBrowsableState.Never)]
117 public static readonly BindableProperty FontStyleProperty = BindableProperty.Create(nameof(FontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
119 var textField = ((TextField)bindable).textField;
120 textField.FontStyle = (PropertyMap)newValue;
122 defaultValueCreator: (bindable) =>
124 var textField = ((TextField)bindable).textField;
125 return textField.FontStyle;
127 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
128 [EditorBrowsable(EditorBrowsableState.Never)]
129 public static readonly BindableProperty PointSizeProperty = BindableProperty.Create(nameof(PointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
131 var textField = ((TextField)bindable).textField;
132 textField.PointSize = (float)newValue;
134 defaultValueCreator: (bindable) =>
136 var textField = ((TextField)bindable).textField;
137 return textField.PointSize;
139 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
140 [EditorBrowsable(EditorBrowsableState.Never)]
141 public static readonly BindableProperty MaxLengthProperty = BindableProperty.Create(nameof(MaxLength), typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
143 var textField = ((TextField)bindable).textField;
144 textField.MaxLength = (int)newValue;
146 defaultValueCreator: (bindable) =>
148 var textField = ((TextField)bindable).textField;
149 return textField.MaxLength;
151 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
152 [EditorBrowsable(EditorBrowsableState.Never)]
153 public static readonly BindableProperty ExceedPolicyProperty = BindableProperty.Create(nameof(ExceedPolicy), typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
155 var textField = ((TextField)bindable).textField;
156 textField.ExceedPolicy = (int)newValue;
158 defaultValueCreator: (bindable) =>
160 var textField = ((TextField)bindable).textField;
161 return textField.ExceedPolicy;
163 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
164 [EditorBrowsable(EditorBrowsableState.Never)]
165 public static readonly BindableProperty HorizontalAlignmentProperty = BindableProperty.Create(nameof(HorizontalAlignment), typeof(HorizontalAlignment), typeof(TextField), HorizontalAlignment.Begin, propertyChanged: (bindable, oldValue, newValue) =>
167 var textField = ((TextField)bindable).textField;
168 textField.HorizontalAlignment = (HorizontalAlignment)newValue;
170 defaultValueCreator: (bindable) =>
172 var textField = ((TextField)bindable).textField;
173 return textField.HorizontalAlignment;
175 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
176 [EditorBrowsable(EditorBrowsableState.Never)]
177 public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.Create(nameof(TextField.VerticalAlignment), typeof(VerticalAlignment), typeof(TextField), VerticalAlignment.Bottom, propertyChanged: (bindable, oldValue, newValue) =>
179 var textField = ((TextField)bindable).textField;
180 textField.VerticalAlignment = (VerticalAlignment)newValue;
182 defaultValueCreator: (bindable) =>
184 var textField = ((TextField)bindable).textField;
185 return textField.VerticalAlignment;
187 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
188 [EditorBrowsable(EditorBrowsableState.Never)]
189 public static readonly BindableProperty TextColorProperty = BindableProperty.Create(nameof(TextField.TextColor), typeof(Color), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
191 var textField = ((TextField)bindable).textField;
192 textField.TextColor = (Color)newValue;
194 defaultValueCreator: (bindable) =>
196 var textField = ((TextField)bindable).textField;
197 return textField.TextColor;
199 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
200 [EditorBrowsable(EditorBrowsableState.Never)]
201 public static readonly BindableProperty PlaceholderTextColorProperty = BindableProperty.Create(nameof(TextField.PlaceholderTextColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
203 var textField = ((TextField)bindable).textField;
204 textField.PlaceholderTextColor = (Vector4)newValue;
206 defaultValueCreator: (bindable) =>
208 var textField = ((TextField)bindable).textField;
209 return textField.PlaceholderTextColor;
211 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
212 [EditorBrowsable(EditorBrowsableState.Never)]
213 public static readonly BindableProperty PrimaryCursorColorProperty = BindableProperty.Create("PrimaryCursorColor", typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
215 var textField = ((TextField)bindable).textField;
216 textField.PrimaryCursorColor = (Vector4)newValue;
218 defaultValueCreator: (bindable) =>
220 var textField = ((TextField)bindable).textField;
221 return textField.PrimaryCursorColor;
223 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
224 [EditorBrowsable(EditorBrowsableState.Never)]
225 public static readonly BindableProperty SecondaryCursorColorProperty = BindableProperty.Create(nameof(TextField.SecondaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
227 var textField = ((TextField)bindable).textField;
228 textField.SecondaryCursorColor = (Vector4)newValue;
230 defaultValueCreator: (bindable) =>
232 var textField = ((TextField)bindable).textField;
233 return textField.SecondaryCursorColor;
235 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
236 [EditorBrowsable(EditorBrowsableState.Never)]
237 public static readonly BindableProperty EnableCursorBlinkProperty = BindableProperty.Create(nameof(TextField.EnableCursorBlink), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
239 var textField = ((TextField)bindable).textField;
240 textField.EnableCursorBlink = (bool)newValue;
242 defaultValueCreator: (bindable) =>
244 var textField = ((TextField)bindable).textField;
245 return textField.EnableCursorBlink;
247 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
248 [EditorBrowsable(EditorBrowsableState.Never)]
249 public static readonly BindableProperty CursorBlinkIntervalProperty = BindableProperty.Create(nameof(TextField.CursorBlinkInterval), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
251 var textField = ((TextField)bindable).textField;
252 textField.CursorBlinkInterval = (float)newValue;
254 defaultValueCreator: (bindable) =>
256 var textField = ((TextField)bindable).textField;
257 return textField.CursorBlinkInterval;
259 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
260 [EditorBrowsable(EditorBrowsableState.Never)]
261 public static readonly BindableProperty CursorBlinkDurationProperty = BindableProperty.Create(nameof(TextField.CursorBlinkDuration), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
263 var textField = ((TextField)bindable).textField;
264 textField.CursorBlinkDuration = (float)newValue;
266 defaultValueCreator: (bindable) =>
268 var textField = ((TextField)bindable).textField;
269 return textField.CursorBlinkDuration;
271 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
272 [EditorBrowsable(EditorBrowsableState.Never)]
273 public static readonly BindableProperty CursorWidthProperty = BindableProperty.Create(nameof(TextField.CursorWidth), typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
275 var textField = ((TextField)bindable).textField;
276 textField.CursorWidth = (int)newValue;
278 defaultValueCreator: (bindable) =>
280 var textField = ((TextField)bindable).textField;
281 return textField.CursorWidth;
283 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
284 [EditorBrowsable(EditorBrowsableState.Never)]
285 public static readonly BindableProperty GrabHandleImageProperty = BindableProperty.Create(nameof(TextField.GrabHandleImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
287 var textField = ((TextField)bindable).textField;
288 textField.GrabHandleImage = (string)newValue;
290 defaultValueCreator: (bindable) =>
292 var textField = ((TextField)bindable).textField;
293 return textField.GrabHandleImage;
295 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
296 [EditorBrowsable(EditorBrowsableState.Never)]
297 public static readonly BindableProperty GrabHandlePressedImageProperty = BindableProperty.Create(nameof(TextField.GrabHandlePressedImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
299 var textField = ((TextField)bindable).textField;
300 textField.GrabHandlePressedImage = (string)newValue;
302 defaultValueCreator: (bindable) =>
304 var textField = ((TextField)bindable).textField;
305 return textField.GrabHandlePressedImage;
307 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
308 [EditorBrowsable(EditorBrowsableState.Never)]
309 public static readonly BindableProperty ScrollThresholdProperty = BindableProperty.Create(nameof(TextField.ScrollThreshold), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
311 var textField = ((TextField)bindable).textField;
312 textField.ScrollThreshold = (float)newValue;
314 defaultValueCreator: (bindable) =>
316 var textField = ((TextField)bindable).textField;
317 return textField.ScrollThreshold;
319 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
320 [EditorBrowsable(EditorBrowsableState.Never)]
321 public static readonly BindableProperty ScrollSpeedProperty = BindableProperty.Create(nameof(TextField.ScrollSpeed), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
323 var textField = ((TextField)bindable).textField;
324 textField.ScrollSpeed = (float)newValue;
326 defaultValueCreator: (bindable) =>
328 var textField = ((TextField)bindable).textField;
329 return textField.ScrollSpeed;
331 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
332 [EditorBrowsable(EditorBrowsableState.Never)]
333 public static readonly BindableProperty SelectionHandleImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
335 var textField = ((TextField)bindable).textField;
336 textField.SelectionHandleImageLeft = (PropertyMap)newValue;
338 defaultValueCreator: (bindable) =>
340 var textField = ((TextField)bindable).textField;
341 return textField.SelectionHandleImageLeft;
343 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
344 [EditorBrowsable(EditorBrowsableState.Never)]
345 public static readonly BindableProperty SelectionHandleImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
347 var textField = ((TextField)bindable).textField;
348 textField.SelectionHandleImageLeft = (PropertyMap)newValue;
350 defaultValueCreator: (bindable) =>
352 var textField = ((TextField)bindable).textField;
353 return textField.SelectionHandleImageLeft;
355 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
356 [EditorBrowsable(EditorBrowsableState.Never)]
357 public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
359 var textField = ((TextField)bindable).textField;
360 textField.SelectionHandlePressedImageLeft = (PropertyMap)newValue;
362 defaultValueCreator: (bindable) =>
364 var textField = ((TextField)bindable).textField;
365 return textField.SelectionHandlePressedImageLeft;
367 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
368 [EditorBrowsable(EditorBrowsableState.Never)]
369 public static readonly BindableProperty SelectionHandlePressedImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
371 var textField = ((TextField)bindable).textField;
372 textField.SelectionHandlePressedImageRight = (PropertyMap)newValue;
374 defaultValueCreator: (bindable) =>
376 var textField = ((TextField)bindable).textField;
377 return textField.SelectionHandlePressedImageRight;
379 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
380 [EditorBrowsable(EditorBrowsableState.Never)]
381 public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
383 var textField = ((TextField)bindable).textField;
384 textField.SelectionHandleMarkerImageLeft = (PropertyMap)newValue;
386 defaultValueCreator: (bindable) =>
388 var textField = ((TextField)bindable).textField;
389 return textField.SelectionHandleMarkerImageLeft;
391 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
392 [EditorBrowsable(EditorBrowsableState.Never)]
393 public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
395 var textField = ((TextField)bindable).textField;
396 textField.SelectionHandleMarkerImageRight = (PropertyMap)newValue;
398 defaultValueCreator: (bindable) =>
400 var textField = ((TextField)bindable).textField;
401 return textField.SelectionHandleMarkerImageRight;
403 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
404 [EditorBrowsable(EditorBrowsableState.Never)]
405 public static readonly BindableProperty SelectionHighlightColorProperty = BindableProperty.Create(nameof(TextField.SelectionHighlightColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
407 var textField = ((TextField)bindable).textField;
408 textField.SelectionHighlightColor = (Vector4)newValue;
410 defaultValueCreator: (bindable) =>
412 var textField = ((TextField)bindable).textField;
413 return textField.SelectionHighlightColor;
415 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
416 [EditorBrowsable(EditorBrowsableState.Never)]
417 public static readonly BindableProperty DecorationBoundingBoxProperty = BindableProperty.Create(nameof(TextField.DecorationBoundingBox), typeof(Rectangle), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
419 var textField = ((TextField)bindable).textField;
420 textField.DecorationBoundingBox = (Rectangle)newValue;
422 defaultValueCreator: (bindable) =>
424 var textField = ((TextField)bindable).textField;
425 return textField.DecorationBoundingBox;
427 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
428 [EditorBrowsable(EditorBrowsableState.Never)]
429 public static readonly BindableProperty InputMethodSettingsProperty = BindableProperty.Create(nameof(TextField.InputMethodSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
431 var textField = ((TextField)bindable).textField;
432 textField.InputMethodSettings = (PropertyMap)newValue;
434 defaultValueCreator: (bindable) =>
436 var textField = ((TextField)bindable).textField;
437 return textField.InputMethodSettings;
439 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
440 [EditorBrowsable(EditorBrowsableState.Never)]
441 public static readonly BindableProperty InputColorProperty = BindableProperty.Create(nameof(TextField.InputColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
443 var textField = ((TextField)bindable).textField;
444 textField.InputColor = (Vector4)newValue;
446 defaultValueCreator: (bindable) =>
448 var textField = ((TextField)bindable).textField;
449 return textField.InputColor;
451 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
452 [EditorBrowsable(EditorBrowsableState.Never)]
453 public static readonly BindableProperty EnableMarkupProperty = BindableProperty.Create(nameof(TextField.EnableMarkup), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
455 var textField = ((TextField)bindable).textField;
456 textField.EnableMarkup = (bool)newValue;
458 defaultValueCreator: (bindable) =>
460 var textField = ((TextField)bindable).textField;
461 return textField.EnableMarkup;
463 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
464 [EditorBrowsable(EditorBrowsableState.Never)]
465 public static readonly BindableProperty InputFontFamilyProperty = BindableProperty.Create(nameof(TextField.InputFontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
467 var textField = ((TextField)bindable).textField;
468 textField.InputFontFamily = (string)newValue;
470 defaultValueCreator: (bindable) =>
472 var textField = ((TextField)bindable).textField;
473 return textField.InputFontFamily;
475 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
476 [EditorBrowsable(EditorBrowsableState.Never)]
477 public static readonly BindableProperty InputFontStyleProperty = BindableProperty.Create(nameof(TextField.InputFontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
479 var textField = ((TextField)bindable).textField;
480 textField.InputFontStyle = (PropertyMap)newValue;
482 defaultValueCreator: (bindable) =>
484 var textField = ((TextField)bindable).textField;
485 return textField.InputFontStyle;
487 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
488 [EditorBrowsable(EditorBrowsableState.Never)]
489 public static readonly BindableProperty InputPointSizeProperty = BindableProperty.Create(nameof(TextField.InputPointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
491 var textField = ((TextField)bindable).textField;
492 textField.InputPointSize = (float)newValue;
494 defaultValueCreator: (bindable) =>
496 var textField = ((TextField)bindable).textField;
497 return textField.InputPointSize;
499 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
500 [EditorBrowsable(EditorBrowsableState.Never)]
501 public static readonly BindableProperty UnderlineProperty = BindableProperty.Create(nameof(TextField.Underline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
503 var textField = ((TextField)bindable).textField;
504 textField.Underline = (PropertyMap)newValue;
506 defaultValueCreator: (bindable) =>
508 var textField = ((TextField)bindable).textField;
509 return textField.Underline;
511 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
512 [EditorBrowsable(EditorBrowsableState.Never)]
513 public static readonly BindableProperty InputUnderlineProperty = BindableProperty.Create(nameof(TextField.InputUnderline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
515 var textField = ((TextField)bindable).textField;
516 textField.InputUnderline = (string)newValue;
518 defaultValueCreator: (bindable) =>
520 var textField = ((TextField)bindable).textField;
521 return textField.InputUnderline;
523 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
524 [EditorBrowsable(EditorBrowsableState.Never)]
525 public static readonly BindableProperty ShadowProperty = BindableProperty.Create(nameof(TextField.Shadow), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
527 var textField = ((TextField)bindable).textField;
528 textField.Shadow = (PropertyMap)newValue;
530 defaultValueCreator: (bindable) =>
532 var textField = ((TextField)bindable).textField;
533 return textField.Shadow;
535 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
536 [EditorBrowsable(EditorBrowsableState.Never)]
537 public static readonly BindableProperty InputShadowProperty = BindableProperty.Create(nameof(TextField.InputShadow), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
539 var textField = ((TextField)bindable).textField;
540 textField.InputShadow = (string)newValue;
542 defaultValueCreator: (bindable) =>
544 var textField = ((TextField)bindable).textField;
545 return textField.InputShadow;
547 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
548 [EditorBrowsable(EditorBrowsableState.Never)]
549 public static readonly BindableProperty EmbossProperty = BindableProperty.Create(nameof(TextField.Emboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
551 var textField = ((TextField)bindable).textField;
552 textField.Emboss = (string)newValue;
554 defaultValueCreator: (bindable) =>
556 var textField = ((TextField)bindable).textField;
557 return textField.Emboss;
559 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
560 [EditorBrowsable(EditorBrowsableState.Never)]
561 public static readonly BindableProperty InputEmbossProperty = BindableProperty.Create(nameof(TextField.InputEmboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
563 var textField = ((TextField)bindable).textField;
564 textField.InputEmboss = (string)newValue;
566 defaultValueCreator: (bindable) =>
568 var textField = ((TextField)bindable).textField;
569 return textField.InputEmboss;
571 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
572 [EditorBrowsable(EditorBrowsableState.Never)]
573 public static readonly BindableProperty OutlineProperty = BindableProperty.Create(nameof(TextField.Outline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
575 var textField = ((TextField)bindable).textField;
576 textField.Outline = (PropertyMap)newValue;
578 defaultValueCreator: (bindable) =>
580 var textField = ((TextField)bindable).textField;
581 return textField.Outline;
583 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
584 [EditorBrowsable(EditorBrowsableState.Never)]
585 public static readonly BindableProperty InputOutlineProperty = BindableProperty.Create(nameof(TextField.InputOutline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
587 var textField = ((TextField)bindable).textField;
588 textField.InputOutline = (string)newValue;
590 defaultValueCreator: (bindable) =>
592 var textField = ((TextField)bindable).textField;
593 return textField.InputOutline;
595 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
596 [EditorBrowsable(EditorBrowsableState.Never)]
597 public static readonly BindableProperty HiddenInputSettingsProperty = BindableProperty.Create(nameof(TextField.HiddenInputSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
599 var textField = ((TextField)bindable).textField;
600 textField.HiddenInputSettings = (PropertyMap)newValue;
602 defaultValueCreator: (bindable) =>
604 var textField = ((TextField)bindable).textField;
605 return textField.HiddenInputSettings;
607 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
608 [EditorBrowsable(EditorBrowsableState.Never)]
609 public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(TextField.PixelSize), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
611 var textField = ((TextField)bindable).textField;
612 textField.PixelSize = (float)newValue;
614 defaultValueCreator: (bindable) =>
616 var textField = ((TextField)bindable).textField;
617 return textField.PixelSize;
619 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
620 [EditorBrowsable(EditorBrowsableState.Never)]
621 public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create(nameof(TextField.EnableSelection), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
623 var textField = ((TextField)bindable).textField;
624 textField.EnableSelection = (bool)newValue;
626 defaultValueCreator: (bindable) =>
628 var textField = ((TextField)bindable).textField;
629 return textField.EnableSelection;
631 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
632 [EditorBrowsable(EditorBrowsableState.Never)]
633 public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create(nameof(TextField.Placeholder), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
635 var textField = ((TextField)bindable).textField;
636 textField.Placeholder = (PropertyMap)newValue;
638 defaultValueCreator: (bindable) =>
640 var textField = ((TextField)bindable).textField;
641 return textField.Placeholder;
643 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
644 [EditorBrowsable(EditorBrowsableState.Never)]
645 public static readonly BindableProperty EllipsisProperty = BindableProperty.Create(nameof(TextField.Ellipsis), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
647 var textField = ((TextField)bindable).textField;
648 textField.Ellipsis = (bool)newValue;
650 defaultValueCreator: (bindable) =>
652 var textField = ((TextField)bindable).textField;
653 return textField.Ellipsis;
655 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
656 [EditorBrowsable(EditorBrowsableState.Never)]
657 public static readonly BindableProperty EnableShiftSelectionProperty = BindableProperty.Create(nameof(TextField.EnableShiftSelection), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
659 var textField = ((TextField)bindable).textField;
660 textField.EnableShiftSelection = (bool)newValue;
662 defaultValueCreator: (bindable) =>
664 var textField = ((TextField)bindable).textField;
665 return textField.EnableShiftSelection;
667 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
668 [EditorBrowsable(EditorBrowsableState.Never)]
669 public static readonly BindableProperty MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(TextField.MatchSystemLanguageDirection), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
671 var textField = ((TextField)bindable).textField;
672 textField.MatchSystemLanguageDirection = (bool)newValue;
674 defaultValueCreator: (bindable) =>
676 var textField = ((TextField)bindable).textField;
677 return textField.MatchSystemLanguageDirection;
681 /// The TextChanged event.
683 /// <since_tizen> 6 </since_tizen>
684 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
685 [EditorBrowsable(EditorBrowsableState.Never)]
686 public event EventHandler<TextChangedEventArgs> TextChanged
690 textField.TextChanged += value;
694 textField.TextChanged -= value;
699 /// The MaxLengthReached event.
701 /// <since_tizen> 6 </since_tizen>
702 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
703 [EditorBrowsable(EditorBrowsableState.Never)]
704 public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
708 textField.MaxLengthReached += value;
712 textField.MaxLengthReached -= value;
717 /// Get the InputMethodContext instance.
719 /// <returns>The InputMethodContext instance.</returns>
720 /// <since_tizen> 6 </since_tizen>
721 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
722 [EditorBrowsable(EditorBrowsableState.Never)]
723 public InputMethodContext GetInputMethodContext()
725 return textField.GetInputMethodContext();
729 /// The TranslatableText property.<br />
730 /// The text can set the SID value.<br />
732 /// <exception cref='ArgumentNullException'>
733 /// ResourceManager about multilingual is null.
735 /// <since_tizen> 6 </since_tizen>
736 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
737 [EditorBrowsable(EditorBrowsableState.Never)]
738 public string TranslatableText
742 return textField.TranslatableText;
746 textField.TranslatableText = value;
750 /// The TranslatablePlaceholderText property.<br />
751 /// The text can set the SID value.<br />
753 /// <exception cref='ArgumentNullException'>
754 /// ResourceManager about multilingual is null.
756 /// <since_tizen> 6 </since_tizen>
757 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
758 [EditorBrowsable(EditorBrowsableState.Never)]
759 public string TranslatablePlaceholderText
763 return textField.TranslatablePlaceholderText;
767 textField.TranslatablePlaceholderText = value;
772 /// The Text property.
774 /// <since_tizen> 6 </since_tizen>
775 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
776 [EditorBrowsable(EditorBrowsableState.Never)]
781 return (string)GetValue(TextProperty);
785 SetValue(TextProperty, value);
790 /// The PlaceholderText property.
792 /// <since_tizen> 6 </since_tizen>
793 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
794 [EditorBrowsable(EditorBrowsableState.Never)]
795 public string PlaceholderText
799 return (string)GetValue(PlaceholderTextProperty);
803 SetValue(PlaceholderTextProperty, value);
808 /// The PlaceholderTextFocused property.
810 /// <since_tizen> 6 </since_tizen>
811 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
812 [EditorBrowsable(EditorBrowsableState.Never)]
813 public string PlaceholderTextFocused
817 return (string)GetValue(PlaceholderTextFocusedProperty);
821 SetValue(PlaceholderTextFocusedProperty, value);
826 /// The FontFamily property.
828 /// <since_tizen> 6 </since_tizen>
829 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
830 [EditorBrowsable(EditorBrowsableState.Never)]
831 public string FontFamily
835 return (string)GetValue(FontFamilyProperty);
839 SetValue(FontFamilyProperty, value);
844 /// The FontStyle property.
846 /// <since_tizen> 6 </since_tizen>
847 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
848 [EditorBrowsable(EditorBrowsableState.Never)]
849 public PropertyMap FontStyle
853 return (PropertyMap)GetValue(FontStyleProperty);
857 SetValue(FontStyleProperty, value);
862 /// The PointSize property.
864 /// <since_tizen> 6 </since_tizen>
865 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
866 [EditorBrowsable(EditorBrowsableState.Never)]
867 public float PointSize
871 return (float)GetValue(PointSizeProperty);
875 SetValue(PointSizeProperty, value);
880 /// The MaxLength property.
882 /// <since_tizen> 6 </since_tizen>
883 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
884 [EditorBrowsable(EditorBrowsableState.Never)]
889 return (int)GetValue(MaxLengthProperty);
893 SetValue(MaxLengthProperty, value);
898 /// The ExceedPolicy property.
900 /// <since_tizen> 6 </since_tizen>
901 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
902 [EditorBrowsable(EditorBrowsableState.Never)]
903 public int ExceedPolicy
907 return (int)GetValue(ExceedPolicyProperty);
911 SetValue(ExceedPolicyProperty, value);
916 /// The HorizontalAlignment property.
918 /// <since_tizen> 6 </since_tizen>
919 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
920 [EditorBrowsable(EditorBrowsableState.Never)]
921 public HorizontalAlignment HorizontalAlignment
925 return (HorizontalAlignment)GetValue(HorizontalAlignmentProperty);
929 SetValue(HorizontalAlignmentProperty, value);
934 /// The VerticalAlignment property.
936 /// <since_tizen> 6 </since_tizen>
937 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
938 [EditorBrowsable(EditorBrowsableState.Never)]
939 public VerticalAlignment VerticalAlignment
943 return (VerticalAlignment)GetValue(VerticalAlignmentProperty);
947 SetValue(VerticalAlignmentProperty, value);
952 /// The TextColor property.
954 /// <since_tizen> 6 </since_tizen>
955 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
956 [EditorBrowsable(EditorBrowsableState.Never)]
957 public Color TextColor
961 return (Color)GetValue(TextColorProperty);
965 SetValue(TextColorProperty, value);
970 /// The PlaceholderTextColor property.
972 /// <since_tizen> 6 </since_tizen>
973 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
974 [EditorBrowsable(EditorBrowsableState.Never)]
975 public Vector4 PlaceholderTextColor
979 return (Vector4)GetValue(PlaceholderTextColorProperty);
983 SetValue(PlaceholderTextColorProperty, value);
988 /// The PrimaryCursorColor property.
990 /// <since_tizen> 6 </since_tizen>
991 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
992 [EditorBrowsable(EditorBrowsableState.Never)]
993 public Vector4 PrimaryCursorColor
997 return (Vector4)GetValue(PrimaryCursorColorProperty);
1001 SetValue(PrimaryCursorColorProperty, value);
1006 /// The SecondaryCursorColor property.
1008 /// <since_tizen> 6 </since_tizen>
1009 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1010 [EditorBrowsable(EditorBrowsableState.Never)]
1011 public Vector4 SecondaryCursorColor
1015 return (Vector4)GetValue(SecondaryCursorColorProperty);
1019 SetValue(SecondaryCursorColorProperty, value);
1024 /// The EnableCursorBlink property.
1026 /// <since_tizen> 6 </since_tizen>
1027 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1028 [EditorBrowsable(EditorBrowsableState.Never)]
1029 public bool EnableCursorBlink
1033 return (bool)GetValue(EnableCursorBlinkProperty);
1037 SetValue(EnableCursorBlinkProperty, value);
1042 /// The CursorBlinkInterval property.
1044 /// <since_tizen> 6 </since_tizen>
1045 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1046 [EditorBrowsable(EditorBrowsableState.Never)]
1047 public float CursorBlinkInterval
1051 return (float)GetValue(CursorBlinkIntervalProperty);
1055 SetValue(CursorBlinkIntervalProperty, value);
1060 /// The CursorBlinkDuration property.
1062 /// <since_tizen> 6 </since_tizen>
1063 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1064 [EditorBrowsable(EditorBrowsableState.Never)]
1065 public float CursorBlinkDuration
1069 return (float)GetValue(CursorBlinkDurationProperty);
1073 SetValue(CursorBlinkDurationProperty, value);
1078 /// The CursorWidth property.
1080 /// <since_tizen> 6 </since_tizen>
1081 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1082 [EditorBrowsable(EditorBrowsableState.Never)]
1083 public int CursorWidth
1087 return (int)GetValue(CursorWidthProperty);
1091 SetValue(CursorWidthProperty, value);
1096 /// The GrabHandleImage property.
1098 /// <since_tizen> 6 </since_tizen>
1099 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1100 [EditorBrowsable(EditorBrowsableState.Never)]
1101 public string GrabHandleImage
1105 return (string)GetValue(GrabHandleImageProperty);
1109 SetValue(GrabHandleImageProperty, value);
1114 /// The GrabHandlePressedImage property.
1116 /// <since_tizen> 6 </since_tizen>
1117 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1118 [EditorBrowsable(EditorBrowsableState.Never)]
1119 public string GrabHandlePressedImage
1123 return (string)GetValue(GrabHandlePressedImageProperty);
1127 SetValue(GrabHandlePressedImageProperty, value);
1132 /// The ScrollThreshold property.
1134 /// <since_tizen> 6 </since_tizen>
1135 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1136 [EditorBrowsable(EditorBrowsableState.Never)]
1137 public float ScrollThreshold
1141 return (float)GetValue(ScrollThresholdProperty);
1145 SetValue(ScrollThresholdProperty, value);
1150 /// The ScrollSpeed property.
1152 /// <since_tizen> 6 </since_tizen>
1153 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1154 [EditorBrowsable(EditorBrowsableState.Never)]
1155 public float ScrollSpeed
1159 return (float)GetValue(ScrollSpeedProperty);
1163 SetValue(ScrollSpeedProperty, value);
1168 /// The SelectionHandleImageLeft property.
1170 /// <since_tizen> 6 </since_tizen>
1171 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1172 [EditorBrowsable(EditorBrowsableState.Never)]
1173 public PropertyMap SelectionHandleImageLeft
1177 return (PropertyMap)GetValue(SelectionHandleImageLeftProperty);
1181 SetValue(SelectionHandleImageLeftProperty, value);
1186 /// The SelectionHandleImageRight property.
1188 /// <since_tizen> 6 </since_tizen>
1189 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1190 [EditorBrowsable(EditorBrowsableState.Never)]
1191 public PropertyMap SelectionHandleImageRight
1195 return (PropertyMap)GetValue(SelectionHandleImageRightProperty);
1199 SetValue(SelectionHandleImageRightProperty, value);
1204 /// The SelectionHandlePressedImageLeft property.
1206 /// <since_tizen> 6 </since_tizen>
1207 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1208 [EditorBrowsable(EditorBrowsableState.Never)]
1209 public PropertyMap SelectionHandlePressedImageLeft
1213 return (PropertyMap)GetValue(SelectionHandlePressedImageLeftProperty);
1217 SetValue(SelectionHandlePressedImageLeftProperty, value);
1222 /// The SelectionHandlePressedImageRight property.
1224 /// <since_tizen> 6 </since_tizen>
1225 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1226 [EditorBrowsable(EditorBrowsableState.Never)]
1227 public PropertyMap SelectionHandlePressedImageRight
1231 return (PropertyMap)GetValue(SelectionHandlePressedImageRightProperty);
1235 SetValue(SelectionHandlePressedImageRightProperty, value);
1240 /// The SelectionHandleMarkerImageLeft property.
1242 /// <since_tizen> 6 </since_tizen>
1243 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1244 [EditorBrowsable(EditorBrowsableState.Never)]
1245 public PropertyMap SelectionHandleMarkerImageLeft
1249 return (PropertyMap)GetValue(SelectionHandleMarkerImageLeftProperty);
1253 SetValue(SelectionHandleMarkerImageLeftProperty, value);
1258 /// The SelectionHandleMarkerImageRight property.
1260 /// <since_tizen> 6 </since_tizen>
1261 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1262 [EditorBrowsable(EditorBrowsableState.Never)]
1263 public PropertyMap SelectionHandleMarkerImageRight
1267 return (PropertyMap)GetValue(SelectionHandleMarkerImageRightProperty);
1271 SetValue(SelectionHandleMarkerImageRightProperty, value);
1276 /// The SelectionHighlightColor property.
1278 /// <since_tizen> 6 </since_tizen>
1279 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1280 [EditorBrowsable(EditorBrowsableState.Never)]
1281 public Vector4 SelectionHighlightColor
1285 return (Vector4)GetValue(SelectionHighlightColorProperty);
1289 SetValue(SelectionHighlightColorProperty, value);
1294 /// The DecorationBoundingBox property.
1296 /// <since_tizen> 6 </since_tizen>
1297 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1298 [EditorBrowsable(EditorBrowsableState.Never)]
1299 public Rectangle DecorationBoundingBox
1303 return (Rectangle)GetValue(DecorationBoundingBoxProperty);
1307 SetValue(DecorationBoundingBoxProperty, value);
1312 /// The InputMethodSettings property.
1314 /// <since_tizen> 6 </since_tizen>
1315 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1316 [EditorBrowsable(EditorBrowsableState.Never)]
1317 public PropertyMap InputMethodSettings
1321 return (PropertyMap)GetValue(InputMethodSettingsProperty);
1325 SetValue(InputMethodSettingsProperty, value);
1330 /// The InputColor property.
1332 /// <since_tizen> 6 </since_tizen>
1333 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1334 [EditorBrowsable(EditorBrowsableState.Never)]
1335 public Vector4 InputColor
1339 return (Vector4)GetValue(InputColorProperty);
1343 SetValue(InputColorProperty, value);
1348 /// The EnableMarkup property.
1350 /// <since_tizen> 6 </since_tizen>
1351 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1352 [EditorBrowsable(EditorBrowsableState.Never)]
1353 public bool EnableMarkup
1357 return (bool)GetValue(EnableMarkupProperty);
1361 SetValue(EnableMarkupProperty, value);
1366 /// The InputFontFamily property.
1368 /// <since_tizen> 6 </since_tizen>
1369 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1370 [EditorBrowsable(EditorBrowsableState.Never)]
1371 public string InputFontFamily
1375 return (string)GetValue(InputFontFamilyProperty);
1379 SetValue(InputFontFamilyProperty, value);
1384 /// The InputFontStyle property.
1386 /// <since_tizen> 6 </since_tizen>
1387 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1388 [EditorBrowsable(EditorBrowsableState.Never)]
1389 public PropertyMap InputFontStyle
1393 return (PropertyMap)GetValue(InputFontStyleProperty);
1397 SetValue(InputFontStyleProperty, value);
1402 /// The InputPointSize property.
1404 /// <since_tizen> 6 </since_tizen>
1405 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1406 [EditorBrowsable(EditorBrowsableState.Never)]
1407 public float InputPointSize
1411 return (float)GetValue(InputPointSizeProperty);
1415 SetValue(InputPointSizeProperty, value);
1420 /// The Underline property.
1422 /// <since_tizen> 6 </since_tizen>
1423 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1424 [EditorBrowsable(EditorBrowsableState.Never)]
1425 public PropertyMap Underline
1429 return (PropertyMap)GetValue(UnderlineProperty);
1433 SetValue(UnderlineProperty, value);
1438 /// The InputUnderline property.
1440 /// <since_tizen> 6 </since_tizen>
1441 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1442 [EditorBrowsable(EditorBrowsableState.Never)]
1443 public string InputUnderline
1447 return (string)GetValue(InputUnderlineProperty);
1451 SetValue(InputUnderlineProperty, value);
1456 /// The Shadow property.
1458 /// <since_tizen> 6 </since_tizen>
1459 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1460 [EditorBrowsable(EditorBrowsableState.Never)]
1461 public PropertyMap Shadow
1465 return (PropertyMap)GetValue(ShadowProperty);
1469 SetValue(ShadowProperty, value);
1474 /// The InputShadow property.
1476 /// <since_tizen> 6 </since_tizen>
1477 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1478 [EditorBrowsable(EditorBrowsableState.Never)]
1479 public string InputShadow
1483 return (string)GetValue(InputShadowProperty);
1487 SetValue(InputShadowProperty, value);
1492 /// The Emboss property.
1494 /// <since_tizen> 6 </since_tizen>
1495 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1496 [EditorBrowsable(EditorBrowsableState.Never)]
1497 public string Emboss
1501 return (string)GetValue(EmbossProperty);
1505 SetValue(EmbossProperty, value);
1510 /// The InputEmboss property.
1512 /// <since_tizen> 6 </since_tizen>
1513 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1514 [EditorBrowsable(EditorBrowsableState.Never)]
1515 public string InputEmboss
1519 return (string)GetValue(InputEmbossProperty);
1523 SetValue(InputEmbossProperty, value);
1528 /// The Outline property.
1530 /// <since_tizen> 6 </since_tizen>
1531 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1532 [EditorBrowsable(EditorBrowsableState.Never)]
1533 public PropertyMap Outline
1537 return (PropertyMap)GetValue(OutlineProperty);
1541 SetValue(OutlineProperty, value);
1546 /// The InputOutline property.
1548 /// <since_tizen> 6 </since_tizen>
1549 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1550 [EditorBrowsable(EditorBrowsableState.Never)]
1551 public string InputOutline
1555 return (string)GetValue(InputOutlineProperty);
1559 SetValue(InputOutlineProperty, value);
1564 /// The HiddenInputSettings property.
1566 /// <since_tizen> 6 </since_tizen>
1567 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1568 [EditorBrowsable(EditorBrowsableState.Never)]
1569 public PropertyMap HiddenInputSettings
1573 return (PropertyMap)GetValue(HiddenInputSettingsProperty);
1577 SetValue(HiddenInputSettingsProperty, value);
1582 /// The PixelSize property.
1584 /// <since_tizen> 6 </since_tizen>
1585 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1586 [EditorBrowsable(EditorBrowsableState.Never)]
1587 public float PixelSize
1591 return (float)GetValue(PixelSizeProperty);
1595 SetValue(PixelSizeProperty, value);
1600 /// The Enable selection property.
1602 /// <since_tizen> 6 </since_tizen>
1603 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1604 [EditorBrowsable(EditorBrowsableState.Never)]
1605 public bool EnableSelection
1609 return (bool)GetValue(EnableSelectionProperty);
1613 SetValue(EnableSelectionProperty, value);
1618 /// The Placeholder property.
1619 /// Gets or sets the placeholder: text, color, font family, font style, point size, and pixel size.
1622 /// The following example demonstrates how to set the Placeholder property.
1624 /// PropertyMap propertyMap = new PropertyMap();
1625 /// propertyMap.Add("text", new PropertyValue("Setting Placeholder Text"));
1626 /// propertyMap.Add("textFocused", new PropertyValue("Setting Placeholder Text Focused"));
1627 /// propertyMap.Add("color", new PropertyValue(Color.Red));
1628 /// propertyMap.Add("fontFamily", new PropertyValue("Arial"));
1629 /// propertyMap.Add("pointSize", new PropertyValue(12.0f));
1631 /// PropertyMap fontStyleMap = new PropertyMap();
1632 /// fontStyleMap.Add("weight", new PropertyValue("bold"));
1633 /// fontStyleMap.Add("width", new PropertyValue("condensed"));
1634 /// fontStyleMap.Add("slant", new PropertyValue("italic"));
1635 /// propertyMap.Add("fontStyle", new PropertyValue(fontStyleMap));
1637 /// TextField field = new TextField();
1638 /// field.Placeholder = propertyMap;
1641 /// <since_tizen> 6 </since_tizen>
1642 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1643 [EditorBrowsable(EditorBrowsableState.Never)]
1644 public PropertyMap Placeholder
1648 return (PropertyMap)GetValue(PlaceholderProperty);
1652 SetValue(PlaceholderProperty, value);
1657 /// The Ellipsis property.<br />
1658 /// Enable or disable the ellipsis.<br />
1659 /// Placeholder PropertyMap is used to add ellipsis to placeholder text.
1661 /// <since_tizen> 6 </since_tizen>
1662 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1663 [EditorBrowsable(EditorBrowsableState.Never)]
1664 public bool Ellipsis
1668 return (bool)GetValue(EllipsisProperty);
1672 SetValue(EllipsisProperty, value);
1677 /// Enables selection of the text using the Shift key.
1679 /// <since_tizen> 6 </since_tizen>
1680 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1681 [EditorBrowsable(EditorBrowsableState.Never)]
1682 public bool EnableShiftSelection
1686 return (bool)GetValue(EnableShiftSelectionProperty);
1690 SetValue(EnableShiftSelectionProperty, value);
1695 /// The text alignment to match the direction of the system language.
1697 /// <since_tizen> 6 </since_tizen>
1698 /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
1699 [EditorBrowsable(EditorBrowsableState.Never)]
1700 public bool MatchSystemLanguageDirection
1704 return (bool)GetValue(MatchSystemLanguageDirectionProperty);
1708 SetValue(MatchSystemLanguageDirectionProperty, value);