[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_REMOVE_BACK_INSET_get")]
public static extern int RemoveBackInsetGet();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_CUTOUT_get")]
+ public static extern int CutoutGet();
}
}
}
}
}
+ /// <summary>
+ /// The Cutout property.<br />
+ /// Whether the Cutout is enabled. (The default value is false)
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool Cutout
+ {
+ get
+ {
+ return (bool)GetValue(Cutout);
+ }
+ set
+ {
+ SetValue(Cutout, value);
+ NotifyPropertyChanged();
+ }
+ }
+
private TextLabelSelectorData EnsureSelectorData() => selectorData ?? (selectorData = new TextLabelSelectorData());
/// <summary>
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 readonly int Cutout = Interop.TextLabel.CutoutGet();
internal static void Preload()
return instance.InternalUnderlineHeight;
}
+ /// <summary>
+ /// CutoutProperty
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static readonly BindableProperty CutoutProperty = BindableProperty.Create(nameof(Cutout), typeof(bool), typeof(TextLabel), false, propertyChanged: (bindable, oldValue, newValue) =>
+ {
+ var instance = (Tizen.NUI.BaseComponents.TextLabel)bindable;
+ if (newValue != null)
+ {
+ instance.InternalUnderlineHeight = (float)newValue;
+ }
+ },
+ defaultValueCreator: (bindable) =>
+ {
+ var instance = (Tizen.NUI.BaseComponents.TextLabel)bindable;
+ return instance.InternalUnderlineHeight;
+ });
+
internal Selector<string> TranslatableTextSelector
{
get => GetSelector<string>(selectorData?.TranslatableText, TextLabel.TranslatableTextProperty);