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);
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;
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_TextEditor(swigCPtr);
70 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
72 global::System.GC.SuppressFinalize(this);
80 /// Event arguments that passed via TextChanged signal.
82 public class TextChangedEventArgs : EventArgs
84 private TextEditor _textEditor;
87 /// TextEditor - is the texteditor control which has the text contents changed.
89 public TextEditor TextEditor
102 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
103 private delegate void TextChangedCallbackDelegate(IntPtr textEditor);
104 private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;
105 private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;
108 /// Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
109 /// provided by the user. TextChanged signal is emitted when the text changes.<br>
111 public event EventHandler<TextChangedEventArgs> TextChanged
115 if (_textEditorTextChangedEventHandler == null)
117 _textEditorTextChangedCallbackDelegate = (OnTextChanged);
118 TextChangedSignal().Connect(_textEditorTextChangedCallbackDelegate);
120 _textEditorTextChangedEventHandler += value;
124 _textEditorTextChangedEventHandler -= value;
125 if (_textEditorTextChangedEventHandler == null && TextChangedSignal().Empty() == false)
127 TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);
132 private void OnTextChanged(IntPtr textEditor)
134 TextChangedEventArgs e = new TextChangedEventArgs();
136 // Populate all members of "e" (TextChangedEventArgs) with real data
137 e.TextEditor = TextEditor.GetTextEditorFromPtr(textEditor);
139 if (_textEditorTextChangedEventHandler != null)
141 //here we send all data to user event handlers
142 _textEditorTextChangedEventHandler(this, e);
147 internal static TextEditor GetTextEditorFromPtr(global::System.IntPtr cPtr)
149 TextEditor ret = new TextEditor(cPtr, false);
150 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
155 internal class Property : global::System.IDisposable
157 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
158 protected bool swigCMemOwn;
160 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
162 swigCMemOwn = cMemoryOwn;
163 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
166 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
168 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
173 DisposeQueue.Instance.Add(this);
176 public virtual void Dispose()
178 if (!Window.IsInstalled()) {
179 DisposeQueue.Instance.Add(this);
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();
243 internal static readonly int SMOOTH_SCROLL = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_get();
244 internal static readonly int SMOOTH_SCROLL_DURATION = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_DURATION_get();
245 internal static readonly int ENABLE_SCROLL_BAR = NDalicManualPINVOKE.TextEditor_Property_ENABLE_SCROLL_BAR_get();
246 internal static readonly int SCROLL_BAR_SHOW_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get();
247 internal static readonly int SCROLL_BAR_FADE_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_FADE_DURATION_get();
248 internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextEditor_Property_PIXEL_SIZE_get();
252 internal class InputStyle : global::System.IDisposable
254 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
255 protected bool swigCMemOwn;
257 internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)
259 swigCMemOwn = cMemoryOwn;
260 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
263 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)
265 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
270 DisposeQueue.Instance.Add(this);
273 public virtual void Dispose()
275 if (!Window.IsInstalled()) {
276 DisposeQueue.Instance.Add(this);
282 if (swigCPtr.Handle != global::System.IntPtr.Zero)
287 NDalicPINVOKE.delete_TextEditor_InputStyle(swigCPtr);
289 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
291 global::System.GC.SuppressFinalize(this);
295 internal InputStyle() : this(NDalicPINVOKE.new_TextEditor_InputStyle(), true)
297 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
307 LineSpacing = 0x0010,
317 /// Creates the TextEditor control.
319 public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
321 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
324 internal TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true)
326 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
329 internal TextEditor Assign(TextEditor handle)
331 TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_Assign(swigCPtr, TextEditor.getCPtr(handle)), false);
332 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
337 /// Downcasts a handle to TextEditor.
339 /// <param name="handle">Handle to an object</param>
340 /// <returns>Handle to a TextEditor or an empty handle</returns>
341 public new static TextEditor DownCast(BaseHandle handle)
343 TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
344 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
348 internal TextEditorSignal TextChangedSignal()
350 TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
351 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
355 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal()
357 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);
358 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
362 internal enum PropertyRange
364 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
365 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
369 /// Rendering backend property
371 public int RenderingBackend
376 GetProperty(TextEditor.Property.RENDERING_BACKEND).Get(ref temp);
381 SetProperty(TextEditor.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
393 GetProperty(TextEditor.Property.TEXT).Get(out temp);
398 SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));
403 /// Text color property.
405 public Vector4 TextColor
409 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
410 GetProperty(TextEditor.Property.TEXT_COLOR).Get(temp);
415 SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
420 /// Font family property.
422 public string FontFamily
427 GetProperty(TextEditor.Property.FONT_FAMILY).Get(out temp);
432 SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
437 /// Font style property.
439 public PropertyMap FontStyle
443 PropertyMap temp = new PropertyMap();
444 GetProperty(TextEditor.Property.FONT_STYLE).Get(temp);
449 SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
454 /// Point size property.
456 public float PointSize
461 GetProperty(TextEditor.Property.POINT_SIZE).Get(ref temp);
466 SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
471 /// Horizontal alignment property.
473 public HorizontalAlignment HorizontalAlignment
478 if (GetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
481 Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
488 return HorizontalAlignment.Begin;
490 return HorizontalAlignment.Center;
492 return HorizontalAlignment.End;
494 return HorizontalAlignment.Begin;
499 string valueToString = "";
502 case HorizontalAlignment.Begin:
504 valueToString = "BEGIN";
507 case HorizontalAlignment.Center:
509 valueToString = "CENTER";
512 case HorizontalAlignment.End:
514 valueToString = "END";
519 valueToString = "BEGIN";
523 SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
528 /// Scroll threshold property.
530 public float ScrollThreshold
535 GetProperty(TextEditor.Property.SCROLL_THRESHOLD).Get(ref temp);
540 SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
545 /// Scroll speed property.
547 public float ScrollSpeed
552 GetProperty(TextEditor.Property.SCROLL_SPEED).Get(ref temp);
557 SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
562 /// Primary cursor color property.
564 public Vector4 PrimaryCursorColor
568 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
569 GetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);
574 SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
579 /// SecondaryCursorColor property.
581 public Vector4 SecondaryCursorColor
585 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
586 GetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);
591 SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
596 /// EnableCursorBlink property.
598 public bool EnableCursorBlink
603 GetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
608 SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
613 /// CursorBlinkInterval property.
615 public float CursorBlinkInterval
620 GetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
625 SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
630 /// CursorBlinkDuration property.
632 public float CursorBlinkDuration
637 GetProperty(TextEditor.Property.CURSOR_BLINK_DURATION).Get(ref temp);
642 SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
647 /// CursorWidth property.
649 public int CursorWidth
654 GetProperty(TextEditor.Property.CURSOR_WIDTH).Get(ref temp);
659 SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
664 /// GrabHandleImage property.
666 public string GrabHandleImage
671 GetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);
676 SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
681 /// GrabHandlePressedImage property.
683 public string GrabHandlePressedImage
688 GetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
693 SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
698 /// SelectionHandleImageLeft property.
700 public PropertyMap SelectionHandleImageLeft
704 PropertyMap temp = new PropertyMap();
705 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
710 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
715 /// SelectionHandleImageRight property.
717 public PropertyMap SelectionHandleImageRight
721 PropertyMap temp = new PropertyMap();
722 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
727 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
732 /// SelectionHandlePressedImageLeft property.
734 public PropertyMap SelectionHandlePressedImageLeft
738 PropertyMap temp = new PropertyMap();
739 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
744 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
749 /// SelectionHandlePressedImageRight property.
751 public PropertyMap SelectionHandlePressedImageRight
755 PropertyMap temp = new PropertyMap();
756 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
761 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
766 /// SelectionHandleMarkerImageLeft property.
768 public PropertyMap SelectionHandleMarkerImageLeft
772 PropertyMap temp = new PropertyMap();
773 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
778 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
783 /// SelectionHandleMarkerImageRight property.
785 public PropertyMap SelectionHandleMarkerImageRight
789 PropertyMap temp = new PropertyMap();
790 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
795 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
800 /// SelectionHighlightColor property.
802 public Vector4 SelectionHighlightColor
806 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
807 GetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
812 SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
817 /// DecorationBoundingBox property.
819 public Rectangle DecorationBoundingBox
823 Rectangle temp = new Rectangle(0, 0, 0, 0);
824 GetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);
829 SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
834 /// EnableMarkup property.
836 public bool EnableMarkup
841 GetProperty(TextEditor.Property.ENABLE_MARKUP).Get(ref temp);
846 SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
851 /// InputColor property.
853 public Vector4 InputColor
857 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
858 GetProperty(TextEditor.Property.INPUT_COLOR).Get(temp);
863 SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
868 /// InputFontFamily property.
870 public string InputFontFamily
875 GetProperty(TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);
880 SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
885 /// InputFontStyle property.
887 public PropertyMap InputFontStyle
891 PropertyMap temp = new PropertyMap();
892 GetProperty(TextEditor.Property.INPUT_FONT_STYLE).Get(temp);
897 SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
902 /// InputPointSize property.
904 public float InputPointSize
909 GetProperty(TextEditor.Property.INPUT_POINT_SIZE).Get(ref temp);
914 SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
919 /// LineSpacing property.
921 public float LineSpacing
926 GetProperty(TextEditor.Property.LINE_SPACING).Get(ref temp);
931 SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
936 /// InputLineSpacing property.
938 public float InputLineSpacing
943 GetProperty(TextEditor.Property.INPUT_LINE_SPACING).Get(ref temp);
948 SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
953 /// Underline property.
955 public PropertyMap Underline
959 PropertyMap temp = new PropertyMap();
960 GetProperty(TextEditor.Property.UNDERLINE).Get(temp);
965 SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
970 /// InputUnderline property.
972 public string InputUnderline
977 GetProperty(TextEditor.Property.INPUT_UNDERLINE).Get(out temp);
982 SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
989 public PropertyMap Shadow
993 PropertyMap temp = new PropertyMap();
994 GetProperty(TextEditor.Property.SHADOW).Get(temp);
999 SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
1004 /// InputShadow property.
1006 public string InputShadow
1011 GetProperty(TextEditor.Property.INPUT_SHADOW).Get(out temp);
1016 SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
1021 /// Emboss property.
1023 public string Emboss
1028 GetProperty(TextEditor.Property.EMBOSS).Get(out temp);
1033 SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
1038 /// InputEmboss property.
1040 public string InputEmboss
1045 GetProperty(TextEditor.Property.INPUT_EMBOSS).Get(out temp);
1050 SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1055 /// Outline property.
1057 public string Outline
1062 GetProperty(TextEditor.Property.OUTLINE).Get(out temp);
1067 SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1072 /// InputOutline property.
1074 public string InputOutline
1079 GetProperty(TextEditor.Property.INPUT_OUTLINE).Get(out temp);
1084 SetProperty(TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));
1089 /// SmoothScroll property.
1091 public bool SmoothScroll
1096 GetProperty(TextEditor.Property.SMOOTH_SCROLL).Get(ref temp);
1101 SetProperty(TextEditor.Property.SMOOTH_SCROLL, new Tizen.NUI.PropertyValue(value));
1106 /// SmoothScrollDuration property.
1108 public float SmoothScrollDuration
1113 GetProperty(TextEditor.Property.SMOOTH_SCROLL_DURATION).Get(ref temp);
1118 SetProperty(TextEditor.Property.SMOOTH_SCROLL_DURATION, new Tizen.NUI.PropertyValue(value));
1123 /// EnableScrollBar property.
1125 public bool EnableScrollBar
1130 GetProperty(TextEditor.Property.ENABLE_SCROLL_BAR).Get(ref temp);
1135 SetProperty(TextEditor.Property.ENABLE_SCROLL_BAR, new Tizen.NUI.PropertyValue(value));
1140 /// ScrollBarShowDuration property.
1142 public float ScrollBarShowDuration
1147 GetProperty(TextEditor.Property.SCROLL_BAR_SHOW_DURATION).Get(ref temp);
1152 SetProperty(TextEditor.Property.SCROLL_BAR_SHOW_DURATION, new Tizen.NUI.PropertyValue(value));
1157 /// ScrollBarFadeDuration property.
1159 public float ScrollBarFadeDuration
1164 GetProperty(TextEditor.Property.SCROLL_BAR_FADE_DURATION).Get(ref temp);
1169 SetProperty(TextEditor.Property.SCROLL_BAR_FADE_DURATION, new Tizen.NUI.PropertyValue(value));
1174 /// PixelSize property.
1176 public float PixelSize
1181 GetProperty(TextEditor.Property.PIXEL_SIZE).Get(ref temp);
1186 SetProperty(TextEditor.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));