[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_CHARACTER_SPACING_get")]
public static extern int CharacterSpacingGet();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_REMOVE_FRONT_INSET_get")]
+ public static extern int RemoveFrontInsetGet();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_REMOVE_BACK_INSET_get")]
+ public static extern int RemoveBackInsetGet();
}
}
}
public static extern int StrikethroughGet();
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_Property_CHARACTER_SPACING_get")]
public static extern int CharacterSpacingGet();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_Property_REMOVE_FRONT_INSET_get")]
+ public static extern int RemoveFrontInsetGet();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_Property_REMOVE_BACK_INSET_get")]
+ public static extern int RemoveBackInsetGet();
}
}
}
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_ANCHOR_CLICKED_COLOR_get")]
public static extern int AnchorClickedColorGet();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_REMOVE_FRONT_INSET_get")]
+ public static extern int RemoveFrontInsetGet();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_REMOVE_BACK_INSET_get")]
+ public static extern int RemoveBackInsetGet();
}
}
}
}
/// <summary>
+ /// The RemoveFrontInset property.<br />
+ /// This property is used when the xBearing of first glyph must not be trimmed.<br />
+ /// When set to false, The gap between (0, 0) from the first glyph's leftmost pixel is included in the width of text label.
+ /// </summary>
+ /// <remarks>
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool RemoveFrontInset
+ {
+ get
+ {
+ return (bool)GetValue(RemoveFrontInsetProperty);
+ }
+ set
+ {
+ SetValue(RemoveFrontInsetProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+
+ /// <summary>
+ /// The RemoveBackInset property.<br />
+ /// This property is used when the advance of last glyph must not be trimmed.<br />
+ /// When set to false, The gap between the last glyph's rightmost pixel and X coordinate that next glyph will be placed is included in the width of text label.
+ /// </summary>
+ /// <remarks>
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool RemoveBackInset
+ {
+ get
+ {
+ return (bool)GetValue(RemoveBackInsetProperty);
+ }
+ set
+ {
+ SetValue(RemoveBackInsetProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+
+ /// <summary>
/// Dispose.
/// </summary>
/// <since_tizen> 3 </since_tizen>
internal static readonly int InputFilter = Interop.TextEditor.InputFilterGet();
internal static readonly int Strikethrough = Interop.TextEditor.StrikethroughGet();
internal static readonly int CharacterSpacing = Interop.TextEditor.CharacterSpacingGet();
+ internal static readonly int RemoveFrontInset = Interop.TextEditor.RemoveFrontInsetGet();
+ internal static readonly int RemoveBackInset = Interop.TextEditor.RemoveBackInsetGet();
internal static void Preload()
{
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CharacterSpacing);
}
+
+ /// <summary>
+ /// RemoveFrontInsetProperty
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static readonly BindableProperty RemoveFrontInsetProperty = BindableProperty.Create(nameof(RemoveFrontInset), typeof(bool), typeof(TextEditor), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ {
+ var textEditor = (TextEditor)bindable;
+ if (newValue != null)
+ {
+ Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.RemoveFrontInset, (bool)newValue);
+ }
+ }),
+ defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ {
+ var textEditor = (TextEditor)bindable;
+ return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.RemoveFrontInset);
+ }));
+
+ /// <summary>
+ /// RemoveBackInsetProperty
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static readonly BindableProperty RemoveBackInsetProperty = BindableProperty.Create(nameof(RemoveBackInset), typeof(bool), typeof(TextEditor), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ {
+ var textEditor = (TextEditor)bindable;
+ if (newValue != null)
+ {
+ Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.RemoveBackInset, (bool)newValue);
+ }
+ }),
+ defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ {
+ var textEditor = (TextEditor)bindable;
+ return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.RemoveBackInset);
+ }));
}
}
}
/// <summary>
+ /// The RemoveFrontInset property.<br />
+ /// This property is used when the xBearing of first glyph must not be trimmed.<br />
+ /// When set to false, The gap between (0, 0) from the first glyph's leftmost pixel is included in the width of text label.
+ /// </summary>
+ /// <remarks>
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool RemoveFrontInset
+ {
+ get
+ {
+ return (bool)GetValue(RemoveFrontInsetProperty);
+ }
+ set
+ {
+ SetValue(RemoveFrontInsetProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+
+ /// <summary>
+ /// The RemoveBackInset property.<br />
+ /// This property is used when the advance of last glyph must not be trimmed.<br />
+ /// When set to false, The gap between the last glyph's rightmost pixel and X coordinate that next glyph will be placed is included in the width of text label.
+ /// </summary>
+ /// <remarks>
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool RemoveBackInset
+ {
+ get
+ {
+ return (bool)GetValue(RemoveBackInsetProperty);
+ }
+ set
+ {
+ SetValue(RemoveBackInsetProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+
+ /// <summary>
/// Dispose.
/// </summary>
/// <since_tizen> 3 </since_tizen>
internal static readonly int InputFilter = Interop.TextField.InputFilterGet();
internal static readonly int Strikethrough = Interop.TextField.StrikethroughGet();
internal static readonly int CharacterSpacing = Interop.TextField.CharacterSpacingGet();
+ internal static readonly int RemoveFrontInset = Interop.TextField.RemoveFrontInsetGet();
+ internal static readonly int RemoveBackInset = Interop.TextField.RemoveBackInsetGet();
internal static void Preload()
{
return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CharacterSpacing);
}
+
+ /// <summary>
+ /// RemoveFrontInsetProperty
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static readonly BindableProperty RemoveFrontInsetProperty = BindableProperty.Create(nameof(RemoveFrontInset), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ {
+ var textField = (TextField)bindable;
+ if (newValue != null)
+ {
+ Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.RemoveFrontInset, (bool)newValue);
+ }
+ }),
+ defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ {
+ var textField = (TextField)bindable;
+ return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.RemoveFrontInset);
+ }));
+
+ /// <summary>
+ /// RemoveBackInsetProperty
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static readonly BindableProperty RemoveBackInsetProperty = BindableProperty.Create(nameof(RemoveBackInset), typeof(bool), typeof(TextField), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ {
+ var textField = (TextField)bindable;
+ if (newValue != null)
+ {
+ Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.RemoveBackInset, (bool)newValue);
+ }
+ }),
+ defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ {
+ var textField = (TextField)bindable;
+ return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.RemoveBackInset);
+ }));
}
}
}
/// <summary>
+ /// The RemoveFrontInset property.<br />
+ /// This property is used when the xBearing of first glyph must not be trimmed.<br />
+ /// When set to false, The gap between (0, 0) from the first glyph's leftmost pixel is included in the width of text label.
+ /// </summary>
+ /// <remarks>
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool RemoveFrontInset
+ {
+ get
+ {
+ return (bool)GetValue(RemoveFrontInsetProperty);
+ }
+ set
+ {
+ SetValue(RemoveFrontInsetProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+
+ /// <summary>
+ /// The RemoveBackInset property.<br />
+ /// This property is used when the advance of last glyph must not be trimmed.<br />
+ /// When set to false, The gap between the last glyph's rightmost pixel and X coordinate that next glyph will be placed is included in the width of text label.
+ /// </summary>
+ /// <remarks>
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool RemoveBackInset
+ {
+ get
+ {
+ return (bool)GetValue(RemoveBackInsetProperty);
+ }
+ set
+ {
+ SetValue(RemoveBackInsetProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+
+ /// <summary>
/// The FontSizeScale property for scaling the specified font size up or down. <br />
/// The default value is 1.0. <br />
/// The given font size scale value is used for multiplying the specified font size before querying fonts. <br />
internal static readonly int CharacterSpacing = Interop.TextLabel.CharacterSpacingGet();
internal static readonly int AnchorColor = Interop.TextLabel.AnchorColorGet();
internal static readonly int AnchorClickedColor = Interop.TextLabel.AnchorClickedColorGet();
+ internal static readonly int RemoveFrontInset = Interop.TextLabel.RemoveFrontInsetGet();
+ internal static readonly int RemoveBackInset = Interop.TextLabel.RemoveBackInsetGet();
internal static void Preload()
return textLabel.internalAnchorClickedColor;
}
+ /// <summary>
+ /// RemoveFrontInsetProperty
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static readonly BindableProperty RemoveFrontInsetProperty = BindableProperty.Create(nameof(RemoveFrontInset), typeof(bool), typeof(TextLabel), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ {
+ var textLabel = (TextLabel)bindable;
+ if (newValue != null)
+ {
+ Object.InternalSetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.RemoveFrontInset, (bool)newValue);
+ }
+ }),
+ defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ {
+ var textLabel = (TextLabel)bindable;
+
+ return Object.InternalGetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.RemoveFrontInset);
+ }));
+
+ /// <summary>
+ /// RemoveBackInsetProperty
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static readonly BindableProperty RemoveBackInsetProperty = BindableProperty.Create(nameof(RemoveBackInset), typeof(bool), typeof(TextLabel), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ {
+ var textLabel = (TextLabel)bindable;
+ if (newValue != null)
+ {
+ Object.InternalSetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.RemoveBackInset, (bool)newValue);
+ }
+ }),
+ defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ {
+ var textLabel = (TextLabel)bindable;
+
+ return Object.InternalGetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.RemoveBackInset);
+ }));
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty EnableMarkupProperty = null;