[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_ENABLE_EDITING_get")]
public static extern int TextEditor_Property_ENABLE_EDITING_get();
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_HORIZONTAL_SCROLL_POSITION_get")]
+ public static extern int TextEditor_Property_HORIZONTAL_SCROLL_POSITION_get();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_VERTICAL_SCROLL_POSITION_get")]
+ public static extern int TextEditor_Property_VERTICAL_SCROLL_POSITION_get();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_ScrollBy")]
+ public static extern void TextEditor_ScrollBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
}
}
}
\ No newline at end of file
}
}
+ /// <summary>
/// Enable editing in text control.
/// </summary>
/// <since_tizen> 8 </since_tizen>
}
/// <summary>
+ /// Specify horizontal scroll position in text control.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public int HorizontalScrollPosition
+ {
+ get
+ {
+ int temp;
+ using (PropertyValue propertyValue = GetProperty(TextEditor.Property.HORIZONTAL_SCROLL_POSITION))
+ {
+ propertyValue.Get(out temp);
+ }
+ return temp;
+ }
+ set
+ {
+ using (PropertyValue propertyValue = new PropertyValue(value))
+ {
+ SetProperty(TextEditor.Property.HORIZONTAL_SCROLL_POSITION, propertyValue);
+ NotifyPropertyChanged();
+ }
+ }
+ }
+
+ /// <summary>
+ /// Specify vertical scroll position in text control.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public int VerticalScrollPosition
+ {
+ get
+ {
+ int temp;
+ using (PropertyValue propertyValue = GetProperty(TextEditor.Property.VERTICAL_SCROLL_POSITION))
+ {
+ propertyValue.Get(out temp);
+ }
+ return temp;
+ }
+ set
+ {
+ using (PropertyValue propertyValue = new PropertyValue(value))
+ {
+ SetProperty(TextEditor.Property.VERTICAL_SCROLL_POSITION, propertyValue);
+ NotifyPropertyChanged();
+ }
+ }
+ }
+
+ /// <summary>
/// The Placeholder property.
/// Gets or sets the placeholder: text, color, font family, font style, point size, and pixel size.
/// </summary>
}
/// <summary>
+ /// Scroll the text control by specific amount..
+ /// </summary>
+ /// <param name="scroll">The amount (in pixels) of scrolling in horizontal & vertical directions.</param>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void ScrollBy(Vector2 scroll)
+ {
+ Interop.TextEditor.TextEditor_ScrollBy(swigCPtr, Vector2.getCPtr(scroll));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
/// Get the InputMethodContext instance.
/// </summary>
/// <returns>The InputMethodContext instance.</returns>
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 static readonly int HORIZONTAL_SCROLL_POSITION = Interop.TextEditor.TextEditor_Property_HORIZONTAL_SCROLL_POSITION_get();
+ internal static readonly int VERTICAL_SCROLL_POSITION = Interop.TextEditor.TextEditor_Property_VERTICAL_SCROLL_POSITION_get();
}
internal class InputStyle