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 public override void Dispose()
57 if (!Window.IsInstalled())
59 DisposeQueue.Instance.Add(this);
65 if (swigCPtr.Handle != global::System.IntPtr.Zero)
70 NDalicPINVOKE.delete_TextEditor(swigCPtr);
72 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
74 global::System.GC.SuppressFinalize(this);
82 /// Event arguments that passed via TextChanged signal.
84 public class TextChangedEventArgs : EventArgs
86 private TextEditor _textEditor;
89 /// TextEditor - is the texteditor control which has the text contents changed.
91 public TextEditor TextEditor
104 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
105 private delegate void TextChangedCallbackDelegate(IntPtr textEditor);
106 private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;
107 private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;
110 /// Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
111 /// provided by the user. TextChanged signal is emitted when the text changes.<br>
113 public event EventHandler<TextChangedEventArgs> TextChanged
117 if (_textEditorTextChangedEventHandler == null)
119 _textEditorTextChangedCallbackDelegate = (OnTextChanged);
120 TextChangedSignal().Connect(_textEditorTextChangedCallbackDelegate);
122 _textEditorTextChangedEventHandler += value;
126 _textEditorTextChangedEventHandler -= value;
127 if (_textEditorTextChangedEventHandler == null && TextChangedSignal().Empty() == false)
129 TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);
134 private void OnTextChanged(IntPtr textEditor)
136 TextChangedEventArgs e = new TextChangedEventArgs();
138 // Populate all members of "e" (TextChangedEventArgs) with real data
139 e.TextEditor = TextEditor.GetTextEditorFromPtr(textEditor);
141 if (_textEditorTextChangedEventHandler != null)
143 //here we send all data to user event handlers
144 _textEditorTextChangedEventHandler(this, e);
149 internal static TextEditor GetTextEditorFromPtr(global::System.IntPtr cPtr)
151 TextEditor ret = new TextEditor(cPtr, false);
152 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
157 internal class Property : global::System.IDisposable
159 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
160 protected bool swigCMemOwn;
162 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
164 swigCMemOwn = cMemoryOwn;
165 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
168 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
170 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
175 DisposeQueue.Instance.Add(this);
178 public virtual void Dispose()
180 if (!Window.IsInstalled()) {
181 DisposeQueue.Instance.Add(this);
187 if (swigCPtr.Handle != global::System.IntPtr.Zero)
192 NDalicPINVOKE.delete_TextEditor_Property(swigCPtr);
194 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
196 global::System.GC.SuppressFinalize(this);
200 internal Property() : this(NDalicPINVOKE.new_TextEditor_Property(), true)
202 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
205 internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
206 internal static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
207 internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();
208 internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_FONT_FAMILY_get();
209 internal static readonly int FONT_STYLE = NDalicPINVOKE.TextEditor_Property_FONT_STYLE_get();
210 internal static readonly int POINT_SIZE = NDalicPINVOKE.TextEditor_Property_POINT_SIZE_get();
211 internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextEditor_Property_HORIZONTAL_ALIGNMENT_get();
212 internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextEditor_Property_SCROLL_THRESHOLD_get();
213 internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextEditor_Property_SCROLL_SPEED_get();
214 internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_PRIMARY_CURSOR_COLOR_get();
215 internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_SECONDARY_CURSOR_COLOR_get();
216 internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextEditor_Property_ENABLE_CURSOR_BLINK_get();
217 internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_INTERVAL_get();
218 internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_DURATION_get();
219 internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextEditor_Property_CURSOR_WIDTH_get();
220 internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_IMAGE_get();
221 internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
222 internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
223 internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
224 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
225 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
226 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
227 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
228 internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get();
229 internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextEditor_Property_DECORATION_BOUNDING_BOX_get();
230 internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextEditor_Property_ENABLE_MARKUP_get();
231 internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextEditor_Property_INPUT_COLOR_get();
232 internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_FAMILY_get();
233 internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_STYLE_get();
234 internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextEditor_Property_INPUT_POINT_SIZE_get();
235 internal static readonly int LINE_SPACING = NDalicPINVOKE.TextEditor_Property_LINE_SPACING_get();
236 internal static readonly int INPUT_LINE_SPACING = NDalicPINVOKE.TextEditor_Property_INPUT_LINE_SPACING_get();
237 internal static readonly int UNDERLINE = NDalicPINVOKE.TextEditor_Property_UNDERLINE_get();
238 internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextEditor_Property_INPUT_UNDERLINE_get();
239 internal static readonly int SHADOW = NDalicPINVOKE.TextEditor_Property_SHADOW_get();
240 internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextEditor_Property_INPUT_SHADOW_get();
241 internal static readonly int EMBOSS = NDalicPINVOKE.TextEditor_Property_EMBOSS_get();
242 internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
243 internal static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
244 internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
248 internal class InputStyle : global::System.IDisposable
250 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
251 protected bool swigCMemOwn;
253 internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)
255 swigCMemOwn = cMemoryOwn;
256 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
259 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)
261 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
266 DisposeQueue.Instance.Add(this);
269 public virtual void Dispose()
271 if (!Window.IsInstalled()) {
272 DisposeQueue.Instance.Add(this);
278 if (swigCPtr.Handle != global::System.IntPtr.Zero)
283 NDalicPINVOKE.delete_TextEditor_InputStyle(swigCPtr);
285 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
287 global::System.GC.SuppressFinalize(this);
291 internal InputStyle() : this(NDalicPINVOKE.new_TextEditor_InputStyle(), true)
293 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
303 LineSpacing = 0x0010,
313 /// Creates the TextEditor control.
315 public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
317 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
320 internal TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true)
322 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
325 internal TextEditor Assign(TextEditor handle)
327 TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_Assign(swigCPtr, TextEditor.getCPtr(handle)), false);
328 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
333 /// Downcasts a handle to TextEditor.
335 /// <param name="handle">Handle to an object</param>
336 /// <returns>Handle to a TextEditor or an empty handle</returns>
337 public new static TextEditor DownCast(BaseHandle handle)
339 TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
340 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
344 internal TextEditorSignal TextChangedSignal()
346 TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
347 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
351 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal()
353 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);
354 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
358 internal enum PropertyRange
360 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
361 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
365 /// Rendering backend property
367 public int RenderingBackend
372 GetProperty(TextEditor.Property.RENDERING_BACKEND).Get(ref temp);
377 SetProperty(TextEditor.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
389 GetProperty(TextEditor.Property.TEXT).Get(out temp);
394 SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));
399 /// Text color property.
401 public Vector4 TextColor
405 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
406 GetProperty(TextEditor.Property.TEXT_COLOR).Get(temp);
411 SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
416 /// Font family property.
418 public string FontFamily
423 GetProperty(TextEditor.Property.FONT_FAMILY).Get(out temp);
428 SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
433 /// Font style property.
435 public PropertyMap FontStyle
439 PropertyMap temp = new PropertyMap();
440 GetProperty(TextEditor.Property.FONT_STYLE).Get(temp);
445 SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
450 /// Point size property.
452 public float PointSize
457 GetProperty(TextEditor.Property.POINT_SIZE).Get(ref temp);
462 SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
467 /// Horizontal alignment property.
469 public HorizontalAlignment HorizontalAlignment
474 if (GetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
477 Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
484 return HorizontalAlignment.Begin;
486 return HorizontalAlignment.Center;
488 return HorizontalAlignment.End;
490 return HorizontalAlignment.Begin;
495 string valueToString = "";
498 case HorizontalAlignment.Begin:
500 valueToString = "BEGIN";
503 case HorizontalAlignment.Center:
505 valueToString = "CENTER";
508 case HorizontalAlignment.End:
510 valueToString = "END";
515 valueToString = "BEGIN";
519 SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
524 /// Scroll threshold property.
526 public float ScrollThreshold
531 GetProperty(TextEditor.Property.SCROLL_THRESHOLD).Get(ref temp);
536 SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
541 /// Scroll speed property.
543 public float ScrollSpeed
548 GetProperty(TextEditor.Property.SCROLL_SPEED).Get(ref temp);
553 SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
558 /// Primary cursor color property.
560 public Vector4 PrimaryCursorColor
564 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
565 GetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);
570 SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
575 /// SecondaryCursorColor property.
577 public Vector4 SecondaryCursorColor
581 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
582 GetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);
587 SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
592 /// EnableCursorBlink property.
594 public bool EnableCursorBlink
599 GetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
604 SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
609 /// CursorBlinkInterval property.
611 public float CursorBlinkInterval
616 GetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
621 SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
626 /// CursorBlinkDuration property.
628 public float CursorBlinkDuration
633 GetProperty(TextEditor.Property.CURSOR_BLINK_DURATION).Get(ref temp);
638 SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
643 /// CursorWidth property.
645 public int CursorWidth
650 GetProperty(TextEditor.Property.CURSOR_WIDTH).Get(ref temp);
655 SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
660 /// GrabHandleImage property.
662 public string GrabHandleImage
667 GetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);
672 SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
677 /// GrabHandlePressedImage property.
679 public string GrabHandlePressedImage
684 GetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
689 SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
694 /// SelectionHandleImageLeft property.
696 public PropertyMap SelectionHandleImageLeft
700 PropertyMap temp = new PropertyMap();
701 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
706 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
711 /// SelectionHandleImageRight property.
713 public PropertyMap SelectionHandleImageRight
717 PropertyMap temp = new PropertyMap();
718 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
723 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
728 /// SelectionHandlePressedImageLeft property.
730 public PropertyMap SelectionHandlePressedImageLeft
734 PropertyMap temp = new PropertyMap();
735 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
740 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
745 /// SelectionHandlePressedImageRight property.
747 public PropertyMap SelectionHandlePressedImageRight
751 PropertyMap temp = new PropertyMap();
752 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
757 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
762 /// SelectionHandleMarkerImageLeft property.
764 public PropertyMap SelectionHandleMarkerImageLeft
768 PropertyMap temp = new PropertyMap();
769 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
774 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
779 /// SelectionHandleMarkerImageRight property.
781 public PropertyMap SelectionHandleMarkerImageRight
785 PropertyMap temp = new PropertyMap();
786 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
791 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
796 /// SelectionHighlightColor property.
798 public Vector4 SelectionHighlightColor
802 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
803 GetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
808 SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
813 /// DecorationBoundingBox property.
815 public Rectangle DecorationBoundingBox
819 Rectangle temp = new Rectangle(0, 0, 0, 0);
820 GetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);
825 SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
830 /// EnableMarkup property.
832 public bool EnableMarkup
837 GetProperty(TextEditor.Property.ENABLE_MARKUP).Get(ref temp);
842 SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
847 /// InputColor property.
849 public Vector4 InputColor
853 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
854 GetProperty(TextEditor.Property.INPUT_COLOR).Get(temp);
859 SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
864 /// InputFontFamily property.
866 public string InputFontFamily
871 GetProperty(TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);
876 SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
881 /// InputFontStyle property.
883 public PropertyMap InputFontStyle
887 PropertyMap temp = new PropertyMap();
888 GetProperty(TextEditor.Property.INPUT_FONT_STYLE).Get(temp);
893 SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
898 /// InputPointSize property.
900 public float InputPointSize
905 GetProperty(TextEditor.Property.INPUT_POINT_SIZE).Get(ref temp);
910 SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
915 /// LineSpacing property.
917 public float LineSpacing
922 GetProperty(TextEditor.Property.LINE_SPACING).Get(ref temp);
927 SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
932 /// InputLineSpacing property.
934 public float InputLineSpacing
939 GetProperty(TextEditor.Property.INPUT_LINE_SPACING).Get(ref temp);
944 SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
949 /// Underline property.
951 public PropertyMap Underline
955 PropertyMap temp = new PropertyMap();
956 GetProperty(TextEditor.Property.UNDERLINE).Get(temp);
961 SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
966 /// InputUnderline property.
968 public string InputUnderline
973 GetProperty(TextEditor.Property.INPUT_UNDERLINE).Get(out temp);
978 SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
985 public PropertyMap Shadow
989 PropertyMap temp = new PropertyMap();
990 GetProperty(TextEditor.Property.SHADOW).Get(temp);
995 SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
1000 /// InputShadow property.
1002 public string InputShadow
1007 GetProperty(TextEditor.Property.INPUT_SHADOW).Get(out temp);
1012 SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
1017 /// Emboss property.
1019 public string Emboss
1024 GetProperty(TextEditor.Property.EMBOSS).Get(out temp);
1029 SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
1034 /// InputEmboss property.
1036 public string InputEmboss
1041 GetProperty(TextEditor.Property.INPUT_EMBOSS).Get(out temp);
1046 SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1051 /// Outline property.
1053 public string Outline
1058 GetProperty(TextEditor.Property.OUTLINE).Get(out temp);
1063 SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1068 /// InputOutline property.
1070 public string InputOutline
1075 GetProperty(TextEditor.Property.INPUT_OUTLINE).Get(out temp);
1080 SetProperty(TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));