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.UIComponents
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;
52 DisposeQueue.Instance.Add(this);
58 public override void Dispose()
60 if (!Stage.IsInstalled())
62 DisposeQueue.Instance.Add(this);
68 if (swigCPtr.Handle != global::System.IntPtr.Zero)
73 NDalicPINVOKE.delete_TextField(swigCPtr);
75 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
77 global::System.GC.SuppressFinalize(this);
83 /// Text changed event arguments.
85 public class TextChangedEventArgs : EventArgs
87 private TextField _textField;
92 public TextField TextField
106 /// MaxLengthReached event arguments.
108 public class MaxLengthReachedEventArgs : EventArgs
110 private TextField _textField;
115 public TextField TextField
129 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
130 private delegate void TextChangedCallbackDelegate(IntPtr textField);
131 private EventHandler<TextChangedEventArgs> _textFieldTextChangedEventHandler;
132 private TextChangedCallbackDelegate _textFieldTextChangedCallbackDelegate;
134 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
135 private delegate void MaxLengthReachedCallbackDelegate(IntPtr textField);
136 private EventHandler<MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;
137 private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;
140 /// TextChanged event.
142 public event EventHandler<TextChangedEventArgs> TextChanged
146 if (_textFieldTextChangedEventHandler == null)
148 _textFieldTextChangedCallbackDelegate = (OnTextChanged);
149 TextChangedSignal().Connect(_textFieldTextChangedCallbackDelegate);
151 _textFieldTextChangedEventHandler += value;
155 _textFieldTextChangedEventHandler -= value;
156 if (_textFieldTextChangedEventHandler == null && TextChangedSignal().Empty() == false)
158 TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);
163 private void OnTextChanged(IntPtr textField)
165 TextChangedEventArgs e = new TextChangedEventArgs();
167 // Populate all members of "e" (TextChangedEventArgs) with real data
168 e.TextField = Tizen.NUI.UIComponents.TextField.GetTextFieldFromPtr(textField);
170 if (_textFieldTextChangedEventHandler != null)
172 //here we send all data to user event handlers
173 _textFieldTextChangedEventHandler(this, e);
179 /// MaxLengthReached event.
181 public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
185 if (_textFieldMaxLengthReachedEventHandler == null)
187 _textFieldMaxLengthReachedCallbackDelegate = (OnMaxLengthReached);
188 MaxLengthReachedSignal().Connect(_textFieldMaxLengthReachedCallbackDelegate);
190 _textFieldMaxLengthReachedEventHandler += value;
194 if (_textFieldMaxLengthReachedEventHandler == null && MaxLengthReachedSignal().Empty() == false)
196 this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);
198 _textFieldMaxLengthReachedEventHandler -= value;
202 private void OnMaxLengthReached(IntPtr textField)
204 MaxLengthReachedEventArgs e = new MaxLengthReachedEventArgs();
206 // Populate all members of "e" (MaxLengthReachedEventArgs) with real data
207 e.TextField = Tizen.NUI.UIComponents.TextField.GetTextFieldFromPtr(textField);
209 if (_textFieldMaxLengthReachedEventHandler != null)
211 //here we send all data to user event handlers
212 _textFieldMaxLengthReachedEventHandler(this, e);
217 internal static TextField GetTextFieldFromPtr(global::System.IntPtr cPtr)
219 TextField ret = new TextField(cPtr, false);
220 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
225 internal class Property : global::System.IDisposable
227 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
228 protected bool swigCMemOwn;
230 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
232 swigCMemOwn = cMemoryOwn;
233 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
236 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
238 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
246 public virtual void Dispose()
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;
339 public virtual void Dispose()
343 if (swigCPtr.Handle != global::System.IntPtr.Zero)
348 NDalicPINVOKE.delete_TextField_InputStyle(swigCPtr);
350 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
352 global::System.GC.SuppressFinalize(this);
356 internal InputStyle() : this(NDalicPINVOKE.new_TextField_InputStyle(), true)
358 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
377 /// Creates the TextField control.
379 public TextField() : this(NDalicPINVOKE.TextField_New(), true)
381 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
384 internal TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true)
386 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
389 internal TextField Assign(TextField handle)
391 TextField ret = new TextField(NDalicPINVOKE.TextField_Assign(swigCPtr, TextField.getCPtr(handle)), false);
392 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
397 /// Downcasts a handle to TextField.
399 /// <param name="handle">Handle to an object</param>
400 /// <returns>Handle to a TextField or an empty handle</returns>
401 public new static TextField DownCast(BaseHandle handle)
403 TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
404 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
408 internal TextFieldSignal TextChangedSignal()
410 TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
411 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
415 internal TextFieldSignal MaxLengthReachedSignal()
417 TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
418 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
422 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal()
424 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);
425 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
429 internal enum PropertyRange
431 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
432 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
435 internal enum ExceedPolicyType
437 ExceedPolicyOriginal,
442 /// RenderingBackend property.
444 public int RenderingBackend
449 GetProperty(TextField.Property.RENDERING_BACKEND).Get(ref temp);
454 SetProperty(TextField.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
466 GetProperty(TextField.Property.TEXT).Get(out temp);
471 SetProperty(TextField.Property.TEXT, new Tizen.NUI.PropertyValue(value));
476 /// PlaceholderText property.
478 public string PlaceholderText
483 GetProperty(TextField.Property.PLACEHOLDER_TEXT).Get(out temp);
488 SetProperty(TextField.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));
493 /// PlaceholderTextFocused property.
495 public string PlaceholderTextFocused
500 GetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED).Get(out temp);
505 SetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Tizen.NUI.PropertyValue(value));
510 /// FontFamily property.
512 public string FontFamily
517 GetProperty(TextField.Property.FONT_FAMILY).Get(out temp);
522 SetProperty(TextField.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
527 /// FontStyle property.
529 public PropertyMap FontStyle
533 PropertyMap temp = new PropertyMap();
534 GetProperty(TextField.Property.FONT_STYLE).Get(temp);
539 SetProperty(TextField.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
544 /// PointSize property.
546 public float PointSize
551 GetProperty(TextField.Property.POINT_SIZE).Get(ref temp);
556 SetProperty(TextField.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
561 /// MaxLength property.
568 GetProperty(TextField.Property.MAX_LENGTH).Get(ref temp);
573 SetProperty(TextField.Property.MAX_LENGTH, new Tizen.NUI.PropertyValue(value));
578 /// ExceedPolicy property.
580 public int ExceedPolicy
585 GetProperty(TextField.Property.EXCEED_POLICY).Get(ref temp);
590 SetProperty(TextField.Property.EXCEED_POLICY, new Tizen.NUI.PropertyValue(value));
595 /// HorizontalAlignment property.
597 public HorizontalAlignment HorizontalAlignment
602 if (GetProperty(TextField.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
604 //Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
610 return HorizontalAlignment.HorizontalAlignBegin;
612 return HorizontalAlignment.HorizontalAlignCenter;
614 return HorizontalAlignment.HorizontalAlignEnd;
616 return HorizontalAlignment.HorizontalAlignBegin;
621 string valueToString = "";
624 case HorizontalAlignment.HorizontalAlignBegin:
626 valueToString = "BEGIN";
629 case HorizontalAlignment.HorizontalAlignCenter:
631 valueToString = "CENTER";
634 case HorizontalAlignment.HorizontalAlignEnd:
636 valueToString = "END";
641 valueToString = "BEGIN";
645 SetProperty(TextField.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
650 /// VerticalAlignment property.
652 public VerticalAlignment VerticalAlignment
657 if (GetProperty(TextField.Property.VERTICAL_ALIGNMENT).Get(out temp) == false)
659 //Tizen.Log.Error("NUI", "VerticalAlignment get error!");
665 return VerticalAlignment.VerticalAlignTop;
667 return VerticalAlignment.VerticalAlignCenter;
669 return VerticalAlignment.VerticalAlignBottom;
671 return VerticalAlignment.VerticalAlignBottom;
676 string valueToString = "";
679 case VerticalAlignment.VerticalAlignTop:
681 valueToString = "TOP";
684 case VerticalAlignment.VerticalAlignCenter:
686 valueToString = "CENTER";
689 case VerticalAlignment.VerticalAlignBottom:
691 valueToString = "BOTTOM";
696 valueToString = "BOTTOM";
700 SetProperty(TextField.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
705 /// TextColor property.
707 public Color TextColor
711 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
712 GetProperty(TextField.Property.TEXT_COLOR).Get(temp);
717 SetProperty(TextField.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
722 /// PlaceholderTextColor property.
724 public Vector4 PlaceholderTextColor
728 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
729 GetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);
734 SetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
739 /// ShadowOffset property.
741 public Vector2 ShadowOffset
745 Vector2 temp = new Vector2(0.0f, 0.0f);
746 GetProperty(TextField.Property.SHADOW_OFFSET).Get(temp);
751 SetProperty(TextField.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));
756 /// ShadowColor property.
758 public Vector4 ShadowColor
762 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
763 GetProperty(TextField.Property.SHADOW_COLOR).Get(temp);
768 SetProperty(TextField.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));
773 /// PrimaryCursorColor property.
775 public Vector4 PrimaryCursorColor
779 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
780 GetProperty(TextField.Property.PRIMARY_CURSOR_COLOR).Get(temp);
785 SetProperty(TextField.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
790 /// SecondaryCursorColor property.
792 public Vector4 SecondaryCursorColor
796 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
797 GetProperty(TextField.Property.SECONDARY_CURSOR_COLOR).Get(temp);
802 SetProperty(TextField.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
807 /// EnableCursorBlink property.
809 public bool EnableCursorBlink
814 GetProperty(TextField.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
819 SetProperty(TextField.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
824 /// CursorBlinkInterval property.
826 public float CursorBlinkInterval
831 GetProperty(TextField.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
836 SetProperty(TextField.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
841 /// CursorBlinkDuration property.
843 public float CursorBlinkDuration
848 GetProperty(TextField.Property.CURSOR_BLINK_DURATION).Get(ref temp);
853 SetProperty(TextField.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
858 /// CursorWidth property.
860 public int CursorWidth
865 GetProperty(TextField.Property.CURSOR_WIDTH).Get(ref temp);
870 SetProperty(TextField.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
875 /// GrabHandleImage property.
877 public string GrabHandleImage
882 GetProperty(TextField.Property.GRAB_HANDLE_IMAGE).Get(out temp);
887 SetProperty(TextField.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
892 /// GrabHandlePressedImage property.
894 public string GrabHandlePressedImage
899 GetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
904 SetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
909 /// ScrollThreshold property.
911 public float ScrollThreshold
916 GetProperty(TextField.Property.SCROLL_THRESHOLD).Get(ref temp);
921 SetProperty(TextField.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
926 /// ScrollSpeed property.
928 public float ScrollSpeed
933 GetProperty(TextField.Property.SCROLL_SPEED).Get(ref temp);
938 SetProperty(TextField.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
943 /// SelectionHandleImageLeft property.
945 public PropertyMap SelectionHandleImageLeft
949 PropertyMap temp = new PropertyMap();
950 GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
955 SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
960 /// SelectionHandleImageRight property.
962 public PropertyMap SelectionHandleImageRight
966 PropertyMap temp = new PropertyMap();
967 GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
972 SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
977 /// SelectionHandlePressedImageLeft property.
979 public PropertyMap SelectionHandlePressedImageLeft
983 PropertyMap temp = new PropertyMap();
984 GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
989 SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
994 /// SelectionHandlePressedImageRight property.
996 public PropertyMap SelectionHandlePressedImageRight
1000 PropertyMap temp = new PropertyMap();
1001 GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
1006 SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
1011 /// SelectionHandleMarkerImageLeft property.
1013 public PropertyMap SelectionHandleMarkerImageLeft
1017 PropertyMap temp = new PropertyMap();
1018 GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
1023 SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
1028 /// SelectionHandleMarkerImageRight property.
1030 public PropertyMap SelectionHandleMarkerImageRight
1034 PropertyMap temp = new PropertyMap();
1035 GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
1040 SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
1045 /// SelectionHighlightColor property.
1047 public Vector4 SelectionHighlightColor
1051 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1052 GetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
1057 SetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
1062 /// DecorationBoundingBox property.
1064 public Rectangle DecorationBoundingBox
1068 Rectangle temp = new Rectangle(0, 0, 0, 0);
1069 GetProperty(TextField.Property.DECORATION_BOUNDING_BOX).Get(temp);
1074 SetProperty(TextField.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
1079 /// InputMethodSettings property.
1081 public PropertyMap InputMethodSettings
1085 PropertyMap temp = new PropertyMap();
1086 GetProperty(TextField.Property.INPUT_METHOD_SETTINGS).Get(temp);
1091 SetProperty(TextField.Property.INPUT_METHOD_SETTINGS, new Tizen.NUI.PropertyValue(value));
1096 /// InputColor property.
1098 public Vector4 InputColor
1102 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1103 GetProperty(TextField.Property.INPUT_COLOR).Get(temp);
1108 SetProperty(TextField.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
1113 /// EnableMarkup property.
1115 public bool EnableMarkup
1120 GetProperty(TextField.Property.ENABLE_MARKUP).Get(ref temp);
1125 SetProperty(TextField.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
1130 /// InputFontFamily property.
1132 public string InputFontFamily
1137 GetProperty(TextField.Property.INPUT_FONT_FAMILY).Get(out temp);
1142 SetProperty(TextField.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
1147 /// InputFontStyle property.
1149 public PropertyMap InputFontStyle
1153 PropertyMap temp = new PropertyMap();
1154 GetProperty(TextField.Property.INPUT_FONT_STYLE).Get(temp);
1159 SetProperty(TextField.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
1164 /// InputPointSize property.
1166 public float InputPointSize
1171 GetProperty(TextField.Property.INPUT_POINT_SIZE).Get(ref temp);
1176 SetProperty(TextField.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
1181 /// Underline property.
1183 public PropertyMap Underline
1187 PropertyMap temp = new PropertyMap();
1188 GetProperty(TextField.Property.UNDERLINE).Get(temp);
1193 SetProperty(TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
1198 /// InputUnderline property.
1200 public string InputUnderline
1205 GetProperty(TextField.Property.INPUT_UNDERLINE).Get(out temp);
1210 SetProperty(TextField.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
1215 /// Shadow property.
1217 public PropertyMap Shadow
1221 PropertyMap temp = new PropertyMap();
1222 GetProperty(TextField.Property.SHADOW).Get(temp);
1227 SetProperty(TextField.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
1232 /// InputShadow property.
1234 public string InputShadow
1239 GetProperty(TextField.Property.INPUT_SHADOW).Get(out temp);
1244 SetProperty(TextField.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
1249 /// Emboss property.
1251 public string Emboss
1256 GetProperty(TextField.Property.EMBOSS).Get(out temp);
1261 SetProperty(TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
1266 /// InputEmboss property.
1268 public string InputEmboss
1273 GetProperty(TextField.Property.INPUT_EMBOSS).Get(out temp);
1278 SetProperty(TextField.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1283 /// Outline property.
1285 public string Outline
1290 GetProperty(TextField.Property.OUTLINE).Get(out temp);
1295 SetProperty(TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1300 /// InputOutline property.
1302 public string InputOutline
1307 GetProperty(TextField.Property.INPUT_OUTLINE).Get(out temp);
1312 SetProperty(TextField.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));