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 protected override void Dispose(DisposeTypes type)
60 if(type == DisposeTypes.Explicit)
63 //Release your own managed resources here.
64 //You should release all of your own disposable objects here.
67 //Release your own unmanaged resources here.
68 //You should not access any managed member here except static instance.
69 //because the execution order of Finalizes is non-deterministic.
71 if (swigCPtr.Handle != global::System.IntPtr.Zero)
76 NDalicPINVOKE.delete_TextEditor(swigCPtr);
78 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
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 = Registry.GetManagedBaseHandleFromNativePtr(textEditor) as TextEditor;
144 if (_textEditorTextChangedEventHandler != null)
146 //here we send all data to user event handlers
147 _textEditorTextChangedEventHandler(this, e);
153 /// Event arguments that passed via ScrollStateChanged signal.
155 public class ScrollStateChangedEventArgs : EventArgs
157 private TextEditor _textEditor;
158 private ScrollState _scrollState;
161 /// TextEditor - is the texteditor control which has the scroll state changed.
163 public TextEditor TextEditor
176 /// ScrollState - is the texteditor control scroll state.
178 public ScrollState ScrollState
186 _scrollState = value;
191 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
192 private delegate void ScrollStateChangedCallbackDelegate(IntPtr textEditor, ScrollState state);
193 private EventHandler<ScrollStateChangedEventArgs> _textEditorScrollStateChangedEventHandler;
194 private ScrollStateChangedCallbackDelegate _textEditorScrollStateChangedCallbackDelegate;
197 /// Event for ScrollStateChanged signal which can be used to subscribe/unsubscribe the event handler
198 /// provided by the user. ScrollStateChanged signal is emitted when the scroll state changes.<br>
200 public event EventHandler<ScrollStateChangedEventArgs> ScrollStateChanged
204 if (_textEditorScrollStateChangedEventHandler == null)
206 _textEditorScrollStateChangedCallbackDelegate = OnScrollStateChanged;
207 ScrollStateChangedSignal(this).Connect(_textEditorScrollStateChangedCallbackDelegate);
209 _textEditorScrollStateChangedEventHandler += value;
213 _textEditorScrollStateChangedEventHandler -= value;
214 if (_textEditorScrollStateChangedEventHandler == null && ScrollStateChangedSignal(this).Empty() == false)
216 ScrollStateChangedSignal(this).Disconnect(_textEditorScrollStateChangedCallbackDelegate);
221 private void OnScrollStateChanged(IntPtr textEditor, ScrollState state)
223 ScrollStateChangedEventArgs e = new ScrollStateChangedEventArgs();
225 if (textEditor != null)
227 // Populate all members of "e" (ScrollStateChangedEventArgs) with real data
228 e.TextEditor = Registry.GetManagedBaseHandleFromNativePtr(textEditor) as TextEditor;
229 e.ScrollState = state;
232 if (_textEditorScrollStateChangedEventHandler != null)
234 //here we send all data to user event handlers
235 _textEditorScrollStateChangedEventHandler(this, e);
239 internal class Property
241 internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
242 internal static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
243 internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();
244 internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_FONT_FAMILY_get();
245 internal static readonly int FONT_STYLE = NDalicPINVOKE.TextEditor_Property_FONT_STYLE_get();
246 internal static readonly int POINT_SIZE = NDalicPINVOKE.TextEditor_Property_POINT_SIZE_get();
247 internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextEditor_Property_HORIZONTAL_ALIGNMENT_get();
248 internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextEditor_Property_SCROLL_THRESHOLD_get();
249 internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextEditor_Property_SCROLL_SPEED_get();
250 internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_PRIMARY_CURSOR_COLOR_get();
251 internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_SECONDARY_CURSOR_COLOR_get();
252 internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextEditor_Property_ENABLE_CURSOR_BLINK_get();
253 internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_INTERVAL_get();
254 internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_DURATION_get();
255 internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextEditor_Property_CURSOR_WIDTH_get();
256 internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_IMAGE_get();
257 internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
258 internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
259 internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
260 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
261 internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
262 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
263 internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
264 internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get();
265 internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextEditor_Property_DECORATION_BOUNDING_BOX_get();
266 internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextEditor_Property_ENABLE_MARKUP_get();
267 internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextEditor_Property_INPUT_COLOR_get();
268 internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_FAMILY_get();
269 internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_STYLE_get();
270 internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextEditor_Property_INPUT_POINT_SIZE_get();
271 internal static readonly int LINE_SPACING = NDalicPINVOKE.TextEditor_Property_LINE_SPACING_get();
272 internal static readonly int INPUT_LINE_SPACING = NDalicPINVOKE.TextEditor_Property_INPUT_LINE_SPACING_get();
273 internal static readonly int UNDERLINE = NDalicPINVOKE.TextEditor_Property_UNDERLINE_get();
274 internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextEditor_Property_INPUT_UNDERLINE_get();
275 internal static readonly int SHADOW = NDalicPINVOKE.TextEditor_Property_SHADOW_get();
276 internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextEditor_Property_INPUT_SHADOW_get();
277 internal static readonly int EMBOSS = NDalicPINVOKE.TextEditor_Property_EMBOSS_get();
278 internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
279 internal static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
280 internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
281 internal static readonly int SMOOTH_SCROLL = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_get();
282 internal static readonly int SMOOTH_SCROLL_DURATION = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_DURATION_get();
283 internal static readonly int ENABLE_SCROLL_BAR = NDalicManualPINVOKE.TextEditor_Property_ENABLE_SCROLL_BAR_get();
284 internal static readonly int SCROLL_BAR_SHOW_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get();
285 internal static readonly int SCROLL_BAR_FADE_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_FADE_DURATION_get();
286 internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextEditor_Property_PIXEL_SIZE_get();
287 internal static readonly int LINE_COUNT = NDalicManualPINVOKE.TextEditor_Property_LINE_COUNT_get();
288 internal static readonly int PLACEHOLDER_TEXT = NDalicManualPINVOKE.TextEditor_Property_PLACEHOLDER_TEXT_get();
289 internal static readonly int PLACEHOLDER_TEXT_COLOR = NDalicManualPINVOKE.TextEditor_Property_PLACEHOLDER_TEXT_COLOR_get();
293 internal class InputStyle
302 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 TextEditorSignal TextChangedSignal()
325 TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
326 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
330 internal ScrollStateChangedSignal ScrollStateChangedSignal(TextEditor textEditor)
332 ScrollStateChangedSignal ret = new ScrollStateChangedSignal(NDalicManualPINVOKE.TextEditor_ScrollStateChangedSignal(TextEditor.getCPtr(textEditor)), false);
333 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
337 internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal()
339 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);
340 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
352 GetProperty(TextEditor.Property.TEXT).Get(out temp);
357 SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));
362 /// Text color property.
364 public Vector4 TextColor
368 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
369 GetProperty(TextEditor.Property.TEXT_COLOR).Get(temp);
374 SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
379 /// Font family property.
381 public string FontFamily
386 GetProperty(TextEditor.Property.FONT_FAMILY).Get(out temp);
391 SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
396 /// Font style property.
398 public PropertyMap FontStyle
402 PropertyMap temp = new PropertyMap();
403 GetProperty(TextEditor.Property.FONT_STYLE).Get(temp);
408 SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
413 /// Point size property.
415 public float PointSize
420 GetProperty(TextEditor.Property.POINT_SIZE).Get(out temp);
425 SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
430 /// Horizontal alignment property.
432 public HorizontalAlignment HorizontalAlignment
437 if (GetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT).Get(out temp) == false)
440 Tizen.Log.Error("NUI", "HorizontalAlignment get error!");
447 return HorizontalAlignment.Begin;
449 return HorizontalAlignment.Center;
451 return HorizontalAlignment.End;
453 return HorizontalAlignment.Begin;
458 string valueToString = "";
461 case HorizontalAlignment.Begin:
463 valueToString = "BEGIN";
466 case HorizontalAlignment.Center:
468 valueToString = "CENTER";
471 case HorizontalAlignment.End:
473 valueToString = "END";
478 valueToString = "BEGIN";
482 SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
487 /// Scroll threshold property.
489 public float ScrollThreshold
494 GetProperty(TextEditor.Property.SCROLL_THRESHOLD).Get(out temp);
499 SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
504 /// Scroll speed property.
506 public float ScrollSpeed
511 GetProperty(TextEditor.Property.SCROLL_SPEED).Get(out temp);
516 SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
521 /// Primary cursor color property.
523 public Vector4 PrimaryCursorColor
527 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
528 GetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);
533 SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
538 /// SecondaryCursorColor property.
540 public Vector4 SecondaryCursorColor
544 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
545 GetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);
550 SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
555 /// EnableCursorBlink property.
557 public bool EnableCursorBlink
562 GetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK).Get(out temp);
567 SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
572 /// CursorBlinkInterval property.
574 public float CursorBlinkInterval
579 GetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(out temp);
584 SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
589 /// CursorBlinkDuration property.
591 public float CursorBlinkDuration
596 GetProperty(TextEditor.Property.CURSOR_BLINK_DURATION).Get(out temp);
601 SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
606 /// CursorWidth property.
608 public int CursorWidth
613 GetProperty(TextEditor.Property.CURSOR_WIDTH).Get(out temp);
618 SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
623 /// GrabHandleImage property.
625 public string GrabHandleImage
630 GetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);
635 SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
640 /// GrabHandlePressedImage property.
642 public string GrabHandlePressedImage
647 GetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
652 SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
657 /// SelectionHandleImageLeft property.
659 public PropertyMap SelectionHandleImageLeft
663 PropertyMap temp = new PropertyMap();
664 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
669 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
674 /// SelectionHandleImageRight property.
676 public PropertyMap SelectionHandleImageRight
680 PropertyMap temp = new PropertyMap();
681 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
686 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
691 /// SelectionHandlePressedImageLeft property.
693 public PropertyMap SelectionHandlePressedImageLeft
697 PropertyMap temp = new PropertyMap();
698 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
703 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
708 /// SelectionHandlePressedImageRight property.
710 public PropertyMap SelectionHandlePressedImageRight
714 PropertyMap temp = new PropertyMap();
715 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
720 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
725 /// SelectionHandleMarkerImageLeft property.
727 public PropertyMap SelectionHandleMarkerImageLeft
731 PropertyMap temp = new PropertyMap();
732 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
737 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
742 /// SelectionHandleMarkerImageRight property.
744 public PropertyMap SelectionHandleMarkerImageRight
748 PropertyMap temp = new PropertyMap();
749 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
754 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
759 /// SelectionHighlightColor property.
761 public Vector4 SelectionHighlightColor
765 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
766 GetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
771 SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
776 /// DecorationBoundingBox property.
778 public Rectangle DecorationBoundingBox
782 Rectangle temp = new Rectangle(0, 0, 0, 0);
783 GetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);
788 SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
793 /// EnableMarkup property.
795 public bool EnableMarkup
800 GetProperty(TextEditor.Property.ENABLE_MARKUP).Get(out temp);
805 SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
810 /// InputColor property.
812 public Vector4 InputColor
816 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
817 GetProperty(TextEditor.Property.INPUT_COLOR).Get(temp);
822 SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
827 /// InputFontFamily property.
829 public string InputFontFamily
834 GetProperty(TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);
839 SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
844 /// InputFontStyle property.
846 public PropertyMap InputFontStyle
850 PropertyMap temp = new PropertyMap();
851 GetProperty(TextEditor.Property.INPUT_FONT_STYLE).Get(temp);
856 SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
861 /// InputPointSize property.
863 public float InputPointSize
868 GetProperty(TextEditor.Property.INPUT_POINT_SIZE).Get(out temp);
873 SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
878 /// LineSpacing property.
880 public float LineSpacing
885 GetProperty(TextEditor.Property.LINE_SPACING).Get(out temp);
890 SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
895 /// InputLineSpacing property.
897 public float InputLineSpacing
902 GetProperty(TextEditor.Property.INPUT_LINE_SPACING).Get(out temp);
907 SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
912 /// Underline property.
914 public PropertyMap Underline
918 PropertyMap temp = new PropertyMap();
919 GetProperty(TextEditor.Property.UNDERLINE).Get(temp);
924 SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
929 /// InputUnderline property.
931 public string InputUnderline
936 GetProperty(TextEditor.Property.INPUT_UNDERLINE).Get(out temp);
941 SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
948 public PropertyMap Shadow
952 PropertyMap temp = new PropertyMap();
953 GetProperty(TextEditor.Property.SHADOW).Get(temp);
958 SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
963 /// InputShadow property.
965 public string InputShadow
970 GetProperty(TextEditor.Property.INPUT_SHADOW).Get(out temp);
975 SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
987 GetProperty(TextEditor.Property.EMBOSS).Get(out temp);
992 SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
997 /// InputEmboss property.
999 public string InputEmboss
1004 GetProperty(TextEditor.Property.INPUT_EMBOSS).Get(out temp);
1009 SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
1014 /// Outline property.
1016 public string Outline
1021 GetProperty(TextEditor.Property.OUTLINE).Get(out temp);
1026 SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
1031 /// InputOutline property.
1033 public string InputOutline
1038 GetProperty(TextEditor.Property.INPUT_OUTLINE).Get(out temp);
1043 SetProperty(TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));
1048 /// SmoothScroll property.
1050 public bool SmoothScroll
1055 GetProperty(TextEditor.Property.SMOOTH_SCROLL).Get(out temp);
1060 SetProperty(TextEditor.Property.SMOOTH_SCROLL, new Tizen.NUI.PropertyValue(value));
1065 /// SmoothScrollDuration property.
1067 public float SmoothScrollDuration
1072 GetProperty(TextEditor.Property.SMOOTH_SCROLL_DURATION).Get(out temp);
1077 SetProperty(TextEditor.Property.SMOOTH_SCROLL_DURATION, new Tizen.NUI.PropertyValue(value));
1082 /// EnableScrollBar property.
1084 public bool EnableScrollBar
1089 GetProperty(TextEditor.Property.ENABLE_SCROLL_BAR).Get(out temp);
1094 SetProperty(TextEditor.Property.ENABLE_SCROLL_BAR, new Tizen.NUI.PropertyValue(value));
1099 /// ScrollBarShowDuration property.
1101 public float ScrollBarShowDuration
1106 GetProperty(TextEditor.Property.SCROLL_BAR_SHOW_DURATION).Get(out temp);
1111 SetProperty(TextEditor.Property.SCROLL_BAR_SHOW_DURATION, new Tizen.NUI.PropertyValue(value));
1116 /// ScrollBarFadeDuration property.
1118 public float ScrollBarFadeDuration
1123 GetProperty(TextEditor.Property.SCROLL_BAR_FADE_DURATION).Get(out temp);
1128 SetProperty(TextEditor.Property.SCROLL_BAR_FADE_DURATION, new Tizen.NUI.PropertyValue(value));
1133 /// PixelSize property.
1135 public float PixelSize
1140 GetProperty(TextEditor.Property.PIXEL_SIZE).Get(out temp);
1145 SetProperty(TextEditor.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));
1150 /// The line count of text.
1152 public int LineCount
1157 GetProperty(TextEditor.Property.LINE_COUNT).Get(out temp);
1163 /// The text to display when the TextEditor is empty and inactive.
1165 public string PlaceholderText
1170 GetProperty(TextEditor.Property.PLACEHOLDER_TEXT).Get(out temp);
1175 SetProperty(TextEditor.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));
1180 /// The placeholder-text color.
1182 public Color PlaceholderTextColor
1186 Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
1187 GetProperty(TextEditor.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);
1192 SetProperty(TextEditor.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));