propertyChanged: (bindable, oldValue, newValue) => ((TextEditorStyle)bindable).inputOutline = (string)newValue,
defaultValueCreator: (bindable) => ((TextEditorStyle)bindable).inputOutline);
+ /// <summary> The bindable property of SmoothScroll. </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ internal static readonly BindableProperty SmoothScrollProperty = BindableProperty.Create(nameof(SmoothScroll), typeof(bool?), typeof(TextEditorStyle), null,
+ propertyChanged: (bindable, oldValue, newValue) => ((TextEditorStyle)bindable).smoothScroll = (bool?)newValue,
+ defaultValueCreator: (bindable) => ((TextEditorStyle)bindable).smoothScroll);
+
+ /// <summary> The bindable property of SmoothScrollDuration. </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ internal static readonly BindableProperty SmoothScrollDurationProperty = BindableProperty.Create(nameof(SmoothScrollDuration), typeof(float?), typeof(TextEditorStyle), null,
+ propertyChanged: (bindable, oldValue, newValue) => ((TextEditorStyle)bindable).smoothScrollDuration = (float?)newValue,
+ defaultValueCreator: (bindable) => ((TextEditorStyle)bindable).smoothScrollDuration);
+
+ /// <summary> The bindable property of EnableScrollBar. </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ internal static readonly BindableProperty EnableScrollBarProperty = BindableProperty.Create(nameof(EnableScrollBar), typeof(bool?), typeof(TextEditorStyle), null,
+ propertyChanged: (bindable, oldValue, newValue) => ((TextEditorStyle)bindable).enableScrollBar = (bool?)newValue,
+ defaultValueCreator: (bindable) => ((TextEditorStyle)bindable).enableScrollBar);
+
+ /// <summary> The bindable property of ScrollBarShowDuration. </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ internal static readonly BindableProperty ScrollBarShowDurationProperty = BindableProperty.Create(nameof(ScrollBarShowDuration), typeof(float?), typeof(TextEditorStyle), null,
+ propertyChanged: (bindable, oldValue, newValue) => ((TextEditorStyle)bindable).scrollBarShowDuration = (float?)newValue,
+ defaultValueCreator: (bindable) => ((TextEditorStyle)bindable).scrollBarShowDuration);
+
+ /// <summary> The bindable property of ScrollBarFadeDuration. </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ internal static readonly BindableProperty ScrollBarFadeDurationProperty = BindableProperty.Create(nameof(ScrollBarFadeDuration), typeof(float?), typeof(TextEditorStyle), null,
+ propertyChanged: (bindable, oldValue, newValue) => ((TextEditorStyle)bindable).scrollBarFadeDuration = (float?)newValue,
+ defaultValueCreator: (bindable) => ((TextEditorStyle)bindable).scrollBarFadeDuration);
+
/// <summary> The bindable property of EnableSelection. </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create(nameof(EnableSelection), typeof(bool?), typeof(TextEditorStyle), null,
private string emboss;
private string inputEmboss;
private string inputOutline;
+ private bool? smoothScroll;
+ private float? smoothScrollDuration;
+ private bool? enableScrollBar;
+ private float? scrollBarShowDuration;
+ private float? scrollBarFadeDuration;
private float? pixelSize;
private bool? enableSelection;
private bool? matchSystemLanguageDirection;
set => SetValue(InputOutlineProperty, value);
}
+ /// <summary>
+ /// The SmoothScroll property.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool? SmoothScroll
+ {
+ get => (bool?)GetValue(SmoothScrollProperty);
+ set => SetValue(SmoothScrollProperty, value);
+ }
+
+ /// <summary>
+ /// The SmoothScrollDuration property.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public float? SmoothScrollDuration
+ {
+ get => (float?)GetValue(SmoothScrollDurationProperty);
+ set => SetValue(SmoothScrollDurationProperty, value);
+ }
+
+ /// <summary>
+ /// The EnableScrollBar property.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool? EnableScrollBar
+ {
+ get => (bool?)GetValue(EnableScrollBarProperty);
+ set => SetValue(EnableScrollBarProperty, value);
+ }
+
+ /// <summary>
+ /// The ScrollBarShowDuration property.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public float? ScrollBarShowDuration
+ {
+ get => (float?)GetValue(ScrollBarShowDurationProperty);
+ set => SetValue(ScrollBarShowDurationProperty, value);
+ }
+
+ /// <summary>
+ /// The ScrollBarFadeDuration property.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public float? ScrollBarFadeDuration
+ {
+ get => (float?)GetValue(ScrollBarFadeDurationProperty);
+ set => SetValue(ScrollBarFadeDurationProperty, value);
+ }
+
/// <summary>
/// The PixelSize property.
/// </summary>