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();
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;
264 DisposeQueue.Instance.Add(this);
267 public virtual void Dispose()
269 if (!Window.IsInstalled()) {
270 DisposeQueue.Instance.Add(this);
276 if (swigCPtr.Handle != global::System.IntPtr.Zero)
281 NDalicPINVOKE.delete_TextEditor_InputStyle(swigCPtr);
283 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
285 global::System.GC.SuppressFinalize(this);
289 internal InputStyle() : this(NDalicPINVOKE.new_TextEditor_InputStyle(), true)
291 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
301 LineSpacing = 0x0010,
311 /// Creates the TextEditor control.
313 public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
315 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
318 internal TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true)
320 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
323 internal TextEditor Assign(TextEditor handle)
325 TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_Assign(swigCPtr, TextEditor.getCPtr(handle)), false);
326 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
331 /// Downcasts a handle to TextEditor.
333 /// <param name="handle">Handle to an object</param>
334 /// <returns>Handle to a TextEditor or an empty handle</returns>
335 public new static TextEditor DownCast(BaseHandle handle)
337 TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
338 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
342 internal TextEditorSignal TextChangedSignal()
344 TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
345 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
349 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal()
351 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);
352 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
356 internal enum PropertyRange
358 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
359 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
363 /// Rendering backend property
365 public int RenderingBackend
370 GetProperty(TextEditor.Property.RENDERING_BACKEND).Get(ref temp);
375 SetProperty(TextEditor.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
387 GetProperty(TextEditor.Property.TEXT).Get(out temp);
392 SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));
397 /// Text color property.
399 public Vector4 TextColor
403 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
404 GetProperty(TextEditor.Property.TEXT_COLOR).Get(temp);
409 SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
414 /// Font family property.
416 public string FontFamily
421 GetProperty(TextEditor.Property.FONT_FAMILY).Get(out temp);
426 SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
431 /// Font style property.
433 public PropertyMap FontStyle
437 PropertyMap temp = new PropertyMap();
438 GetProperty(TextEditor.Property.FONT_STYLE).Get(temp);
443 SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
448 /// Point size property.
450 public float PointSize
455 GetProperty(TextEditor.Property.POINT_SIZE).Get(ref temp);
460 SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
465 /// Horizontal alignment property.
467 public HorizontalAlignment HorizontalAlignment
472 if (GetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
475 Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
482 return HorizontalAlignment.Begin;
484 return HorizontalAlignment.Center;
486 return HorizontalAlignment.End;
488 return HorizontalAlignment.Begin;
493 string valueToString = "";
496 case HorizontalAlignment.Begin:
498 valueToString = "BEGIN";
501 case HorizontalAlignment.Center:
503 valueToString = "CENTER";
506 case HorizontalAlignment.End:
508 valueToString = "END";
513 valueToString = "BEGIN";
517 SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
522 /// Scroll threshold property.
524 public float ScrollThreshold
529 GetProperty(TextEditor.Property.SCROLL_THRESHOLD).Get(ref temp);
534 SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
539 /// Scroll speed property.
541 public float ScrollSpeed
546 GetProperty(TextEditor.Property.SCROLL_SPEED).Get(ref temp);
551 SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
556 /// Primary cursor color property.
558 public Vector4 PrimaryCursorColor
562 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
563 GetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);
568 SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
573 /// SecondaryCursorColor property.
575 public Vector4 SecondaryCursorColor
579 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
580 GetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);
585 SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
590 /// EnableCursorBlink property.
592 public bool EnableCursorBlink
597 GetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
602 SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
607 /// CursorBlinkInterval property.
609 public float CursorBlinkInterval
614 GetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
619 SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
624 /// CursorBlinkDuration property.
626 public float CursorBlinkDuration
631 GetProperty(TextEditor.Property.CURSOR_BLINK_DURATION).Get(ref temp);
636 SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
641 /// CursorWidth property.
643 public int CursorWidth
648 GetProperty(TextEditor.Property.CURSOR_WIDTH).Get(ref temp);
653 SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
658 /// GrabHandleImage property.
660 public string GrabHandleImage
665 GetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);
670 SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
675 /// GrabHandlePressedImage property.
677 public string GrabHandlePressedImage
682 GetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
687 SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
692 /// SelectionHandleImageLeft property.
694 public PropertyMap SelectionHandleImageLeft
698 PropertyMap temp = new PropertyMap();
699 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
704 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
709 /// SelectionHandleImageRight property.
711 public PropertyMap SelectionHandleImageRight
715 PropertyMap temp = new PropertyMap();
716 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
721 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
726 /// SelectionHandlePressedImageLeft property.
728 public PropertyMap SelectionHandlePressedImageLeft
732 PropertyMap temp = new PropertyMap();
733 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
738 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
743 /// SelectionHandlePressedImageRight property.
745 public PropertyMap SelectionHandlePressedImageRight
749 PropertyMap temp = new PropertyMap();
750 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
755 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
760 /// SelectionHandleMarkerImageLeft property.
762 public PropertyMap SelectionHandleMarkerImageLeft
766 PropertyMap temp = new PropertyMap();
767 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
772 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
777 /// SelectionHandleMarkerImageRight property.
779 public PropertyMap SelectionHandleMarkerImageRight
783 PropertyMap temp = new PropertyMap();
784 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
789 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
794 /// SelectionHighlightColor property.
796 public Vector4 SelectionHighlightColor
800 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
801 GetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
806 SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
811 /// DecorationBoundingBox property.
813 public Rectangle DecorationBoundingBox
817 Rectangle temp = new Rectangle(0, 0, 0, 0);
818 GetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);
823 SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
828 /// EnableMarkup property.
830 public bool EnableMarkup
835 GetProperty(TextEditor.Property.ENABLE_MARKUP).Get(ref temp);
840 SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
845 /// InputColor property.
847 public Vector4 InputColor
851 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
852 GetProperty(TextEditor.Property.INPUT_COLOR).Get(temp);
857 SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
862 /// InputFontFamily property.
864 public string InputFontFamily
869 GetProperty(TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);
874 SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
879 /// InputFontStyle property.
881 public PropertyMap InputFontStyle
885 PropertyMap temp = new PropertyMap();
886 GetProperty(TextEditor.Property.INPUT_FONT_STYLE).Get(temp);
891 SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
896 /// InputPointSize property.
898 public float InputPointSize
903 GetProperty(TextEditor.Property.INPUT_POINT_SIZE).Get(ref temp);
908 SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
913 /// LineSpacing property.
915 public float LineSpacing
920 GetProperty(TextEditor.Property.LINE_SPACING).Get(ref temp);
925 SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
930 /// InputLineSpacing property.
932 public float InputLineSpacing
937 GetProperty(TextEditor.Property.INPUT_LINE_SPACING).Get(ref temp);
942 SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
947 /// Underline property.
949 public PropertyMap Underline
953 PropertyMap temp = new PropertyMap();
954 GetProperty(TextEditor.Property.UNDERLINE).Get(temp);
959 SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
964 /// InputUnderline property.
966 public string InputUnderline
971 GetProperty(TextEditor.Property.INPUT_UNDERLINE).Get(out temp);
976 SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
983 public PropertyMap Shadow
987 PropertyMap temp = new PropertyMap();
988 GetProperty(TextEditor.Property.SHADOW).Get(temp);
993 SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
998 /// InputShadow property.
1000 public string InputShadow
1005 GetProperty(TextEditor.Property.INPUT_SHADOW).Get(out temp);
1010 SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
1015 /// Emboss property.
1017 public string Emboss
1022 GetProperty(TextEditor.Property.EMBOSS).Get(out temp);
1027 SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
1032 /// InputEmboss property.
1034 public string InputEmboss
1039 GetProperty(TextEditor.Property.INPUT_EMBOSS).Get(out temp);
1044 SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1049 /// Outline property.
1051 public string Outline
1056 GetProperty(TextEditor.Property.OUTLINE).Get(out temp);
1061 SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1066 /// InputOutline property.
1068 public string InputOutline
1073 GetProperty(TextEditor.Property.INPUT_OUTLINE).Get(out temp);
1078 SetProperty(TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));