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 multi-line editable text editor.
36 public class TextEditor : View
38 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
40 internal TextEditor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextEditor_SWIGUpcast(cPtr), cMemoryOwn)
42 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
43 // By default, we do not want the position to use the anchor point
44 PositionUsesAnchorPoint = false;
47 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextEditor obj)
49 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
55 protected override void Dispose(DisposeTypes type)
62 if(type == DisposeTypes.Explicit)
65 //Release your own managed resources here.
66 //You should release all of your own disposable objects here.
69 //Release your own unmanaged resources here.
70 //You should not access any managed member here except static instance.
71 //because the execution order of Finalizes is non-deterministic.
73 if (swigCPtr.Handle != global::System.IntPtr.Zero)
78 NDalicPINVOKE.delete_TextEditor(swigCPtr);
80 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
87 /// Event arguments that passed via TextChanged signal.
89 public class TextChangedEventArgs : EventArgs
91 private TextEditor _textEditor;
94 /// TextEditor - is the texteditor control which has the text contents changed.
96 public TextEditor TextEditor
109 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
110 private delegate void TextChangedCallbackDelegate(IntPtr textEditor);
111 private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;
112 private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;
115 /// Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
116 /// provided by the user. TextChanged signal is emitted when the text changes.<br>
118 public event EventHandler<TextChangedEventArgs> TextChanged
122 if (_textEditorTextChangedEventHandler == null)
124 _textEditorTextChangedCallbackDelegate = (OnTextChanged);
125 TextChangedSignal().Connect(_textEditorTextChangedCallbackDelegate);
127 _textEditorTextChangedEventHandler += value;
131 _textEditorTextChangedEventHandler -= value;
132 if (_textEditorTextChangedEventHandler == null && TextChangedSignal().Empty() == false)
134 TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);
139 private void OnTextChanged(IntPtr textEditor)
141 TextChangedEventArgs e = new TextChangedEventArgs();
143 // Populate all members of "e" (TextChangedEventArgs) with real data
144 e.TextEditor = TextEditor.GetTextEditorFromPtr(textEditor);
146 if (_textEditorTextChangedEventHandler != null)
148 //here we send all data to user event handlers
149 _textEditorTextChangedEventHandler(this, e);
154 internal static TextEditor GetTextEditorFromPtr(global::System.IntPtr cPtr)
156 TextEditor ret = new TextEditor(cPtr, false);
157 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
162 internal class Property
164 internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
165 internal static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
166 internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();
167 internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_FONT_FAMILY_get();
168 internal static readonly int FONT_STYLE = NDalicPINVOKE.TextEditor_Property_FONT_STYLE_get();
169 internal static readonly int POINT_SIZE = NDalicPINVOKE.TextEditor_Property_POINT_SIZE_get();
170 internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextEditor_Property_HORIZONTAL_ALIGNMENT_get();
171 internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextEditor_Property_SCROLL_THRESHOLD_get();
172 internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextEditor_Property_SCROLL_SPEED_get();
173 internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_PRIMARY_CURSOR_COLOR_get();
174 internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_SECONDARY_CURSOR_COLOR_get();
175 internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextEditor_Property_ENABLE_CURSOR_BLINK_get();
176 internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_INTERVAL_get();
177 internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_DURATION_get();
178 internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextEditor_Property_CURSOR_WIDTH_get();
179 internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_IMAGE_get();
180 internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
181 internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
182 internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
183 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
184 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
185 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
186 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
187 internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get();
188 internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextEditor_Property_DECORATION_BOUNDING_BOX_get();
189 internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextEditor_Property_ENABLE_MARKUP_get();
190 internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextEditor_Property_INPUT_COLOR_get();
191 internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_FAMILY_get();
192 internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_STYLE_get();
193 internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextEditor_Property_INPUT_POINT_SIZE_get();
194 internal static readonly int LINE_SPACING = NDalicPINVOKE.TextEditor_Property_LINE_SPACING_get();
195 internal static readonly int INPUT_LINE_SPACING = NDalicPINVOKE.TextEditor_Property_INPUT_LINE_SPACING_get();
196 internal static readonly int UNDERLINE = NDalicPINVOKE.TextEditor_Property_UNDERLINE_get();
197 internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextEditor_Property_INPUT_UNDERLINE_get();
198 internal static readonly int SHADOW = NDalicPINVOKE.TextEditor_Property_SHADOW_get();
199 internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextEditor_Property_INPUT_SHADOW_get();
200 internal static readonly int EMBOSS = NDalicPINVOKE.TextEditor_Property_EMBOSS_get();
201 internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
202 internal static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
203 internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
204 internal static readonly int SMOOTH_SCROLL = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_get();
205 internal static readonly int SMOOTH_SCROLL_DURATION = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_DURATION_get();
206 internal static readonly int ENABLE_SCROLL_BAR = NDalicManualPINVOKE.TextEditor_Property_ENABLE_SCROLL_BAR_get();
207 internal static readonly int SCROLL_BAR_SHOW_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get();
208 internal static readonly int SCROLL_BAR_FADE_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_FADE_DURATION_get();
209 internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextEditor_Property_PIXEL_SIZE_get();
210 internal static readonly int LINE_COUNT = NDalicManualPINVOKE.TextEditor_Property_LINE_COUNT_get();
211 internal static readonly int PLACEHOLDER_TEXT = NDalicManualPINVOKE.TextEditor_Property_PLACEHOLDER_TEXT_get();
212 internal static readonly int PLACEHOLDER_TEXT_COLOR = NDalicManualPINVOKE.TextEditor_Property_PLACEHOLDER_TEXT_COLOR_get();
216 internal class InputStyle
225 LineSpacing = 0x0010,
234 /// Creates the TextEditor control.
236 public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
238 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
241 internal TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true)
243 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
247 /// Downcasts a handle to TextEditor.
249 /// <param name="handle">Handle to an object</param>
250 /// <returns>Handle to a TextEditor or an empty handle</returns>
251 internal new static TextEditor DownCast(BaseHandle handle)
253 TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
254 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
258 internal TextEditorSignal TextChangedSignal()
260 TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
261 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
265 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal()
267 SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t(NDalicPINVOKE.TextEditor_InputStyleChangedSignal(swigCPtr), false);
268 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
280 GetProperty(TextEditor.Property.TEXT).Get(out temp);
285 SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));
290 /// Text color property.
292 public Vector4 TextColor
296 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
297 GetProperty(TextEditor.Property.TEXT_COLOR).Get(temp);
302 SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
307 /// Font family property.
309 public string FontFamily
314 GetProperty(TextEditor.Property.FONT_FAMILY).Get(out temp);
319 SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
324 /// Font style property.
326 public PropertyMap FontStyle
330 PropertyMap temp = new PropertyMap();
331 GetProperty(TextEditor.Property.FONT_STYLE).Get(temp);
336 SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
341 /// Point size property.
343 public float PointSize
348 GetProperty(TextEditor.Property.POINT_SIZE).Get(out temp);
353 SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
358 /// Horizontal alignment property.
360 public HorizontalAlignment HorizontalAlignment
365 if (GetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
368 Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
375 return HorizontalAlignment.Begin;
377 return HorizontalAlignment.Center;
379 return HorizontalAlignment.End;
381 return HorizontalAlignment.Begin;
386 string valueToString = "";
389 case HorizontalAlignment.Begin:
391 valueToString = "BEGIN";
394 case HorizontalAlignment.Center:
396 valueToString = "CENTER";
399 case HorizontalAlignment.End:
401 valueToString = "END";
406 valueToString = "BEGIN";
410 SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
415 /// Scroll threshold property.
417 public float ScrollThreshold
422 GetProperty(TextEditor.Property.SCROLL_THRESHOLD).Get(out temp);
427 SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
432 /// Scroll speed property.
434 public float ScrollSpeed
439 GetProperty(TextEditor.Property.SCROLL_SPEED).Get(out temp);
444 SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
449 /// Primary cursor color property.
451 public Vector4 PrimaryCursorColor
455 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
456 GetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);
461 SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
466 /// SecondaryCursorColor property.
468 public Vector4 SecondaryCursorColor
472 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
473 GetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);
478 SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
483 /// EnableCursorBlink property.
485 public bool EnableCursorBlink
490 GetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK).Get(out temp);
495 SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
500 /// CursorBlinkInterval property.
502 public float CursorBlinkInterval
507 GetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(out temp);
512 SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
517 /// CursorBlinkDuration property.
519 public float CursorBlinkDuration
524 GetProperty(TextEditor.Property.CURSOR_BLINK_DURATION).Get(out temp);
529 SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
534 /// CursorWidth property.
536 public int CursorWidth
541 GetProperty(TextEditor.Property.CURSOR_WIDTH).Get(out temp);
546 SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
551 /// GrabHandleImage property.
553 public string GrabHandleImage
558 GetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);
563 SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
568 /// GrabHandlePressedImage property.
570 public string GrabHandlePressedImage
575 GetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
580 SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
585 /// SelectionHandleImageLeft property.
587 public PropertyMap SelectionHandleImageLeft
591 PropertyMap temp = new PropertyMap();
592 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
597 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
602 /// SelectionHandleImageRight property.
604 public PropertyMap SelectionHandleImageRight
608 PropertyMap temp = new PropertyMap();
609 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
614 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
619 /// SelectionHandlePressedImageLeft property.
621 public PropertyMap SelectionHandlePressedImageLeft
625 PropertyMap temp = new PropertyMap();
626 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
631 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
636 /// SelectionHandlePressedImageRight property.
638 public PropertyMap SelectionHandlePressedImageRight
642 PropertyMap temp = new PropertyMap();
643 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
648 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
653 /// SelectionHandleMarkerImageLeft property.
655 public PropertyMap SelectionHandleMarkerImageLeft
659 PropertyMap temp = new PropertyMap();
660 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
665 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
670 /// SelectionHandleMarkerImageRight property.
672 public PropertyMap SelectionHandleMarkerImageRight
676 PropertyMap temp = new PropertyMap();
677 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
682 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
687 /// SelectionHighlightColor property.
689 public Vector4 SelectionHighlightColor
693 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
694 GetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
699 SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
704 /// DecorationBoundingBox property.
706 public Rectangle DecorationBoundingBox
710 Rectangle temp = new Rectangle(0, 0, 0, 0);
711 GetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);
716 SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
721 /// EnableMarkup property.
723 public bool EnableMarkup
728 GetProperty(TextEditor.Property.ENABLE_MARKUP).Get(out temp);
733 SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
738 /// InputColor property.
740 public Vector4 InputColor
744 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
745 GetProperty(TextEditor.Property.INPUT_COLOR).Get(temp);
750 SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
755 /// InputFontFamily property.
757 public string InputFontFamily
762 GetProperty(TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);
767 SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
772 /// InputFontStyle property.
774 public PropertyMap InputFontStyle
778 PropertyMap temp = new PropertyMap();
779 GetProperty(TextEditor.Property.INPUT_FONT_STYLE).Get(temp);
784 SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
789 /// InputPointSize property.
791 public float InputPointSize
796 GetProperty(TextEditor.Property.INPUT_POINT_SIZE).Get(out temp);
801 SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
806 /// LineSpacing property.
808 public float LineSpacing
813 GetProperty(TextEditor.Property.LINE_SPACING).Get(out temp);
818 SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
823 /// InputLineSpacing property.
825 public float InputLineSpacing
830 GetProperty(TextEditor.Property.INPUT_LINE_SPACING).Get(out temp);
835 SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
840 /// Underline property.
842 public PropertyMap Underline
846 PropertyMap temp = new PropertyMap();
847 GetProperty(TextEditor.Property.UNDERLINE).Get(temp);
852 SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
857 /// InputUnderline property.
859 public string InputUnderline
864 GetProperty(TextEditor.Property.INPUT_UNDERLINE).Get(out temp);
869 SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
876 public PropertyMap Shadow
880 PropertyMap temp = new PropertyMap();
881 GetProperty(TextEditor.Property.SHADOW).Get(temp);
886 SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
891 /// InputShadow property.
893 public string InputShadow
898 GetProperty(TextEditor.Property.INPUT_SHADOW).Get(out temp);
903 SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
915 GetProperty(TextEditor.Property.EMBOSS).Get(out temp);
920 SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
925 /// InputEmboss property.
927 public string InputEmboss
932 GetProperty(TextEditor.Property.INPUT_EMBOSS).Get(out temp);
937 SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
942 /// Outline property.
944 public string Outline
949 GetProperty(TextEditor.Property.OUTLINE).Get(out temp);
954 SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
959 /// InputOutline property.
961 public string InputOutline
966 GetProperty(TextEditor.Property.INPUT_OUTLINE).Get(out temp);
971 SetProperty(TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));
976 /// SmoothScroll property.
978 public bool SmoothScroll
983 GetProperty(TextEditor.Property.SMOOTH_SCROLL).Get(out temp);
988 SetProperty(TextEditor.Property.SMOOTH_SCROLL, new Tizen.NUI.PropertyValue(value));
993 /// SmoothScrollDuration property.
995 public float SmoothScrollDuration
1000 GetProperty(TextEditor.Property.SMOOTH_SCROLL_DURATION).Get(out temp);
1005 SetProperty(TextEditor.Property.SMOOTH_SCROLL_DURATION, new Tizen.NUI.PropertyValue(value));
1010 /// EnableScrollBar property.
1012 public bool EnableScrollBar
1017 GetProperty(TextEditor.Property.ENABLE_SCROLL_BAR).Get(out temp);
1022 SetProperty(TextEditor.Property.ENABLE_SCROLL_BAR, new Tizen.NUI.PropertyValue(value));
1027 /// ScrollBarShowDuration property.
1029 public float ScrollBarShowDuration
1034 GetProperty(TextEditor.Property.SCROLL_BAR_SHOW_DURATION).Get(out temp);
1039 SetProperty(TextEditor.Property.SCROLL_BAR_SHOW_DURATION, new Tizen.NUI.PropertyValue(value));
1044 /// ScrollBarFadeDuration property.
1046 public float ScrollBarFadeDuration
1051 GetProperty(TextEditor.Property.SCROLL_BAR_FADE_DURATION).Get(out temp);
1056 SetProperty(TextEditor.Property.SCROLL_BAR_FADE_DURATION, new Tizen.NUI.PropertyValue(value));
1061 /// PixelSize property.
1063 public float PixelSize
1068 GetProperty(TextEditor.Property.PIXEL_SIZE).Get(out temp);
1073 SetProperty(TextEditor.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));
1078 /// The line count of text.
1080 public int LineCount
1085 GetProperty(TextEditor.Property.LINE_COUNT).Get(out temp);
1091 /// The text to display when the TextEditor is empty and inactive.
1093 public string PlaceholderText
1098 GetProperty(TextEditor.Property.PLACEHOLDER_TEXT).Get(out temp);
1103 SetProperty(TextEditor.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));
1108 /// The placeholder-text color.
1110 public Color PlaceholderTextColor
1114 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
1115 GetProperty(TextEditor.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);
1120 SetProperty(TextEditor.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));