[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_TextEditor_Property_PLACEHOLDER_get")]
public static extern int TextEditor_Property_PLACEHOLDER_get();
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_SelectWholeText")]
+ public static extern void TextEditor_SelectWholeText(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_SELECTED_TEXT_get")]
+ public static extern int TextEditor_Property_SELECTED_TEXT_get();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_SelectNone")]
+ public static extern int TextEditor_SelectNone(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_TextEditor_Property_LINE_WRAP_MODE_get")]
public static extern int TextEditor_Property_LINE_WRAP_MODE_get();
}
/// <summary>
+ /// The Selected Text property (read-only).
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public string SelectedText
+ {
+ get
+ {
+ string temp;
+ GetProperty(TextEditor.Property.SELECTED_TEXT).Get(out temp);
+ return temp;
+ }
+ }
+
+ /// <summary>
/// The Placeholder text color.
/// </summary>
/// <remarks>
return inputMethodContext;
}
+ /// <summary>
+ /// Select the whole text.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void SelectWholeText()
+ {
+ Interop.TextEditor.TextEditor_SelectWholeText(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Clear selection of the text.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void SelectNone()
+ {
+ Interop.TextEditor.TextEditor_SelectNone(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextEditor obj)
{
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
internal static readonly int SELECTED_TEXT_START = Interop.TextEditor.TextEditor_Property_SELECTED_TEXT_START_get();
internal static readonly int SELECTED_TEXT_END = Interop.TextEditor.TextEditor_Property_SELECTED_TEXT_END_get();
internal static readonly int ENABLE_EDITING = Interop.TextEditor.TextEditor_Property_ENABLE_EDITING_get();
+ internal static readonly int SELECTED_TEXT = Interop.TextEditor.TextEditor_Property_SELECTED_TEXT_get();
}
internal class InputStyle