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;
238 DisposeQueue.Instance.Add(this);
241 public virtual void Dispose()
243 if (!Window.IsInstalled()) {
244 DisposeQueue.Instance.Add(this);
250 if (swigCPtr.Handle != global::System.IntPtr.Zero)
255 NDalicPINVOKE.delete_TextField_Property(swigCPtr);
257 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
259 global::System.GC.SuppressFinalize(this);
263 internal Property() : this(NDalicPINVOKE.new_TextField_Property(), true)
265 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
268 internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
269 internal static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
270 internal static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();
271 internal static readonly int PLACEHOLDER_TEXT_FOCUSED = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_FOCUSED_get();
272 internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextField_Property_FONT_FAMILY_get();
273 internal static readonly int FONT_STYLE = NDalicPINVOKE.TextField_Property_FONT_STYLE_get();
274 internal static readonly int POINT_SIZE = NDalicPINVOKE.TextField_Property_POINT_SIZE_get();
275 internal static readonly int MAX_LENGTH = NDalicPINVOKE.TextField_Property_MAX_LENGTH_get();
276 internal static readonly int EXCEED_POLICY = NDalicPINVOKE.TextField_Property_EXCEED_POLICY_get();
277 internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_HORIZONTAL_ALIGNMENT_get();
278 internal static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_VERTICAL_ALIGNMENT_get();
279 internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextField_Property_TEXT_COLOR_get();
280 internal static readonly int PLACEHOLDER_TEXT_COLOR = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_COLOR_get();
281 internal static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextField_Property_SHADOW_OFFSET_get();
282 internal static readonly int SHADOW_COLOR = NDalicPINVOKE.TextField_Property_SHADOW_COLOR_get();
283 internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_PRIMARY_CURSOR_COLOR_get();
284 internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_SECONDARY_CURSOR_COLOR_get();
285 internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextField_Property_ENABLE_CURSOR_BLINK_get();
286 internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_INTERVAL_get();
287 internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_DURATION_get();
288 internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextField_Property_CURSOR_WIDTH_get();
289 internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_IMAGE_get();
290 internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
291 internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextField_Property_SCROLL_THRESHOLD_get();
292 internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextField_Property_SCROLL_SPEED_get();
293 internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
294 internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
295 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
296 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
297 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
298 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
299 internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextField_Property_SELECTION_HIGHLIGHT_COLOR_get();
300 internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextField_Property_DECORATION_BOUNDING_BOX_get();
301 internal static readonly int INPUT_METHOD_SETTINGS = NDalicPINVOKE.TextField_Property_INPUT_METHOD_SETTINGS_get();
302 internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextField_Property_INPUT_COLOR_get();
303 internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextField_Property_ENABLE_MARKUP_get();
304 internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextField_Property_INPUT_FONT_FAMILY_get();
305 internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextField_Property_INPUT_FONT_STYLE_get();
306 internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextField_Property_INPUT_POINT_SIZE_get();
307 internal static readonly int UNDERLINE = NDalicPINVOKE.TextField_Property_UNDERLINE_get();
308 internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextField_Property_INPUT_UNDERLINE_get();
309 internal static readonly int SHADOW = NDalicPINVOKE.TextField_Property_SHADOW_get();
310 internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextField_Property_INPUT_SHADOW_get();
311 internal static readonly int EMBOSS = NDalicPINVOKE.TextField_Property_EMBOSS_get();
312 internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();
313 internal static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();
314 internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();
318 internal class InputStyle : global::System.IDisposable
320 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
321 protected bool swigCMemOwn;
323 internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)
325 swigCMemOwn = cMemoryOwn;
326 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
329 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)
331 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
336 DisposeQueue.Instance.Add(this);
339 public virtual void Dispose()
341 if (!Window.IsInstalled()) {
342 DisposeQueue.Instance.Add(this);
348 if (swigCPtr.Handle != global::System.IntPtr.Zero)
353 NDalicPINVOKE.delete_TextField_InputStyle(swigCPtr);
355 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
357 global::System.GC.SuppressFinalize(this);
361 internal InputStyle() : this(NDalicPINVOKE.new_TextField_InputStyle(), true)
363 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
382 /// Creates the TextField control.
384 public TextField() : this(NDalicPINVOKE.TextField_New(), true)
386 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
389 internal TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true)
391 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
394 internal TextField Assign(TextField handle)
396 TextField ret = new TextField(NDalicPINVOKE.TextField_Assign(swigCPtr, TextField.getCPtr(handle)), false);
397 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
402 /// Downcasts a handle to TextField.
404 /// <param name="handle">Handle to an object</param>
405 /// <returns>Handle to a TextField or an empty handle</returns>
406 public new static TextField DownCast(BaseHandle handle)
408 TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
409 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
413 internal TextFieldSignal TextChangedSignal()
415 TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
416 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
420 internal TextFieldSignal MaxLengthReachedSignal()
422 TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
423 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
427 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal()
429 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);
430 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
434 internal enum PropertyRange
436 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
437 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
440 internal enum ExceedPolicyType
442 ExceedPolicyOriginal,
447 /// RenderingBackend property.
449 public int RenderingBackend
454 GetProperty(TextField.Property.RENDERING_BACKEND).Get(ref temp);
459 SetProperty(TextField.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
471 GetProperty(TextField.Property.TEXT).Get(out temp);
476 SetProperty(TextField.Property.TEXT, new Tizen.NUI.PropertyValue(value));
481 /// PlaceholderText property.
483 public string PlaceholderText
488 GetProperty(TextField.Property.PLACEHOLDER_TEXT).Get(out temp);
493 SetProperty(TextField.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));
498 /// PlaceholderTextFocused property.
500 public string PlaceholderTextFocused
505 GetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED).Get(out temp);
510 SetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Tizen.NUI.PropertyValue(value));
515 /// FontFamily property.
517 public string FontFamily
522 GetProperty(TextField.Property.FONT_FAMILY).Get(out temp);
527 SetProperty(TextField.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
532 /// FontStyle property.
534 public PropertyMap FontStyle
538 PropertyMap temp = new PropertyMap();
539 GetProperty(TextField.Property.FONT_STYLE).Get(temp);
544 SetProperty(TextField.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
549 /// PointSize property.
551 public float PointSize
556 GetProperty(TextField.Property.POINT_SIZE).Get(ref temp);
561 SetProperty(TextField.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
566 /// MaxLength property.
573 GetProperty(TextField.Property.MAX_LENGTH).Get(ref temp);
578 SetProperty(TextField.Property.MAX_LENGTH, new Tizen.NUI.PropertyValue(value));
583 /// ExceedPolicy property.
585 public int ExceedPolicy
590 GetProperty(TextField.Property.EXCEED_POLICY).Get(ref temp);
595 SetProperty(TextField.Property.EXCEED_POLICY, new Tizen.NUI.PropertyValue(value));
600 /// HorizontalAlignment property.
602 public HorizontalAlignment HorizontalAlignment
607 if (GetProperty(TextField.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
610 Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
617 return HorizontalAlignment.Begin;
619 return HorizontalAlignment.Center;
621 return HorizontalAlignment.End;
623 return HorizontalAlignment.Begin;
628 string valueToString = "";
631 case HorizontalAlignment.Begin:
633 valueToString = "BEGIN";
636 case HorizontalAlignment.Center:
638 valueToString = "CENTER";
641 case HorizontalAlignment.End:
643 valueToString = "END";
648 valueToString = "BEGIN";
652 SetProperty(TextField.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
657 /// VerticalAlignment property.
659 public VerticalAlignment VerticalAlignment
664 if (GetProperty(TextField.Property.VERTICAL_ALIGNMENT).Get(out temp) == false)
667 Tizen.Log.Error("NUI", "VerticalAlignment get error!");
674 return VerticalAlignment.Top;
676 return VerticalAlignment.Center;
678 return VerticalAlignment.Bottom;
680 return VerticalAlignment.Bottom;
685 string valueToString = "";
688 case VerticalAlignment.Top:
690 valueToString = "TOP";
693 case VerticalAlignment.Center:
695 valueToString = "CENTER";
698 case VerticalAlignment.Bottom:
700 valueToString = "BOTTOM";
705 valueToString = "BOTTOM";
709 SetProperty(TextField.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
714 /// TextColor property.
716 public Color TextColor
720 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
721 GetProperty(TextField.Property.TEXT_COLOR).Get(temp);
726 SetProperty(TextField.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
731 /// PlaceholderTextColor property.
733 public Vector4 PlaceholderTextColor
737 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
738 GetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);
743 SetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
748 /// ShadowOffset property.
750 public Vector2 ShadowOffset
754 Vector2 temp = new Vector2(0.0f, 0.0f);
755 GetProperty(TextField.Property.SHADOW_OFFSET).Get(temp);
760 SetProperty(TextField.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));
765 /// ShadowColor property.
767 public Vector4 ShadowColor
771 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
772 GetProperty(TextField.Property.SHADOW_COLOR).Get(temp);
777 SetProperty(TextField.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));
782 /// PrimaryCursorColor property.
784 public Vector4 PrimaryCursorColor
788 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
789 GetProperty(TextField.Property.PRIMARY_CURSOR_COLOR).Get(temp);
794 SetProperty(TextField.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
799 /// SecondaryCursorColor property.
801 public Vector4 SecondaryCursorColor
805 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
806 GetProperty(TextField.Property.SECONDARY_CURSOR_COLOR).Get(temp);
811 SetProperty(TextField.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
816 /// EnableCursorBlink property.
818 public bool EnableCursorBlink
823 GetProperty(TextField.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
828 SetProperty(TextField.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
833 /// CursorBlinkInterval property.
835 public float CursorBlinkInterval
840 GetProperty(TextField.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
845 SetProperty(TextField.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
850 /// CursorBlinkDuration property.
852 public float CursorBlinkDuration
857 GetProperty(TextField.Property.CURSOR_BLINK_DURATION).Get(ref temp);
862 SetProperty(TextField.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
867 /// CursorWidth property.
869 public int CursorWidth
874 GetProperty(TextField.Property.CURSOR_WIDTH).Get(ref temp);
879 SetProperty(TextField.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
884 /// GrabHandleImage property.
886 public string GrabHandleImage
891 GetProperty(TextField.Property.GRAB_HANDLE_IMAGE).Get(out temp);
896 SetProperty(TextField.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
901 /// GrabHandlePressedImage property.
903 public string GrabHandlePressedImage
908 GetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
913 SetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
918 /// ScrollThreshold property.
920 public float ScrollThreshold
925 GetProperty(TextField.Property.SCROLL_THRESHOLD).Get(ref temp);
930 SetProperty(TextField.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
935 /// ScrollSpeed property.
937 public float ScrollSpeed
942 GetProperty(TextField.Property.SCROLL_SPEED).Get(ref temp);
947 SetProperty(TextField.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
952 /// SelectionHandleImageLeft property.
954 public PropertyMap SelectionHandleImageLeft
958 PropertyMap temp = new PropertyMap();
959 GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
964 SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
969 /// SelectionHandleImageRight property.
971 public PropertyMap SelectionHandleImageRight
975 PropertyMap temp = new PropertyMap();
976 GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
981 SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
986 /// SelectionHandlePressedImageLeft property.
988 public PropertyMap SelectionHandlePressedImageLeft
992 PropertyMap temp = new PropertyMap();
993 GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
998 SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
1003 /// SelectionHandlePressedImageRight property.
1005 public PropertyMap SelectionHandlePressedImageRight
1009 PropertyMap temp = new PropertyMap();
1010 GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
1015 SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
1020 /// SelectionHandleMarkerImageLeft property.
1022 public PropertyMap SelectionHandleMarkerImageLeft
1026 PropertyMap temp = new PropertyMap();
1027 GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
1032 SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
1037 /// SelectionHandleMarkerImageRight property.
1039 public PropertyMap SelectionHandleMarkerImageRight
1043 PropertyMap temp = new PropertyMap();
1044 GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
1049 SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
1054 /// SelectionHighlightColor property.
1056 public Vector4 SelectionHighlightColor
1060 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1061 GetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
1066 SetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
1071 /// DecorationBoundingBox property.
1073 public Rectangle DecorationBoundingBox
1077 Rectangle temp = new Rectangle(0, 0, 0, 0);
1078 GetProperty(TextField.Property.DECORATION_BOUNDING_BOX).Get(temp);
1083 SetProperty(TextField.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
1088 /// InputMethodSettings property.
1090 public PropertyMap InputMethodSettings
1094 PropertyMap temp = new PropertyMap();
1095 GetProperty(TextField.Property.INPUT_METHOD_SETTINGS).Get(temp);
1100 SetProperty(TextField.Property.INPUT_METHOD_SETTINGS, new Tizen.NUI.PropertyValue(value));
1105 /// InputColor property.
1107 public Vector4 InputColor
1111 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1112 GetProperty(TextField.Property.INPUT_COLOR).Get(temp);
1117 SetProperty(TextField.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
1122 /// EnableMarkup property.
1124 public bool EnableMarkup
1129 GetProperty(TextField.Property.ENABLE_MARKUP).Get(ref temp);
1134 SetProperty(TextField.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
1139 /// InputFontFamily property.
1141 public string InputFontFamily
1146 GetProperty(TextField.Property.INPUT_FONT_FAMILY).Get(out temp);
1151 SetProperty(TextField.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
1156 /// InputFontStyle property.
1158 public PropertyMap InputFontStyle
1162 PropertyMap temp = new PropertyMap();
1163 GetProperty(TextField.Property.INPUT_FONT_STYLE).Get(temp);
1168 SetProperty(TextField.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
1173 /// InputPointSize property.
1175 public float InputPointSize
1180 GetProperty(TextField.Property.INPUT_POINT_SIZE).Get(ref temp);
1185 SetProperty(TextField.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
1190 /// Underline property.
1192 public PropertyMap Underline
1196 PropertyMap temp = new PropertyMap();
1197 GetProperty(TextField.Property.UNDERLINE).Get(temp);
1202 SetProperty(TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
1207 /// InputUnderline property.
1209 public string InputUnderline
1214 GetProperty(TextField.Property.INPUT_UNDERLINE).Get(out temp);
1219 SetProperty(TextField.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
1224 /// Shadow property.
1226 public PropertyMap Shadow
1230 PropertyMap temp = new PropertyMap();
1231 GetProperty(TextField.Property.SHADOW).Get(temp);
1236 SetProperty(TextField.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
1241 /// InputShadow property.
1243 public string InputShadow
1248 GetProperty(TextField.Property.INPUT_SHADOW).Get(out temp);
1253 SetProperty(TextField.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
1258 /// Emboss property.
1260 public string Emboss
1265 GetProperty(TextField.Property.EMBOSS).Get(out temp);
1270 SetProperty(TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
1275 /// InputEmboss property.
1277 public string InputEmboss
1282 GetProperty(TextField.Property.INPUT_EMBOSS).Get(out temp);
1287 SetProperty(TextField.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1292 /// Outline property.
1294 public string Outline
1299 GetProperty(TextField.Property.OUTLINE).Get(out temp);
1304 SetProperty(TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1309 /// InputOutline property.
1311 public string InputOutline
1316 GetProperty(TextField.Property.INPUT_OUTLINE).Get(out temp);
1321 SetProperty(TextField.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));