using System;
using System.Runtime.InteropServices;
-
+ /// <summary>
+ /// A control which provides a single-line editable text field.
+ /// </summary>
public class TextField : View
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
DisposeQueue.Instance.Add(this);
}
+ /// <summary>
+ /// Dispose
+ /// </summary>
public override void Dispose()
{
if (!Stage.IsInstalled())
}
}
-
-
+ /// <summary>
+ /// Text changed event arguments.
+ /// </summary>
public class TextChangedEventArgs : EventArgs
{
private TextField _textField;
+ /// <summary>
+ /// TextField.
+ /// </summary>
public TextField TextField
{
get
}
}
+ /// <summary>
+ /// MaxLengthReached event arguments.
+ /// </summary>
public class MaxLengthReachedEventArgs : EventArgs
{
private TextField _textField;
+ /// <summary>
+ /// TextField.
+ /// </summary>
public TextField TextField
{
get
private EventHandler<MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;
private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;
+ /// <summary>
+ /// TextChanged event.
+ /// </summary>
public event EventHandler<TextChangedEventArgs> TextChanged
{
add
}
+ /// <summary>
+ /// MaxLengthReached event.
+ /// </summary>
public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
{
add
}
+ /// <summary>
+ /// Creates an empty handle.
+ /// </summary>
public TextField() : this(NDalicPINVOKE.TextField_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+ /// <summary>
+ /// Downcasts a handle to TextField.
+ /// </summary>
public new static TextField DownCast(BaseHandle handle)
{
TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
ExceedPolicyClip
}
+ /// <summary>
+ /// RenderingBackend property.
+ /// </summary>
public int RenderingBackend
{
get
SetProperty(TextField.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Text property.
+ /// </summary>
public string Text
{
get
SetProperty(TextField.Property.TEXT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// PlaceholderText property.
+ /// </summary>
public string PlaceholderText
{
get
SetProperty(TextField.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// PlaceholderTextFocused property.
+ /// </summary>
public string PlaceholderTextFocused
{
get
SetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// FontFamily property.
+ /// </summary>
public string FontFamily
{
get
SetProperty(TextField.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// FontStyle property.
+ /// </summary>
public PropertyMap FontStyle
{
get
SetProperty(TextField.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// PointSize property.
+ /// </summary>
public float PointSize
{
get
SetProperty(TextField.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// MaxLength property.
+ /// </summary>
public int MaxLength
{
get
SetProperty(TextField.Property.MAX_LENGTH, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// ExceedPolicy property.
+ /// </summary>
public int ExceedPolicy
{
get
SetProperty(TextField.Property.EXCEED_POLICY, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// HorizontalAlignment property.
+ /// </summary>
public string HorizontalAlignment
{
get
SetProperty(TextField.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// VerticalAlignment property.
+ /// </summary>
public string VerticalAlignment
{
get
SetProperty(TextField.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// TextColor property.
+ /// </summary>
public Color TextColor
{
get
SetProperty(TextField.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// PlaceholderTextColor property.
+ /// </summary>
public Vector4 PlaceholderTextColor
{
get
SetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// ShadowOffset property.
+ /// </summary>
public Vector2 ShadowOffset
{
get
SetProperty(TextField.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// ShadowColor property.
+ /// </summary>
public Vector4 ShadowColor
{
get
SetProperty(TextField.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// PrimaryCursorColor property.
+ /// </summary>
public Vector4 PrimaryCursorColor
{
get
SetProperty(TextField.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SecondaryCursorColor property.
+ /// </summary>
public Vector4 SecondaryCursorColor
{
get
SetProperty(TextField.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// EnableCursorBlink property.
+ /// </summary>
public bool EnableCursorBlink
{
get
SetProperty(TextField.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorBlinkInterval property.
+ /// </summary>
public float CursorBlinkInterval
{
get
SetProperty(TextField.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorBlinkDuration property.
+ /// </summary>
public float CursorBlinkDuration
{
get
SetProperty(TextField.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorWidth property.
+ /// </summary>
public int CursorWidth
{
get
SetProperty(TextField.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// GrabHandleImage property.
+ /// </summary>
public string GrabHandleImage
{
get
SetProperty(TextField.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// GrabHandlePressedImage property.
+ /// </summary>
public string GrabHandlePressedImage
{
get
SetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// ScrollThreshold property.
+ /// </summary>
public float ScrollThreshold
{
get
SetProperty(TextField.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// ScrollSpeed property.
+ /// </summary>
public float ScrollSpeed
{
get
SetProperty(TextField.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandleImageLeft
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleImageRight property.
+ /// </summary>
public PropertyMap SelectionHandleImageRight
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandlePressedImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandlePressedImageLeft
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandlePressedImageRight property.
+ /// </summary>
public PropertyMap SelectionHandlePressedImageRight
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleMarkerImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandleMarkerImageLeft
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleMarkerImageRight property.
+ /// </summary>
public PropertyMap SelectionHandleMarkerImageRight
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHighlightColor property.
+ /// </summary>
public Vector4 SelectionHighlightColor
{
get
SetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// DecorationBoundingBox property.
+ /// </summary>
public Rectangle DecorationBoundingBox
{
get
SetProperty(TextField.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputMethodSettings property.
+ /// </summary>
public PropertyMap InputMethodSettings
{
get
SetProperty(TextField.Property.INPUT_METHOD_SETTINGS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputColor property.
+ /// </summary>
public Vector4 InputColor
{
get
SetProperty(TextField.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// EnableMarkup property.
+ /// </summary>
public bool EnableMarkup
{
get
SetProperty(TextField.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputFontFamily property.
+ /// </summary>
public string InputFontFamily
{
get
SetProperty(TextField.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputFontStyle property.
+ /// </summary>
public PropertyMap InputFontStyle
{
get
SetProperty(TextField.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputPointSize property.
+ /// </summary>
public float InputPointSize
{
get
SetProperty(TextField.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Underline property.
+ /// </summary>
public PropertyMap Underline
{
get
SetProperty(TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputUnderline property.
+ /// </summary>
public PropertyMap InputUnderline
{
get
SetProperty(TextField.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Shadow property.
+ /// </summary>
public PropertyMap Shadow
{
get
SetProperty(TextField.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputShadow property.
+ /// </summary>
public PropertyMap InputShadow
{
get
SetProperty(TextField.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Emboss property.
+ /// </summary>
public PropertyMap Emboss
{
get
SetProperty(TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputEmboss property.
+ /// </summary>
public PropertyMap InputEmboss
{
get
SetProperty(TextField.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Outline property.
+ /// </summary>
public PropertyMap Outline
{
get
SetProperty(TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputOutline property.
+ /// </summary>
public PropertyMap InputOutline
{
get