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);
45 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextField obj)
47 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
53 public override void Dispose()
55 if (!Window.IsInstalled())
57 DisposeQueue.Instance.Add(this);
63 if (swigCPtr.Handle != global::System.IntPtr.Zero)
68 NDalicPINVOKE.delete_TextField(swigCPtr);
70 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
72 global::System.GC.SuppressFinalize(this);
78 /// Text changed event arguments.
80 public class TextChangedEventArgs : EventArgs
82 private TextField _textField;
87 public TextField TextField
101 /// MaxLengthReached event arguments.
103 public class MaxLengthReachedEventArgs : EventArgs
105 private TextField _textField;
110 public TextField TextField
124 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
125 private delegate void TextChangedCallbackDelegate(IntPtr textField);
126 private EventHandler<TextChangedEventArgs> _textFieldTextChangedEventHandler;
127 private TextChangedCallbackDelegate _textFieldTextChangedCallbackDelegate;
129 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
130 private delegate void MaxLengthReachedCallbackDelegate(IntPtr textField);
131 private EventHandler<MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;
132 private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;
135 /// TextChanged event.
137 public event EventHandler<TextChangedEventArgs> TextChanged
141 if (_textFieldTextChangedEventHandler == null)
143 _textFieldTextChangedCallbackDelegate = (OnTextChanged);
144 TextChangedSignal().Connect(_textFieldTextChangedCallbackDelegate);
146 _textFieldTextChangedEventHandler += value;
150 _textFieldTextChangedEventHandler -= value;
151 if (_textFieldTextChangedEventHandler == null && TextChangedSignal().Empty() == false)
153 TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);
158 private void OnTextChanged(IntPtr textField)
160 TextChangedEventArgs e = new TextChangedEventArgs();
162 // Populate all members of "e" (TextChangedEventArgs) with real data
163 e.TextField = TextField.GetTextFieldFromPtr(textField);
165 if (_textFieldTextChangedEventHandler != null)
167 //here we send all data to user event handlers
168 _textFieldTextChangedEventHandler(this, e);
174 /// MaxLengthReached event.
176 public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
180 if (_textFieldMaxLengthReachedEventHandler == null)
182 _textFieldMaxLengthReachedCallbackDelegate = (OnMaxLengthReached);
183 MaxLengthReachedSignal().Connect(_textFieldMaxLengthReachedCallbackDelegate);
185 _textFieldMaxLengthReachedEventHandler += value;
189 if (_textFieldMaxLengthReachedEventHandler == null && MaxLengthReachedSignal().Empty() == false)
191 this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);
193 _textFieldMaxLengthReachedEventHandler -= value;
197 private void OnMaxLengthReached(IntPtr textField)
199 MaxLengthReachedEventArgs e = new MaxLengthReachedEventArgs();
201 // Populate all members of "e" (MaxLengthReachedEventArgs) with real data
202 e.TextField = TextField.GetTextFieldFromPtr(textField);
204 if (_textFieldMaxLengthReachedEventHandler != null)
206 //here we send all data to user event handlers
207 _textFieldMaxLengthReachedEventHandler(this, e);
212 internal static TextField GetTextFieldFromPtr(global::System.IntPtr cPtr)
214 TextField ret = new TextField(cPtr, false);
215 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
220 internal class Property : global::System.IDisposable
222 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
223 protected bool swigCMemOwn;
225 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
227 swigCMemOwn = cMemoryOwn;
228 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
231 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
233 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
241 public virtual void Dispose()
245 if (swigCPtr.Handle != global::System.IntPtr.Zero)
250 NDalicPINVOKE.delete_TextField_Property(swigCPtr);
252 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
254 global::System.GC.SuppressFinalize(this);
258 internal Property() : this(NDalicPINVOKE.new_TextField_Property(), true)
260 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
263 internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
264 internal static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
265 internal static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();
266 internal static readonly int PLACEHOLDER_TEXT_FOCUSED = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_FOCUSED_get();
267 internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextField_Property_FONT_FAMILY_get();
268 internal static readonly int FONT_STYLE = NDalicPINVOKE.TextField_Property_FONT_STYLE_get();
269 internal static readonly int POINT_SIZE = NDalicPINVOKE.TextField_Property_POINT_SIZE_get();
270 internal static readonly int MAX_LENGTH = NDalicPINVOKE.TextField_Property_MAX_LENGTH_get();
271 internal static readonly int EXCEED_POLICY = NDalicPINVOKE.TextField_Property_EXCEED_POLICY_get();
272 internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_HORIZONTAL_ALIGNMENT_get();
273 internal static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_VERTICAL_ALIGNMENT_get();
274 internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextField_Property_TEXT_COLOR_get();
275 internal static readonly int PLACEHOLDER_TEXT_COLOR = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_COLOR_get();
276 internal static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextField_Property_SHADOW_OFFSET_get();
277 internal static readonly int SHADOW_COLOR = NDalicPINVOKE.TextField_Property_SHADOW_COLOR_get();
278 internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_PRIMARY_CURSOR_COLOR_get();
279 internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_SECONDARY_CURSOR_COLOR_get();
280 internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextField_Property_ENABLE_CURSOR_BLINK_get();
281 internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_INTERVAL_get();
282 internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_DURATION_get();
283 internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextField_Property_CURSOR_WIDTH_get();
284 internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_IMAGE_get();
285 internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
286 internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextField_Property_SCROLL_THRESHOLD_get();
287 internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextField_Property_SCROLL_SPEED_get();
288 internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
289 internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
290 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
291 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
292 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
293 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
294 internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextField_Property_SELECTION_HIGHLIGHT_COLOR_get();
295 internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextField_Property_DECORATION_BOUNDING_BOX_get();
296 internal static readonly int INPUT_METHOD_SETTINGS = NDalicPINVOKE.TextField_Property_INPUT_METHOD_SETTINGS_get();
297 internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextField_Property_INPUT_COLOR_get();
298 internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextField_Property_ENABLE_MARKUP_get();
299 internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextField_Property_INPUT_FONT_FAMILY_get();
300 internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextField_Property_INPUT_FONT_STYLE_get();
301 internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextField_Property_INPUT_POINT_SIZE_get();
302 internal static readonly int UNDERLINE = NDalicPINVOKE.TextField_Property_UNDERLINE_get();
303 internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextField_Property_INPUT_UNDERLINE_get();
304 internal static readonly int SHADOW = NDalicPINVOKE.TextField_Property_SHADOW_get();
305 internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextField_Property_INPUT_SHADOW_get();
306 internal static readonly int EMBOSS = NDalicPINVOKE.TextField_Property_EMBOSS_get();
307 internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();
308 internal static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();
309 internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();
313 internal class InputStyle : global::System.IDisposable
315 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
316 protected bool swigCMemOwn;
318 internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)
320 swigCMemOwn = cMemoryOwn;
321 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
324 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)
326 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
334 public virtual void Dispose()
338 if (swigCPtr.Handle != global::System.IntPtr.Zero)
343 NDalicPINVOKE.delete_TextField_InputStyle(swigCPtr);
345 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
347 global::System.GC.SuppressFinalize(this);
351 internal InputStyle() : this(NDalicPINVOKE.new_TextField_InputStyle(), true)
353 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
372 /// Creates the TextField control.
374 public TextField() : this(NDalicPINVOKE.TextField_New(), true)
376 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
379 internal TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true)
381 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
384 internal TextField Assign(TextField handle)
386 TextField ret = new TextField(NDalicPINVOKE.TextField_Assign(swigCPtr, TextField.getCPtr(handle)), false);
387 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
392 /// Downcasts a handle to TextField.
394 /// <param name="handle">Handle to an object</param>
395 /// <returns>Handle to a TextField or an empty handle</returns>
396 public new static TextField DownCast(BaseHandle handle)
398 TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
399 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
403 internal TextFieldSignal TextChangedSignal()
405 TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
406 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
410 internal TextFieldSignal MaxLengthReachedSignal()
412 TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
413 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
417 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal()
419 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);
420 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
424 internal enum PropertyRange
426 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
427 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
430 internal enum ExceedPolicyType
432 ExceedPolicyOriginal,
437 /// RenderingBackend property.
439 public int RenderingBackend
444 GetProperty(TextField.Property.RENDERING_BACKEND).Get(ref temp);
449 SetProperty(TextField.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
461 GetProperty(TextField.Property.TEXT).Get(out temp);
466 SetProperty(TextField.Property.TEXT, new Tizen.NUI.PropertyValue(value));
471 /// PlaceholderText property.
473 public string PlaceholderText
478 GetProperty(TextField.Property.PLACEHOLDER_TEXT).Get(out temp);
483 SetProperty(TextField.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));
488 /// PlaceholderTextFocused property.
490 public string PlaceholderTextFocused
495 GetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED).Get(out temp);
500 SetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Tizen.NUI.PropertyValue(value));
505 /// FontFamily property.
507 public string FontFamily
512 GetProperty(TextField.Property.FONT_FAMILY).Get(out temp);
517 SetProperty(TextField.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
522 /// FontStyle property.
524 public PropertyMap FontStyle
528 PropertyMap temp = new PropertyMap();
529 GetProperty(TextField.Property.FONT_STYLE).Get(temp);
534 SetProperty(TextField.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
539 /// PointSize property.
541 public float PointSize
546 GetProperty(TextField.Property.POINT_SIZE).Get(ref temp);
551 SetProperty(TextField.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
556 /// MaxLength property.
563 GetProperty(TextField.Property.MAX_LENGTH).Get(ref temp);
568 SetProperty(TextField.Property.MAX_LENGTH, new Tizen.NUI.PropertyValue(value));
573 /// ExceedPolicy property.
575 public int ExceedPolicy
580 GetProperty(TextField.Property.EXCEED_POLICY).Get(ref temp);
585 SetProperty(TextField.Property.EXCEED_POLICY, new Tizen.NUI.PropertyValue(value));
590 /// HorizontalAlignment property.
592 public HorizontalAlignment HorizontalAlignment
597 if (GetProperty(TextField.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
600 Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
607 return HorizontalAlignment.Begin;
609 return HorizontalAlignment.Center;
611 return HorizontalAlignment.End;
613 return HorizontalAlignment.Begin;
618 string valueToString = "";
621 case HorizontalAlignment.Begin:
623 valueToString = "BEGIN";
626 case HorizontalAlignment.Center:
628 valueToString = "CENTER";
631 case HorizontalAlignment.End:
633 valueToString = "END";
638 valueToString = "BEGIN";
642 SetProperty(TextField.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
647 /// VerticalAlignment property.
649 public VerticalAlignment VerticalAlignment
654 if (GetProperty(TextField.Property.VERTICAL_ALIGNMENT).Get(out temp) == false)
657 Tizen.Log.Error("NUI", "VerticalAlignment get error!");
664 return VerticalAlignment.Top;
666 return VerticalAlignment.Center;
668 return VerticalAlignment.Bottom;
670 return VerticalAlignment.Bottom;
675 string valueToString = "";
678 case VerticalAlignment.Top:
680 valueToString = "TOP";
683 case VerticalAlignment.Center:
685 valueToString = "CENTER";
688 case VerticalAlignment.Bottom:
690 valueToString = "BOTTOM";
695 valueToString = "BOTTOM";
699 SetProperty(TextField.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
704 /// TextColor property.
706 public Color TextColor
710 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
711 GetProperty(TextField.Property.TEXT_COLOR).Get(temp);
716 SetProperty(TextField.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
721 /// PlaceholderTextColor property.
723 public Vector4 PlaceholderTextColor
727 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
728 GetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);
733 SetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
738 /// ShadowOffset property.
740 public Vector2 ShadowOffset
744 Vector2 temp = new Vector2(0.0f, 0.0f);
745 GetProperty(TextField.Property.SHADOW_OFFSET).Get(temp);
750 SetProperty(TextField.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));
755 /// ShadowColor property.
757 public Vector4 ShadowColor
761 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
762 GetProperty(TextField.Property.SHADOW_COLOR).Get(temp);
767 SetProperty(TextField.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));
772 /// PrimaryCursorColor property.
774 public Vector4 PrimaryCursorColor
778 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
779 GetProperty(TextField.Property.PRIMARY_CURSOR_COLOR).Get(temp);
784 SetProperty(TextField.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
789 /// SecondaryCursorColor property.
791 public Vector4 SecondaryCursorColor
795 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
796 GetProperty(TextField.Property.SECONDARY_CURSOR_COLOR).Get(temp);
801 SetProperty(TextField.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
806 /// EnableCursorBlink property.
808 public bool EnableCursorBlink
813 GetProperty(TextField.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
818 SetProperty(TextField.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
823 /// CursorBlinkInterval property.
825 public float CursorBlinkInterval
830 GetProperty(TextField.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
835 SetProperty(TextField.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
840 /// CursorBlinkDuration property.
842 public float CursorBlinkDuration
847 GetProperty(TextField.Property.CURSOR_BLINK_DURATION).Get(ref temp);
852 SetProperty(TextField.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
857 /// CursorWidth property.
859 public int CursorWidth
864 GetProperty(TextField.Property.CURSOR_WIDTH).Get(ref temp);
869 SetProperty(TextField.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
874 /// GrabHandleImage property.
876 public string GrabHandleImage
881 GetProperty(TextField.Property.GRAB_HANDLE_IMAGE).Get(out temp);
886 SetProperty(TextField.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
891 /// GrabHandlePressedImage property.
893 public string GrabHandlePressedImage
898 GetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
903 SetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
908 /// ScrollThreshold property.
910 public float ScrollThreshold
915 GetProperty(TextField.Property.SCROLL_THRESHOLD).Get(ref temp);
920 SetProperty(TextField.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
925 /// ScrollSpeed property.
927 public float ScrollSpeed
932 GetProperty(TextField.Property.SCROLL_SPEED).Get(ref temp);
937 SetProperty(TextField.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
942 /// SelectionHandleImageLeft property.
944 public PropertyMap SelectionHandleImageLeft
948 PropertyMap temp = new PropertyMap();
949 GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
954 SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
959 /// SelectionHandleImageRight property.
961 public PropertyMap SelectionHandleImageRight
965 PropertyMap temp = new PropertyMap();
966 GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
971 SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
976 /// SelectionHandlePressedImageLeft property.
978 public PropertyMap SelectionHandlePressedImageLeft
982 PropertyMap temp = new PropertyMap();
983 GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
988 SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
993 /// SelectionHandlePressedImageRight property.
995 public PropertyMap SelectionHandlePressedImageRight
999 PropertyMap temp = new PropertyMap();
1000 GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
1005 SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
1010 /// SelectionHandleMarkerImageLeft property.
1012 public PropertyMap SelectionHandleMarkerImageLeft
1016 PropertyMap temp = new PropertyMap();
1017 GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
1022 SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
1027 /// SelectionHandleMarkerImageRight property.
1029 public PropertyMap SelectionHandleMarkerImageRight
1033 PropertyMap temp = new PropertyMap();
1034 GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
1039 SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
1044 /// SelectionHighlightColor property.
1046 public Vector4 SelectionHighlightColor
1050 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1051 GetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
1056 SetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
1061 /// DecorationBoundingBox property.
1063 public Rectangle DecorationBoundingBox
1067 Rectangle temp = new Rectangle(0, 0, 0, 0);
1068 GetProperty(TextField.Property.DECORATION_BOUNDING_BOX).Get(temp);
1073 SetProperty(TextField.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
1078 /// InputMethodSettings property.
1080 public PropertyMap InputMethodSettings
1084 PropertyMap temp = new PropertyMap();
1085 GetProperty(TextField.Property.INPUT_METHOD_SETTINGS).Get(temp);
1090 SetProperty(TextField.Property.INPUT_METHOD_SETTINGS, new Tizen.NUI.PropertyValue(value));
1095 /// InputColor property.
1097 public Vector4 InputColor
1101 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1102 GetProperty(TextField.Property.INPUT_COLOR).Get(temp);
1107 SetProperty(TextField.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
1112 /// EnableMarkup property.
1114 public bool EnableMarkup
1119 GetProperty(TextField.Property.ENABLE_MARKUP).Get(ref temp);
1124 SetProperty(TextField.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
1129 /// InputFontFamily property.
1131 public string InputFontFamily
1136 GetProperty(TextField.Property.INPUT_FONT_FAMILY).Get(out temp);
1141 SetProperty(TextField.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
1146 /// InputFontStyle property.
1148 public PropertyMap InputFontStyle
1152 PropertyMap temp = new PropertyMap();
1153 GetProperty(TextField.Property.INPUT_FONT_STYLE).Get(temp);
1158 SetProperty(TextField.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
1163 /// InputPointSize property.
1165 public float InputPointSize
1170 GetProperty(TextField.Property.INPUT_POINT_SIZE).Get(ref temp);
1175 SetProperty(TextField.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
1180 /// Underline property.
1182 public PropertyMap Underline
1186 PropertyMap temp = new PropertyMap();
1187 GetProperty(TextField.Property.UNDERLINE).Get(temp);
1192 SetProperty(TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
1197 /// InputUnderline property.
1199 public string InputUnderline
1204 GetProperty(TextField.Property.INPUT_UNDERLINE).Get(out temp);
1209 SetProperty(TextField.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
1214 /// Shadow property.
1216 public PropertyMap Shadow
1220 PropertyMap temp = new PropertyMap();
1221 GetProperty(TextField.Property.SHADOW).Get(temp);
1226 SetProperty(TextField.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
1231 /// InputShadow property.
1233 public string InputShadow
1238 GetProperty(TextField.Property.INPUT_SHADOW).Get(out temp);
1243 SetProperty(TextField.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
1248 /// Emboss property.
1250 public string Emboss
1255 GetProperty(TextField.Property.EMBOSS).Get(out temp);
1260 SetProperty(TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
1265 /// InputEmboss property.
1267 public string InputEmboss
1272 GetProperty(TextField.Property.INPUT_EMBOSS).Get(out temp);
1277 SetProperty(TextField.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1282 /// Outline property.
1284 public string Outline
1289 GetProperty(TextField.Property.OUTLINE).Get(out temp);
1294 SetProperty(TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1299 /// InputOutline property.
1301 public string InputOutline
1306 GetProperty(TextField.Property.INPUT_OUTLINE).Get(out temp);
1311 SetProperty(TextField.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));