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)
469 //Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
475 return HorizontalAlignment.HorizontalAlignBegin;
477 return HorizontalAlignment.HorizontalAlignCenter;
479 return HorizontalAlignment.HorizontalAlignEnd;
481 return HorizontalAlignment.HorizontalAlignBegin;
486 string valueToString = "";
489 case HorizontalAlignment.HorizontalAlignBegin:
491 valueToString = "BEGIN";
494 case HorizontalAlignment.HorizontalAlignCenter:
496 valueToString = "CENTER";
499 case HorizontalAlignment.HorizontalAlignEnd:
501 valueToString = "END";
506 valueToString = "BEGIN";
510 SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
515 /// Scroll threshold property.
517 public float ScrollThreshold
522 GetProperty(TextEditor.Property.SCROLL_THRESHOLD).Get(ref temp);
527 SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
532 /// Scroll speed property.
534 public float ScrollSpeed
539 GetProperty(TextEditor.Property.SCROLL_SPEED).Get(ref temp);
544 SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
549 /// Primary cursor color property.
551 public Vector4 PrimaryCursorColor
555 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
556 GetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);
561 SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
566 /// SecondaryCursorColor property.
568 public Vector4 SecondaryCursorColor
572 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
573 GetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);
578 SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
583 /// EnableCursorBlink property.
585 public bool EnableCursorBlink
590 GetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
595 SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
600 /// CursorBlinkInterval property.
602 public float CursorBlinkInterval
607 GetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
612 SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
617 /// CursorBlinkDuration property.
619 public float CursorBlinkDuration
624 GetProperty(TextEditor.Property.CURSOR_BLINK_DURATION).Get(ref temp);
629 SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
634 /// CursorWidth property.
636 public int CursorWidth
641 GetProperty(TextEditor.Property.CURSOR_WIDTH).Get(ref temp);
646 SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
651 /// GrabHandleImage property.
653 public string GrabHandleImage
658 GetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);
663 SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
668 /// GrabHandlePressedImage property.
670 public string GrabHandlePressedImage
675 GetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
680 SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
685 /// SelectionHandleImageLeft property.
687 public PropertyMap SelectionHandleImageLeft
691 PropertyMap temp = new PropertyMap();
692 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
697 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
702 /// SelectionHandleImageRight property.
704 public PropertyMap SelectionHandleImageRight
708 PropertyMap temp = new PropertyMap();
709 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
714 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
719 /// SelectionHandlePressedImageLeft property.
721 public PropertyMap SelectionHandlePressedImageLeft
725 PropertyMap temp = new PropertyMap();
726 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
731 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
736 /// SelectionHandlePressedImageRight property.
738 public PropertyMap SelectionHandlePressedImageRight
742 PropertyMap temp = new PropertyMap();
743 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
748 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
753 /// SelectionHandleMarkerImageLeft property.
755 public PropertyMap SelectionHandleMarkerImageLeft
759 PropertyMap temp = new PropertyMap();
760 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
765 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
770 /// SelectionHandleMarkerImageRight property.
772 public PropertyMap SelectionHandleMarkerImageRight
776 PropertyMap temp = new PropertyMap();
777 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
782 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
787 /// SelectionHighlightColor property.
789 public Vector4 SelectionHighlightColor
793 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
794 GetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
799 SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
804 /// DecorationBoundingBox property.
806 public Rectangle DecorationBoundingBox
810 Rectangle temp = new Rectangle(0, 0, 0, 0);
811 GetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);
816 SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
821 /// EnableMarkup property.
823 public bool EnableMarkup
828 GetProperty(TextEditor.Property.ENABLE_MARKUP).Get(ref temp);
833 SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
838 /// InputColor property.
840 public Vector4 InputColor
844 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
845 GetProperty(TextEditor.Property.INPUT_COLOR).Get(temp);
850 SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
855 /// InputFontFamily property.
857 public string InputFontFamily
862 GetProperty(TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);
867 SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
872 /// InputFontStyle property.
874 public PropertyMap InputFontStyle
878 PropertyMap temp = new PropertyMap();
879 GetProperty(TextEditor.Property.INPUT_FONT_STYLE).Get(temp);
884 SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
889 /// InputPointSize property.
891 public float InputPointSize
896 GetProperty(TextEditor.Property.INPUT_POINT_SIZE).Get(ref temp);
901 SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
906 /// LineSpacing property.
908 public float LineSpacing
913 GetProperty(TextEditor.Property.LINE_SPACING).Get(ref temp);
918 SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
923 /// InputLineSpacing property.
925 public float InputLineSpacing
930 GetProperty(TextEditor.Property.INPUT_LINE_SPACING).Get(ref temp);
935 SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
940 /// Underline property.
942 public PropertyMap Underline
946 PropertyMap temp = new PropertyMap();
947 GetProperty(TextEditor.Property.UNDERLINE).Get(temp);
952 SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
957 /// InputUnderline property.
959 public string InputUnderline
964 GetProperty(TextEditor.Property.INPUT_UNDERLINE).Get(out temp);
969 SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
976 public PropertyMap Shadow
980 PropertyMap temp = new PropertyMap();
981 GetProperty(TextEditor.Property.SHADOW).Get(temp);
986 SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
991 /// InputShadow property.
993 public string InputShadow
998 GetProperty(TextEditor.Property.INPUT_SHADOW).Get(out temp);
1003 SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
1008 /// Emboss property.
1010 public string Emboss
1015 GetProperty(TextEditor.Property.EMBOSS).Get(out temp);
1020 SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
1025 /// InputEmboss property.
1027 public string InputEmboss
1032 GetProperty(TextEditor.Property.INPUT_EMBOSS).Get(out temp);
1037 SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1042 /// Outline property.
1044 public string Outline
1049 GetProperty(TextEditor.Property.OUTLINE).Get(out temp);
1054 SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1059 /// InputOutline property.
1061 public string InputOutline
1066 GetProperty(TextEditor.Property.INPUT_OUTLINE).Get(out temp);
1071 SetProperty(TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));