1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
17 //------------------------------------------------------------------------------
20 // This file was automatically generated by SWIG (http://www.swig.org).
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
27 namespace Tizen.NUI.BaseComponents
31 using System.Runtime.InteropServices;
34 /// A control which provides a single-line editable text field.
36 public class TextField : View
38 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
40 internal TextField(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextField_SWIGUpcast(cPtr), cMemoryOwn)
42 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
43 // By default, we do not want the position to use the anchor point
44 PositionUsesAnchorPoint = false;
47 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextField obj)
49 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
55 public override void Dispose()
57 if (!Window.IsInstalled())
59 DisposeQueue.Instance.Add(this);
65 if (swigCPtr.Handle != global::System.IntPtr.Zero)
70 NDalicPINVOKE.delete_TextField(swigCPtr);
72 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
74 global::System.GC.SuppressFinalize(this);
80 /// Text changed event arguments.
82 public class TextChangedEventArgs : EventArgs
84 private TextField _textField;
89 public TextField TextField
103 /// MaxLengthReached event arguments.
105 public class MaxLengthReachedEventArgs : EventArgs
107 private TextField _textField;
112 public TextField TextField
126 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
127 private delegate void TextChangedCallbackDelegate(IntPtr textField);
128 private EventHandler<TextChangedEventArgs> _textFieldTextChangedEventHandler;
129 private TextChangedCallbackDelegate _textFieldTextChangedCallbackDelegate;
131 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
132 private delegate void MaxLengthReachedCallbackDelegate(IntPtr textField);
133 private EventHandler<MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;
134 private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;
137 /// TextChanged event.
139 public event EventHandler<TextChangedEventArgs> TextChanged
143 if (_textFieldTextChangedEventHandler == null)
145 _textFieldTextChangedCallbackDelegate = (OnTextChanged);
146 TextChangedSignal().Connect(_textFieldTextChangedCallbackDelegate);
148 _textFieldTextChangedEventHandler += value;
152 _textFieldTextChangedEventHandler -= value;
153 if (_textFieldTextChangedEventHandler == null && TextChangedSignal().Empty() == false)
155 TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);
160 private void OnTextChanged(IntPtr textField)
162 TextChangedEventArgs e = new TextChangedEventArgs();
164 // Populate all members of "e" (TextChangedEventArgs) with real data
165 e.TextField = TextField.GetTextFieldFromPtr(textField);
167 if (_textFieldTextChangedEventHandler != null)
169 //here we send all data to user event handlers
170 _textFieldTextChangedEventHandler(this, e);
176 /// MaxLengthReached event.
178 public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
182 if (_textFieldMaxLengthReachedEventHandler == null)
184 _textFieldMaxLengthReachedCallbackDelegate = (OnMaxLengthReached);
185 MaxLengthReachedSignal().Connect(_textFieldMaxLengthReachedCallbackDelegate);
187 _textFieldMaxLengthReachedEventHandler += value;
191 if (_textFieldMaxLengthReachedEventHandler == null && MaxLengthReachedSignal().Empty() == false)
193 this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);
195 _textFieldMaxLengthReachedEventHandler -= value;
199 private void OnMaxLengthReached(IntPtr textField)
201 MaxLengthReachedEventArgs e = new MaxLengthReachedEventArgs();
203 // Populate all members of "e" (MaxLengthReachedEventArgs) with real data
204 e.TextField = TextField.GetTextFieldFromPtr(textField);
206 if (_textFieldMaxLengthReachedEventHandler != null)
208 //here we send all data to user event handlers
209 _textFieldMaxLengthReachedEventHandler(this, e);
214 internal static TextField GetTextFieldFromPtr(global::System.IntPtr cPtr)
216 TextField ret = new TextField(cPtr, false);
217 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
222 internal class Property : global::System.IDisposable
224 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
225 protected bool swigCMemOwn;
227 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
229 swigCMemOwn = cMemoryOwn;
230 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
233 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
235 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
240 DisposeQueue.Instance.Add(this);
243 public virtual void Dispose()
245 if (!Window.IsInstalled()) {
246 DisposeQueue.Instance.Add(this);
252 if (swigCPtr.Handle != global::System.IntPtr.Zero)
257 NDalicPINVOKE.delete_TextField_Property(swigCPtr);
259 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
261 global::System.GC.SuppressFinalize(this);
265 internal Property() : this(NDalicPINVOKE.new_TextField_Property(), true)
267 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
270 internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
271 internal static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
272 internal static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();
273 internal static readonly int PLACEHOLDER_TEXT_FOCUSED = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_FOCUSED_get();
274 internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextField_Property_FONT_FAMILY_get();
275 internal static readonly int FONT_STYLE = NDalicPINVOKE.TextField_Property_FONT_STYLE_get();
276 internal static readonly int POINT_SIZE = NDalicPINVOKE.TextField_Property_POINT_SIZE_get();
277 internal static readonly int MAX_LENGTH = NDalicPINVOKE.TextField_Property_MAX_LENGTH_get();
278 internal static readonly int EXCEED_POLICY = NDalicPINVOKE.TextField_Property_EXCEED_POLICY_get();
279 internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_HORIZONTAL_ALIGNMENT_get();
280 internal static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_VERTICAL_ALIGNMENT_get();
281 internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextField_Property_TEXT_COLOR_get();
282 internal static readonly int PLACEHOLDER_TEXT_COLOR = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_COLOR_get();
283 internal static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextField_Property_SHADOW_OFFSET_get();
284 internal static readonly int SHADOW_COLOR = NDalicPINVOKE.TextField_Property_SHADOW_COLOR_get();
285 internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_PRIMARY_CURSOR_COLOR_get();
286 internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_SECONDARY_CURSOR_COLOR_get();
287 internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextField_Property_ENABLE_CURSOR_BLINK_get();
288 internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_INTERVAL_get();
289 internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_DURATION_get();
290 internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextField_Property_CURSOR_WIDTH_get();
291 internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_IMAGE_get();
292 internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
293 internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextField_Property_SCROLL_THRESHOLD_get();
294 internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextField_Property_SCROLL_SPEED_get();
295 internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
296 internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
297 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
298 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
299 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
300 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
301 internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextField_Property_SELECTION_HIGHLIGHT_COLOR_get();
302 internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextField_Property_DECORATION_BOUNDING_BOX_get();
303 internal static readonly int INPUT_METHOD_SETTINGS = NDalicPINVOKE.TextField_Property_INPUT_METHOD_SETTINGS_get();
304 internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextField_Property_INPUT_COLOR_get();
305 internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextField_Property_ENABLE_MARKUP_get();
306 internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextField_Property_INPUT_FONT_FAMILY_get();
307 internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextField_Property_INPUT_FONT_STYLE_get();
308 internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextField_Property_INPUT_POINT_SIZE_get();
309 internal static readonly int UNDERLINE = NDalicPINVOKE.TextField_Property_UNDERLINE_get();
310 internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextField_Property_INPUT_UNDERLINE_get();
311 internal static readonly int SHADOW = NDalicPINVOKE.TextField_Property_SHADOW_get();
312 internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextField_Property_INPUT_SHADOW_get();
313 internal static readonly int EMBOSS = NDalicPINVOKE.TextField_Property_EMBOSS_get();
314 internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();
315 internal static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();
316 internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();
317 internal static readonly int HIDDEN_INPUT_SETTINGS = NDalicManualPINVOKE.TextField_Property_HIDDEN_INPUT_SETTINGS_get();
318 internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextField_Property_PIXEL_SIZE_get();
322 internal class InputStyle : global::System.IDisposable
324 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
325 protected bool swigCMemOwn;
327 internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)
329 swigCMemOwn = cMemoryOwn;
330 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
333 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)
335 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
340 DisposeQueue.Instance.Add(this);
343 public virtual void Dispose()
345 if (!Window.IsInstalled()) {
346 DisposeQueue.Instance.Add(this);
352 if (swigCPtr.Handle != global::System.IntPtr.Zero)
357 NDalicPINVOKE.delete_TextField_InputStyle(swigCPtr);
359 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
361 global::System.GC.SuppressFinalize(this);
365 internal InputStyle() : this(NDalicPINVOKE.new_TextField_InputStyle(), true)
367 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
386 /// Creates the TextField control.
388 public TextField() : this(NDalicPINVOKE.TextField_New(), true)
390 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
393 internal TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true)
395 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
398 internal TextField Assign(TextField handle)
400 TextField ret = new TextField(NDalicPINVOKE.TextField_Assign(swigCPtr, TextField.getCPtr(handle)), false);
401 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
406 /// Downcasts a handle to TextField.
408 /// <param name="handle">Handle to an object</param>
409 /// <returns>Handle to a TextField or an empty handle</returns>
410 public new static TextField DownCast(BaseHandle handle)
412 TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
413 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
417 internal TextFieldSignal TextChangedSignal()
419 TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
420 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
424 internal TextFieldSignal MaxLengthReachedSignal()
426 TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
427 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
431 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal()
433 SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t(NDalicPINVOKE.TextField_InputStyleChangedSignal(swigCPtr), false);
434 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
438 internal enum PropertyRange
440 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
441 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
444 internal enum ExceedPolicyType
446 ExceedPolicyOriginal,
451 /// RenderingBackend property.
453 public int RenderingBackend
458 GetProperty(TextField.Property.RENDERING_BACKEND).Get(ref temp);
463 SetProperty(TextField.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
475 GetProperty(TextField.Property.TEXT).Get(out temp);
480 SetProperty(TextField.Property.TEXT, new Tizen.NUI.PropertyValue(value));
485 /// PlaceholderText property.
487 public string PlaceholderText
492 GetProperty(TextField.Property.PLACEHOLDER_TEXT).Get(out temp);
497 SetProperty(TextField.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));
502 /// PlaceholderTextFocused property.
504 public string PlaceholderTextFocused
509 GetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED).Get(out temp);
514 SetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Tizen.NUI.PropertyValue(value));
519 /// FontFamily property.
521 public string FontFamily
526 GetProperty(TextField.Property.FONT_FAMILY).Get(out temp);
531 SetProperty(TextField.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
536 /// FontStyle property.
538 public PropertyMap FontStyle
542 PropertyMap temp = new PropertyMap();
543 GetProperty(TextField.Property.FONT_STYLE).Get(temp);
548 SetProperty(TextField.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
553 /// PointSize property.
555 public float PointSize
560 GetProperty(TextField.Property.POINT_SIZE).Get(ref temp);
565 SetProperty(TextField.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
570 /// MaxLength property.
577 GetProperty(TextField.Property.MAX_LENGTH).Get(ref temp);
582 SetProperty(TextField.Property.MAX_LENGTH, new Tizen.NUI.PropertyValue(value));
587 /// ExceedPolicy property.
589 public int ExceedPolicy
594 GetProperty(TextField.Property.EXCEED_POLICY).Get(ref temp);
599 SetProperty(TextField.Property.EXCEED_POLICY, new Tizen.NUI.PropertyValue(value));
604 /// HorizontalAlignment property.
606 public HorizontalAlignment HorizontalAlignment
611 if (GetProperty(TextField.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
614 Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
621 return HorizontalAlignment.Begin;
623 return HorizontalAlignment.Center;
625 return HorizontalAlignment.End;
627 return HorizontalAlignment.Begin;
632 string valueToString = "";
635 case HorizontalAlignment.Begin:
637 valueToString = "BEGIN";
640 case HorizontalAlignment.Center:
642 valueToString = "CENTER";
645 case HorizontalAlignment.End:
647 valueToString = "END";
652 valueToString = "BEGIN";
656 SetProperty(TextField.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
661 /// VerticalAlignment property.
663 public VerticalAlignment VerticalAlignment
668 if (GetProperty(TextField.Property.VERTICAL_ALIGNMENT).Get(out temp) == false)
671 Tizen.Log.Error("NUI", "VerticalAlignment get error!");
678 return VerticalAlignment.Top;
680 return VerticalAlignment.Center;
682 return VerticalAlignment.Bottom;
684 return VerticalAlignment.Bottom;
689 string valueToString = "";
692 case VerticalAlignment.Top:
694 valueToString = "TOP";
697 case VerticalAlignment.Center:
699 valueToString = "CENTER";
702 case VerticalAlignment.Bottom:
704 valueToString = "BOTTOM";
709 valueToString = "BOTTOM";
713 SetProperty(TextField.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
718 /// TextColor property.
720 public Color TextColor
724 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
725 GetProperty(TextField.Property.TEXT_COLOR).Get(temp);
730 SetProperty(TextField.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
735 /// PlaceholderTextColor property.
737 public Vector4 PlaceholderTextColor
741 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
742 GetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);
747 SetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
752 /// ShadowOffset property.
754 public Vector2 ShadowOffset
758 Vector2 temp = new Vector2(0.0f, 0.0f);
759 GetProperty(TextField.Property.SHADOW_OFFSET).Get(temp);
764 SetProperty(TextField.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));
769 /// ShadowColor property.
771 public Vector4 ShadowColor
775 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
776 GetProperty(TextField.Property.SHADOW_COLOR).Get(temp);
781 SetProperty(TextField.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));
786 /// PrimaryCursorColor property.
788 public Vector4 PrimaryCursorColor
792 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
793 GetProperty(TextField.Property.PRIMARY_CURSOR_COLOR).Get(temp);
798 SetProperty(TextField.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
803 /// SecondaryCursorColor property.
805 public Vector4 SecondaryCursorColor
809 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
810 GetProperty(TextField.Property.SECONDARY_CURSOR_COLOR).Get(temp);
815 SetProperty(TextField.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
820 /// EnableCursorBlink property.
822 public bool EnableCursorBlink
827 GetProperty(TextField.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
832 SetProperty(TextField.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
837 /// CursorBlinkInterval property.
839 public float CursorBlinkInterval
844 GetProperty(TextField.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
849 SetProperty(TextField.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
854 /// CursorBlinkDuration property.
856 public float CursorBlinkDuration
861 GetProperty(TextField.Property.CURSOR_BLINK_DURATION).Get(ref temp);
866 SetProperty(TextField.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
871 /// CursorWidth property.
873 public int CursorWidth
878 GetProperty(TextField.Property.CURSOR_WIDTH).Get(ref temp);
883 SetProperty(TextField.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
888 /// GrabHandleImage property.
890 public string GrabHandleImage
895 GetProperty(TextField.Property.GRAB_HANDLE_IMAGE).Get(out temp);
900 SetProperty(TextField.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
905 /// GrabHandlePressedImage property.
907 public string GrabHandlePressedImage
912 GetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
917 SetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
922 /// ScrollThreshold property.
924 public float ScrollThreshold
929 GetProperty(TextField.Property.SCROLL_THRESHOLD).Get(ref temp);
934 SetProperty(TextField.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
939 /// ScrollSpeed property.
941 public float ScrollSpeed
946 GetProperty(TextField.Property.SCROLL_SPEED).Get(ref temp);
951 SetProperty(TextField.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
956 /// SelectionHandleImageLeft property.
958 public PropertyMap SelectionHandleImageLeft
962 PropertyMap temp = new PropertyMap();
963 GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
968 SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
973 /// SelectionHandleImageRight property.
975 public PropertyMap SelectionHandleImageRight
979 PropertyMap temp = new PropertyMap();
980 GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
985 SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
990 /// SelectionHandlePressedImageLeft property.
992 public PropertyMap SelectionHandlePressedImageLeft
996 PropertyMap temp = new PropertyMap();
997 GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
1002 SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
1007 /// SelectionHandlePressedImageRight property.
1009 public PropertyMap SelectionHandlePressedImageRight
1013 PropertyMap temp = new PropertyMap();
1014 GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
1019 SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
1024 /// SelectionHandleMarkerImageLeft property.
1026 public PropertyMap SelectionHandleMarkerImageLeft
1030 PropertyMap temp = new PropertyMap();
1031 GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
1036 SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
1041 /// SelectionHandleMarkerImageRight property.
1043 public PropertyMap SelectionHandleMarkerImageRight
1047 PropertyMap temp = new PropertyMap();
1048 GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
1053 SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
1058 /// SelectionHighlightColor property.
1060 public Vector4 SelectionHighlightColor
1064 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1065 GetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
1070 SetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
1075 /// DecorationBoundingBox property.
1077 public Rectangle DecorationBoundingBox
1081 Rectangle temp = new Rectangle(0, 0, 0, 0);
1082 GetProperty(TextField.Property.DECORATION_BOUNDING_BOX).Get(temp);
1087 SetProperty(TextField.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
1092 /// InputMethodSettings property.
1094 public PropertyMap InputMethodSettings
1098 PropertyMap temp = new PropertyMap();
1099 GetProperty(TextField.Property.INPUT_METHOD_SETTINGS).Get(temp);
1104 SetProperty(TextField.Property.INPUT_METHOD_SETTINGS, new Tizen.NUI.PropertyValue(value));
1109 /// InputColor property.
1111 public Vector4 InputColor
1115 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1116 GetProperty(TextField.Property.INPUT_COLOR).Get(temp);
1121 SetProperty(TextField.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
1126 /// EnableMarkup property.
1128 public bool EnableMarkup
1133 GetProperty(TextField.Property.ENABLE_MARKUP).Get(ref temp);
1138 SetProperty(TextField.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
1143 /// InputFontFamily property.
1145 public string InputFontFamily
1150 GetProperty(TextField.Property.INPUT_FONT_FAMILY).Get(out temp);
1155 SetProperty(TextField.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
1160 /// InputFontStyle property.
1162 public PropertyMap InputFontStyle
1166 PropertyMap temp = new PropertyMap();
1167 GetProperty(TextField.Property.INPUT_FONT_STYLE).Get(temp);
1172 SetProperty(TextField.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
1177 /// InputPointSize property.
1179 public float InputPointSize
1184 GetProperty(TextField.Property.INPUT_POINT_SIZE).Get(ref temp);
1189 SetProperty(TextField.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
1194 /// Underline property.
1196 public PropertyMap Underline
1200 PropertyMap temp = new PropertyMap();
1201 GetProperty(TextField.Property.UNDERLINE).Get(temp);
1206 SetProperty(TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
1211 /// InputUnderline property.
1213 public string InputUnderline
1218 GetProperty(TextField.Property.INPUT_UNDERLINE).Get(out temp);
1223 SetProperty(TextField.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
1228 /// Shadow property.
1230 public PropertyMap Shadow
1234 PropertyMap temp = new PropertyMap();
1235 GetProperty(TextField.Property.SHADOW).Get(temp);
1240 SetProperty(TextField.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
1245 /// InputShadow property.
1247 public string InputShadow
1252 GetProperty(TextField.Property.INPUT_SHADOW).Get(out temp);
1257 SetProperty(TextField.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
1262 /// Emboss property.
1264 public string Emboss
1269 GetProperty(TextField.Property.EMBOSS).Get(out temp);
1274 SetProperty(TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
1279 /// InputEmboss property.
1281 public string InputEmboss
1286 GetProperty(TextField.Property.INPUT_EMBOSS).Get(out temp);
1291 SetProperty(TextField.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1296 /// Outline property.
1298 public string Outline
1303 GetProperty(TextField.Property.OUTLINE).Get(out temp);
1308 SetProperty(TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1313 /// InputOutline property.
1315 public string InputOutline
1320 GetProperty(TextField.Property.INPUT_OUTLINE).Get(out temp);
1325 SetProperty(TextField.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));
1330 /// HiddenInputSettings property.
1332 public Tizen.NUI.PropertyMap HiddenInputSettings
1336 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
1337 GetProperty(TextField.Property.HIDDEN_INPUT_SETTINGS).Get(temp);
1342 SetProperty(TextField.Property.HIDDEN_INPUT_SETTINGS, new Tizen.NUI.PropertyValue(value));
1347 /// PixelSize property.
1349 public float PixelSize
1354 GetProperty(TextField.Property.PIXEL_SIZE).Get(ref temp);
1359 SetProperty(TextField.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));