internal static readonly BindableProperty PointSizeProperty = BindableProperty.Create(nameof(PointSize), typeof(float?), typeof(TextEditorStyle), null,
propertyChanged: (bindable, oldValue, newValue) => ((TextEditorStyle)bindable).pointSize = (float?)newValue,
defaultValueCreator: (bindable) => ((TextEditorStyle)bindable).pointSize);
-
+
/// <summary> The bindable property of PixelSize. </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
internal static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(PixelSize), typeof(float?), typeof(TextEditorStyle), null,
propertyChanged: (bindable, oldValue, newValue) => ((TextEditorStyle)bindable).fontStyle = (PropertyMap)newValue,
defaultValueCreator: (bindable) => ((TextEditorStyle)bindable).fontStyle);
+ /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static readonly BindableProperty EllipsisProperty = BindableProperty.Create(nameof(Ellipsis), typeof(bool?), typeof(TextEditorStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
+ {
+ var textEditorStyle = (TextEditorStyle)bindable;
+ textEditorStyle.ellipsis = (bool?)newValue;
+ },
+ defaultValueCreator: (bindable) =>
+ {
+ var textEditorStyle = (TextEditorStyle)bindable;
+ return textEditorStyle.ellipsis;
+ });
+
private HorizontalAlignment? horizontalAlignment;
private Vector4 secondaryCursorColor;
private bool? enableCursorBlink;
private Color placeholderTextColor;
private Vector4 primaryCursorColor;
private PropertyMap fontStyle;
+ private bool? ellipsis;
static TextEditorStyle() { }
get => (PropertyMap)GetValue(FontStyleProperty);
set => SetValue(FontStyleProperty, value);
}
+
+ /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool? Ellipsis
+ {
+ get => (bool?)GetValue(EllipsisProperty);
+ set => SetValue(EllipsisProperty, value);
+ }
}
}