[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextLabel_Property_LINE_WRAP_MODE_get")]
public static extern int TextLabel_Property_LINE_WRAP_MODE_get();
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextLabel_Property_TEXT_DIRECTION_get")]
+ public static extern int TextLabel_Property_TEXT_DIRECTION_get();
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint = "CSharp_HIDDENINPUT_PROPERTY_MODE_get")]
public static extern int HIDDENINPUT_PROPERTY_MODE_get();
internal static readonly int AUTO_SCROLL_LOOP_DELAY = NDalicManualPINVOKE.TextLabel_Property_AUTO_SCROLL_LOOP_DELAY_get();
internal static readonly int LINE_COUNT = NDalicManualPINVOKE.TextLabel_Property_LINE_COUNT_get();
internal static readonly int LINE_WRAP_MODE = NDalicManualPINVOKE.TextLabel_Property_LINE_WRAP_MODE_get();
-
+ internal static readonly int TEXT_DIRECTION = NDalicManualPINVOKE.TextLabel_Property_TEXT_DIRECTION_get();
}
/// <summary>
SetProperty(TextLabel.Property.LINE_WRAP_MODE, new Tizen.NUI.PropertyValue((int)value));
}
}
+
+ /// <summary>
+ /// The text direction.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public TextDirection TextDirection
+ {
+ get
+ {
+ int temp = 0;
+ GetProperty(TextLabel.Property.TEXT_DIRECTION).Get(out temp);
+ return (TextDirection)temp;
+ }
+ }
}
-}
\ No newline at end of file
+}
Finished
}
- /// <summary>
+ /// <summary>
/// An enum of the line wrap mode of text controls.
/// </summary>
/// <since_tizen> 4 </since_tizen>
Character
}
+ /// <summary>
+ /// An enum of text direction.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public enum TextDirection
+ {
+ /// <summary>
+ /// Text direction is from left to right.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ LeftToRight,
+
+ /// <summary>
+ /// Text direction is from right to left.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ RightToLeft
+ }
+
}