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 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);
45 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextEditor 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_TextEditor(swigCPtr);
75 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
77 global::System.GC.SuppressFinalize(this);
85 /// Event arguments that passed via TextChanged signal.
87 public class TextChangedEventArgs : EventArgs
89 private TextEditor _textEditor;
92 /// TextEditor - is the texteditor control which has the text contents changed.
94 public TextEditor TextEditor
107 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
108 private delegate void TextChangedCallbackDelegate(IntPtr textEditor);
109 private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;
110 private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;
113 /// Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
114 /// provided by the user. TextChanged signal is emitted when the text changes.<br>
116 public event EventHandler<TextChangedEventArgs> TextChanged
120 if (_textEditorTextChangedEventHandler == null)
122 _textEditorTextChangedCallbackDelegate = (OnTextChanged);
123 TextChangedSignal().Connect(_textEditorTextChangedCallbackDelegate);
125 _textEditorTextChangedEventHandler += value;
129 _textEditorTextChangedEventHandler -= value;
130 if (_textEditorTextChangedEventHandler == null && TextChangedSignal().Empty() == false)
132 TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);
137 private void OnTextChanged(IntPtr textEditor)
139 TextChangedEventArgs e = new TextChangedEventArgs();
141 // Populate all members of "e" (TextChangedEventArgs) with real data
142 e.TextEditor = Tizen.NUI.UIComponents.TextEditor.GetTextEditorFromPtr(textEditor);
144 if (_textEditorTextChangedEventHandler != null)
146 //here we send all data to user event handlers
147 _textEditorTextChangedEventHandler(this, e);
152 internal static TextEditor GetTextEditorFromPtr(global::System.IntPtr cPtr)
154 TextEditor ret = new TextEditor(cPtr, false);
155 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
160 internal class Property : global::System.IDisposable
162 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
163 protected bool swigCMemOwn;
165 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
167 swigCMemOwn = cMemoryOwn;
168 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
171 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
173 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
181 public virtual void Dispose()
185 if (swigCPtr.Handle != global::System.IntPtr.Zero)
190 NDalicPINVOKE.delete_TextEditor_Property(swigCPtr);
192 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
194 global::System.GC.SuppressFinalize(this);
198 internal Property() : this(NDalicPINVOKE.new_TextEditor_Property(), true)
200 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
203 internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
204 internal static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
205 internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();
206 internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_FONT_FAMILY_get();
207 internal static readonly int FONT_STYLE = NDalicPINVOKE.TextEditor_Property_FONT_STYLE_get();
208 internal static readonly int POINT_SIZE = NDalicPINVOKE.TextEditor_Property_POINT_SIZE_get();
209 internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextEditor_Property_HORIZONTAL_ALIGNMENT_get();
210 internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextEditor_Property_SCROLL_THRESHOLD_get();
211 internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextEditor_Property_SCROLL_SPEED_get();
212 internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_PRIMARY_CURSOR_COLOR_get();
213 internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_SECONDARY_CURSOR_COLOR_get();
214 internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextEditor_Property_ENABLE_CURSOR_BLINK_get();
215 internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_INTERVAL_get();
216 internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_DURATION_get();
217 internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextEditor_Property_CURSOR_WIDTH_get();
218 internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_IMAGE_get();
219 internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
220 internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
221 internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
222 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
223 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
224 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
225 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
226 internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get();
227 internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextEditor_Property_DECORATION_BOUNDING_BOX_get();
228 internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextEditor_Property_ENABLE_MARKUP_get();
229 internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextEditor_Property_INPUT_COLOR_get();
230 internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_FAMILY_get();
231 internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_STYLE_get();
232 internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextEditor_Property_INPUT_POINT_SIZE_get();
233 internal static readonly int LINE_SPACING = NDalicPINVOKE.TextEditor_Property_LINE_SPACING_get();
234 internal static readonly int INPUT_LINE_SPACING = NDalicPINVOKE.TextEditor_Property_INPUT_LINE_SPACING_get();
235 internal static readonly int UNDERLINE = NDalicPINVOKE.TextEditor_Property_UNDERLINE_get();
236 internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextEditor_Property_INPUT_UNDERLINE_get();
237 internal static readonly int SHADOW = NDalicPINVOKE.TextEditor_Property_SHADOW_get();
238 internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextEditor_Property_INPUT_SHADOW_get();
239 internal static readonly int EMBOSS = NDalicPINVOKE.TextEditor_Property_EMBOSS_get();
240 internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
241 internal static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
242 internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
246 internal class InputStyle : global::System.IDisposable
248 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
249 protected bool swigCMemOwn;
251 internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)
253 swigCMemOwn = cMemoryOwn;
254 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
257 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)
259 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
267 public virtual void Dispose()
271 if (swigCPtr.Handle != global::System.IntPtr.Zero)
276 NDalicPINVOKE.delete_TextEditor_InputStyle(swigCPtr);
278 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
280 global::System.GC.SuppressFinalize(this);
284 internal InputStyle() : this(NDalicPINVOKE.new_TextEditor_InputStyle(), true)
286 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
296 LineSpacing = 0x0010,
306 /// Creates the TextEditor control.
308 public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
310 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
313 internal TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true)
315 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
318 internal TextEditor Assign(TextEditor handle)
320 TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_Assign(swigCPtr, TextEditor.getCPtr(handle)), false);
321 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
326 /// Downcasts a handle to TextEditor.
328 /// <param name="handle">Handle to an object</param>
329 /// <returns>Handle to a TextEditor or an empty handle</returns>
330 public new static TextEditor DownCast(BaseHandle handle)
332 TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
333 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
337 internal TextEditorSignal TextChangedSignal()
339 TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
340 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
344 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal()
346 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);
347 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
351 internal enum PropertyRange
353 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
354 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
358 /// Rendering backend property
360 public int RenderingBackend
365 GetProperty(TextEditor.Property.RENDERING_BACKEND).Get(ref temp);
370 SetProperty(TextEditor.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
382 GetProperty(TextEditor.Property.TEXT).Get(out temp);
387 SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));
392 /// Text color property.
394 public Vector4 TextColor
398 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
399 GetProperty(TextEditor.Property.TEXT_COLOR).Get(temp);
404 SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
409 /// Font family property.
411 public string FontFamily
416 GetProperty(TextEditor.Property.FONT_FAMILY).Get(out temp);
421 SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
426 /// Font style property.
428 public PropertyMap FontStyle
432 PropertyMap temp = new PropertyMap();
433 GetProperty(TextEditor.Property.FONT_STYLE).Get(temp);
438 SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
443 /// Point size property.
445 public float PointSize
450 GetProperty(TextEditor.Property.POINT_SIZE).Get(ref temp);
455 SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
460 /// Horizontal alignment property.
462 public HorizontalAlignment HorizontalAlignment
467 if (GetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
470 Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
477 return HorizontalAlignment.Begin;
479 return HorizontalAlignment.Center;
481 return HorizontalAlignment.End;
483 return HorizontalAlignment.Begin;
488 string valueToString = "";
491 case HorizontalAlignment.Begin:
493 valueToString = "BEGIN";
496 case HorizontalAlignment.Center:
498 valueToString = "CENTER";
501 case HorizontalAlignment.End:
503 valueToString = "END";
508 valueToString = "BEGIN";
512 SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
517 /// Scroll threshold property.
519 public float ScrollThreshold
524 GetProperty(TextEditor.Property.SCROLL_THRESHOLD).Get(ref temp);
529 SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
534 /// Scroll speed property.
536 public float ScrollSpeed
541 GetProperty(TextEditor.Property.SCROLL_SPEED).Get(ref temp);
546 SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
551 /// Primary cursor color property.
553 public Vector4 PrimaryCursorColor
557 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
558 GetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);
563 SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
568 /// SecondaryCursorColor property.
570 public Vector4 SecondaryCursorColor
574 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
575 GetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);
580 SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
585 /// EnableCursorBlink property.
587 public bool EnableCursorBlink
592 GetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
597 SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
602 /// CursorBlinkInterval property.
604 public float CursorBlinkInterval
609 GetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
614 SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
619 /// CursorBlinkDuration property.
621 public float CursorBlinkDuration
626 GetProperty(TextEditor.Property.CURSOR_BLINK_DURATION).Get(ref temp);
631 SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
636 /// CursorWidth property.
638 public int CursorWidth
643 GetProperty(TextEditor.Property.CURSOR_WIDTH).Get(ref temp);
648 SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
653 /// GrabHandleImage property.
655 public string GrabHandleImage
660 GetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);
665 SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
670 /// GrabHandlePressedImage property.
672 public string GrabHandlePressedImage
677 GetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
682 SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
687 /// SelectionHandleImageLeft property.
689 public PropertyMap SelectionHandleImageLeft
693 PropertyMap temp = new PropertyMap();
694 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
699 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
704 /// SelectionHandleImageRight property.
706 public PropertyMap SelectionHandleImageRight
710 PropertyMap temp = new PropertyMap();
711 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
716 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
721 /// SelectionHandlePressedImageLeft property.
723 public PropertyMap SelectionHandlePressedImageLeft
727 PropertyMap temp = new PropertyMap();
728 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
733 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
738 /// SelectionHandlePressedImageRight property.
740 public PropertyMap SelectionHandlePressedImageRight
744 PropertyMap temp = new PropertyMap();
745 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
750 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
755 /// SelectionHandleMarkerImageLeft property.
757 public PropertyMap SelectionHandleMarkerImageLeft
761 PropertyMap temp = new PropertyMap();
762 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
767 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
772 /// SelectionHandleMarkerImageRight property.
774 public PropertyMap SelectionHandleMarkerImageRight
778 PropertyMap temp = new PropertyMap();
779 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
784 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
789 /// SelectionHighlightColor property.
791 public Vector4 SelectionHighlightColor
795 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
796 GetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
801 SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
806 /// DecorationBoundingBox property.
808 public Rectangle DecorationBoundingBox
812 Rectangle temp = new Rectangle(0, 0, 0, 0);
813 GetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);
818 SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
823 /// EnableMarkup property.
825 public bool EnableMarkup
830 GetProperty(TextEditor.Property.ENABLE_MARKUP).Get(ref temp);
835 SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
840 /// InputColor property.
842 public Vector4 InputColor
846 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
847 GetProperty(TextEditor.Property.INPUT_COLOR).Get(temp);
852 SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
857 /// InputFontFamily property.
859 public string InputFontFamily
864 GetProperty(TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);
869 SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
874 /// InputFontStyle property.
876 public PropertyMap InputFontStyle
880 PropertyMap temp = new PropertyMap();
881 GetProperty(TextEditor.Property.INPUT_FONT_STYLE).Get(temp);
886 SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
891 /// InputPointSize property.
893 public float InputPointSize
898 GetProperty(TextEditor.Property.INPUT_POINT_SIZE).Get(ref temp);
903 SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
908 /// LineSpacing property.
910 public float LineSpacing
915 GetProperty(TextEditor.Property.LINE_SPACING).Get(ref temp);
920 SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
925 /// InputLineSpacing property.
927 public float InputLineSpacing
932 GetProperty(TextEditor.Property.INPUT_LINE_SPACING).Get(ref temp);
937 SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
942 /// Underline property.
944 public PropertyMap Underline
948 PropertyMap temp = new PropertyMap();
949 GetProperty(TextEditor.Property.UNDERLINE).Get(temp);
954 SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
959 /// InputUnderline property.
961 public string InputUnderline
966 GetProperty(TextEditor.Property.INPUT_UNDERLINE).Get(out temp);
971 SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
978 public PropertyMap Shadow
982 PropertyMap temp = new PropertyMap();
983 GetProperty(TextEditor.Property.SHADOW).Get(temp);
988 SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
993 /// InputShadow property.
995 public string InputShadow
1000 GetProperty(TextEditor.Property.INPUT_SHADOW).Get(out temp);
1005 SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
1010 /// Emboss property.
1012 public string Emboss
1017 GetProperty(TextEditor.Property.EMBOSS).Get(out temp);
1022 SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
1027 /// InputEmboss property.
1029 public string InputEmboss
1034 GetProperty(TextEditor.Property.INPUT_EMBOSS).Get(out temp);
1039 SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1044 /// Outline property.
1046 public string Outline
1051 GetProperty(TextEditor.Property.OUTLINE).Get(out temp);
1056 SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1061 /// InputOutline property.
1063 public string InputOutline
1068 GetProperty(TextEditor.Property.INPUT_OUTLINE).Get(out temp);
1073 SetProperty(TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));