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();
315 internal static readonly int HIDDEN_INPUT_SETTINGS = NDalicManualPINVOKE.TextField_Property_HIDDEN_INPUT_SETTINGS_get();
316 internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextField_Property_PIXEL_SIZE_get();
320 internal class InputStyle : global::System.IDisposable
322 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
323 protected bool swigCMemOwn;
325 internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)
327 swigCMemOwn = cMemoryOwn;
328 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
331 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)
333 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
338 DisposeQueue.Instance.Add(this);
341 public virtual void Dispose()
343 if (!Window.IsInstalled()) {
344 DisposeQueue.Instance.Add(this);
350 if (swigCPtr.Handle != global::System.IntPtr.Zero)
355 NDalicPINVOKE.delete_TextField_InputStyle(swigCPtr);
357 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
359 global::System.GC.SuppressFinalize(this);
363 internal InputStyle() : this(NDalicPINVOKE.new_TextField_InputStyle(), true)
365 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
384 /// Creates the TextField control.
386 public TextField() : this(NDalicPINVOKE.TextField_New(), true)
388 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
391 internal TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true)
393 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
396 internal TextField Assign(TextField handle)
398 TextField ret = new TextField(NDalicPINVOKE.TextField_Assign(swigCPtr, TextField.getCPtr(handle)), false);
399 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
404 /// Downcasts a handle to TextField.
406 /// <param name="handle">Handle to an object</param>
407 /// <returns>Handle to a TextField or an empty handle</returns>
408 public new static TextField DownCast(BaseHandle handle)
410 TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
411 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
415 internal TextFieldSignal TextChangedSignal()
417 TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
418 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
422 internal TextFieldSignal MaxLengthReachedSignal()
424 TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
425 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
429 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal()
431 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);
432 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
436 internal enum PropertyRange
438 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
439 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
442 internal enum ExceedPolicyType
444 ExceedPolicyOriginal,
449 /// RenderingBackend property.
451 public int RenderingBackend
456 GetProperty(TextField.Property.RENDERING_BACKEND).Get(ref temp);
461 SetProperty(TextField.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
473 GetProperty(TextField.Property.TEXT).Get(out temp);
478 SetProperty(TextField.Property.TEXT, new Tizen.NUI.PropertyValue(value));
483 /// PlaceholderText property.
485 public string PlaceholderText
490 GetProperty(TextField.Property.PLACEHOLDER_TEXT).Get(out temp);
495 SetProperty(TextField.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));
500 /// PlaceholderTextFocused property.
502 public string PlaceholderTextFocused
507 GetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED).Get(out temp);
512 SetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Tizen.NUI.PropertyValue(value));
517 /// FontFamily property.
519 public string FontFamily
524 GetProperty(TextField.Property.FONT_FAMILY).Get(out temp);
529 SetProperty(TextField.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
534 /// FontStyle property.
536 public PropertyMap FontStyle
540 PropertyMap temp = new PropertyMap();
541 GetProperty(TextField.Property.FONT_STYLE).Get(temp);
546 SetProperty(TextField.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
551 /// PointSize property.
553 public float PointSize
558 GetProperty(TextField.Property.POINT_SIZE).Get(ref temp);
563 SetProperty(TextField.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
568 /// MaxLength property.
575 GetProperty(TextField.Property.MAX_LENGTH).Get(ref temp);
580 SetProperty(TextField.Property.MAX_LENGTH, new Tizen.NUI.PropertyValue(value));
585 /// ExceedPolicy property.
587 public int ExceedPolicy
592 GetProperty(TextField.Property.EXCEED_POLICY).Get(ref temp);
597 SetProperty(TextField.Property.EXCEED_POLICY, new Tizen.NUI.PropertyValue(value));
602 /// HorizontalAlignment property.
604 public HorizontalAlignment HorizontalAlignment
609 if (GetProperty(TextField.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
612 Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
619 return HorizontalAlignment.Begin;
621 return HorizontalAlignment.Center;
623 return HorizontalAlignment.End;
625 return HorizontalAlignment.Begin;
630 string valueToString = "";
633 case HorizontalAlignment.Begin:
635 valueToString = "BEGIN";
638 case HorizontalAlignment.Center:
640 valueToString = "CENTER";
643 case HorizontalAlignment.End:
645 valueToString = "END";
650 valueToString = "BEGIN";
654 SetProperty(TextField.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
659 /// VerticalAlignment property.
661 public VerticalAlignment VerticalAlignment
666 if (GetProperty(TextField.Property.VERTICAL_ALIGNMENT).Get(out temp) == false)
669 Tizen.Log.Error("NUI", "VerticalAlignment get error!");
676 return VerticalAlignment.Top;
678 return VerticalAlignment.Center;
680 return VerticalAlignment.Bottom;
682 return VerticalAlignment.Bottom;
687 string valueToString = "";
690 case VerticalAlignment.Top:
692 valueToString = "TOP";
695 case VerticalAlignment.Center:
697 valueToString = "CENTER";
700 case VerticalAlignment.Bottom:
702 valueToString = "BOTTOM";
707 valueToString = "BOTTOM";
711 SetProperty(TextField.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
716 /// TextColor property.
718 public Color TextColor
722 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
723 GetProperty(TextField.Property.TEXT_COLOR).Get(temp);
728 SetProperty(TextField.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
733 /// PlaceholderTextColor property.
735 public Vector4 PlaceholderTextColor
739 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
740 GetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);
745 SetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
750 /// ShadowOffset property.
752 public Vector2 ShadowOffset
756 Vector2 temp = new Vector2(0.0f, 0.0f);
757 GetProperty(TextField.Property.SHADOW_OFFSET).Get(temp);
762 SetProperty(TextField.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));
767 /// ShadowColor property.
769 public Vector4 ShadowColor
773 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
774 GetProperty(TextField.Property.SHADOW_COLOR).Get(temp);
779 SetProperty(TextField.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));
784 /// PrimaryCursorColor property.
786 public Vector4 PrimaryCursorColor
790 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
791 GetProperty(TextField.Property.PRIMARY_CURSOR_COLOR).Get(temp);
796 SetProperty(TextField.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
801 /// SecondaryCursorColor property.
803 public Vector4 SecondaryCursorColor
807 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
808 GetProperty(TextField.Property.SECONDARY_CURSOR_COLOR).Get(temp);
813 SetProperty(TextField.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
818 /// EnableCursorBlink property.
820 public bool EnableCursorBlink
825 GetProperty(TextField.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
830 SetProperty(TextField.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
835 /// CursorBlinkInterval property.
837 public float CursorBlinkInterval
842 GetProperty(TextField.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
847 SetProperty(TextField.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
852 /// CursorBlinkDuration property.
854 public float CursorBlinkDuration
859 GetProperty(TextField.Property.CURSOR_BLINK_DURATION).Get(ref temp);
864 SetProperty(TextField.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
869 /// CursorWidth property.
871 public int CursorWidth
876 GetProperty(TextField.Property.CURSOR_WIDTH).Get(ref temp);
881 SetProperty(TextField.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
886 /// GrabHandleImage property.
888 public string GrabHandleImage
893 GetProperty(TextField.Property.GRAB_HANDLE_IMAGE).Get(out temp);
898 SetProperty(TextField.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
903 /// GrabHandlePressedImage property.
905 public string GrabHandlePressedImage
910 GetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
915 SetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
920 /// ScrollThreshold property.
922 public float ScrollThreshold
927 GetProperty(TextField.Property.SCROLL_THRESHOLD).Get(ref temp);
932 SetProperty(TextField.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
937 /// ScrollSpeed property.
939 public float ScrollSpeed
944 GetProperty(TextField.Property.SCROLL_SPEED).Get(ref temp);
949 SetProperty(TextField.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
954 /// SelectionHandleImageLeft property.
956 public PropertyMap SelectionHandleImageLeft
960 PropertyMap temp = new PropertyMap();
961 GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
966 SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
971 /// SelectionHandleImageRight property.
973 public PropertyMap SelectionHandleImageRight
977 PropertyMap temp = new PropertyMap();
978 GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
983 SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
988 /// SelectionHandlePressedImageLeft property.
990 public PropertyMap SelectionHandlePressedImageLeft
994 PropertyMap temp = new PropertyMap();
995 GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
1000 SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
1005 /// SelectionHandlePressedImageRight property.
1007 public PropertyMap SelectionHandlePressedImageRight
1011 PropertyMap temp = new PropertyMap();
1012 GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
1017 SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
1022 /// SelectionHandleMarkerImageLeft property.
1024 public PropertyMap SelectionHandleMarkerImageLeft
1028 PropertyMap temp = new PropertyMap();
1029 GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
1034 SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
1039 /// SelectionHandleMarkerImageRight property.
1041 public PropertyMap SelectionHandleMarkerImageRight
1045 PropertyMap temp = new PropertyMap();
1046 GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
1051 SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
1056 /// SelectionHighlightColor property.
1058 public Vector4 SelectionHighlightColor
1062 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1063 GetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
1068 SetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
1073 /// DecorationBoundingBox property.
1075 public Rectangle DecorationBoundingBox
1079 Rectangle temp = new Rectangle(0, 0, 0, 0);
1080 GetProperty(TextField.Property.DECORATION_BOUNDING_BOX).Get(temp);
1085 SetProperty(TextField.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
1090 /// InputMethodSettings property.
1092 public PropertyMap InputMethodSettings
1096 PropertyMap temp = new PropertyMap();
1097 GetProperty(TextField.Property.INPUT_METHOD_SETTINGS).Get(temp);
1102 SetProperty(TextField.Property.INPUT_METHOD_SETTINGS, new Tizen.NUI.PropertyValue(value));
1107 /// InputColor property.
1109 public Vector4 InputColor
1113 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1114 GetProperty(TextField.Property.INPUT_COLOR).Get(temp);
1119 SetProperty(TextField.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
1124 /// EnableMarkup property.
1126 public bool EnableMarkup
1131 GetProperty(TextField.Property.ENABLE_MARKUP).Get(ref temp);
1136 SetProperty(TextField.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
1141 /// InputFontFamily property.
1143 public string InputFontFamily
1148 GetProperty(TextField.Property.INPUT_FONT_FAMILY).Get(out temp);
1153 SetProperty(TextField.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
1158 /// InputFontStyle property.
1160 public PropertyMap InputFontStyle
1164 PropertyMap temp = new PropertyMap();
1165 GetProperty(TextField.Property.INPUT_FONT_STYLE).Get(temp);
1170 SetProperty(TextField.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
1175 /// InputPointSize property.
1177 public float InputPointSize
1182 GetProperty(TextField.Property.INPUT_POINT_SIZE).Get(ref temp);
1187 SetProperty(TextField.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
1192 /// Underline property.
1194 public PropertyMap Underline
1198 PropertyMap temp = new PropertyMap();
1199 GetProperty(TextField.Property.UNDERLINE).Get(temp);
1204 SetProperty(TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
1209 /// InputUnderline property.
1211 public string InputUnderline
1216 GetProperty(TextField.Property.INPUT_UNDERLINE).Get(out temp);
1221 SetProperty(TextField.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
1226 /// Shadow property.
1228 public PropertyMap Shadow
1232 PropertyMap temp = new PropertyMap();
1233 GetProperty(TextField.Property.SHADOW).Get(temp);
1238 SetProperty(TextField.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
1243 /// InputShadow property.
1245 public string InputShadow
1250 GetProperty(TextField.Property.INPUT_SHADOW).Get(out temp);
1255 SetProperty(TextField.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
1260 /// Emboss property.
1262 public string Emboss
1267 GetProperty(TextField.Property.EMBOSS).Get(out temp);
1272 SetProperty(TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
1277 /// InputEmboss property.
1279 public string InputEmboss
1284 GetProperty(TextField.Property.INPUT_EMBOSS).Get(out temp);
1289 SetProperty(TextField.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1294 /// Outline property.
1296 public string Outline
1301 GetProperty(TextField.Property.OUTLINE).Get(out temp);
1306 SetProperty(TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1311 /// InputOutline property.
1313 public string InputOutline
1318 GetProperty(TextField.Property.INPUT_OUTLINE).Get(out temp);
1323 SetProperty(TextField.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));
1328 /// HiddenInputSettings property.
1330 public Tizen.NUI.PropertyMap HiddenInputSettings
1334 Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
1335 GetProperty(TextField.Property.HIDDEN_INPUT_SETTINGS).Get(temp);
1340 SetProperty(TextField.Property.HIDDEN_INPUT_SETTINGS, new Tizen.NUI.PropertyValue(value));
1345 /// PixelSize property.
1347 public float PixelSize
1352 GetProperty(TextField.Property.PIXEL_SIZE).Get(ref temp);
1357 SetProperty(TextField.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));