/// <summary>
/// RelativeLayout calculates the size and position of all the children based on their relationship to each other.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public partial class RelativeLayout : LayoutGroup
{
/// <summary>
/// <summary>
/// Constructor
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public RelativeLayout() { }
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <returns>The object whose size and position is being used as reference.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
[Binding.TypeConverter(typeof(RelativeTargetConverter))]
public static View GetLeftTarget(BindableObject view) => GetAttachedValue<View>(view, LeftTargetProperty);
/// <param name="view">The child view whose size and position is being changed.</param>
/// <returns>The object whose size and position is being used as reference.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
[Binding.TypeConverter(typeof(RelativeTargetConverter))]
public static View GetRightTarget(BindableObject view) => GetAttachedValue<View>(view, RightTargetProperty);
/// <param name="view">The child view whose size and position is being changed.</param>
/// <returns>The object whose size and position is being used as reference.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
[Binding.TypeConverter(typeof(RelativeTargetConverter))]
public static View GetTopTarget(BindableObject view) => GetAttachedValue<View>(view, TopTargetProperty);
/// <param name="view">The child view whose size and position is being changed.</param>
/// <returns>The object whose size and position is being used as reference.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
[Binding.TypeConverter(typeof(RelativeTargetConverter))]
public static View GetBottomTarget(BindableObject view) => GetAttachedValue<View>(view, BottomTargetProperty);
/// <param name="view">The child view whose size and position is being changed.</param>
/// <returns>The ratio between left and right of the <seealso cref="LeftTargetProperty"/>.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static float GetLeftRelativeOffset(View view) => GetAttachedValue<float>(view, LeftRelativeOffsetProperty);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <returns>The ratio between left and right of the <seealso cref="RightTargetProperty"/>.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static float GetRightRelativeOffset(View view) => GetAttachedValue<float>(view, RightRelativeOffsetProperty);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <returns>The ratio between top and bottom of the <seealso cref="TopTargetProperty"/>.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static float GetTopRelativeOffset(View view) => GetAttachedValue<float>(view, TopRelativeOffsetProperty);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <returns>The ratio between top and bottom of the <seealso cref="BottomTargetProperty"/>.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static float GetBottomRelativeOffset(View view) => GetAttachedValue<float>(view, BottomRelativeOffsetProperty);
/// <summary>
/// <param name="view">The child view.</param>
/// <returns>The horizontal alignment of <paramref name="view"/>.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static Alignment GetHorizontalAlignment(View view) => GetAttachedValue<Alignment>(view, HorizontalAlignmentProperty);
/// <summary>
/// <param name="view">The child view.</param>
/// <returns>The vertical alignment of <paramref name="view"/>.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static Alignment GetVerticalAlignment(View view) => GetAttachedValue<Alignment>(view, VerticalAlignmentProperty);
/// <summary>
/// <param name="view">The child view.</param>
/// <returns>True if to fill the space, false otherwise.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static bool GetFillHorizontal(View view) => GetAttachedValue<bool>(view, FillHorizontalProperty);
/// <summary>
/// <param name="view">The child view.</param>
/// <returns>True if to fill the space, false otherwise.</returns>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static bool GetFillVertical(View view) => GetAttachedValue<bool>(view, FillVerticalProperty);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <param name="reference">The object whose size and position is being used as reference.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetLeftTarget(View view, View reference) => SetAttachedValue(view, LeftTargetProperty, reference);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <param name="reference">The object whose size and position is being used as reference.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetRightTarget(View view, View reference) => SetAttachedValue(view, RightTargetProperty, reference);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <param name="reference">The object whose size and position is being used as reference.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetTopTarget(View view, View reference) => SetAttachedValue(view, TopTargetProperty, reference);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <param name="reference">The object whose size and position is being used as reference.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetBottomTarget(View view, View reference) => SetAttachedValue(view, BottomTargetProperty, reference);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <param name="value">The ratio between left and right of the <seealso cref="LeftTargetProperty"/>.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetLeftRelativeOffset(View view, float value) => SetAttachedValue(view, LeftRelativeOffsetProperty, value);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <param name="value">The ratio between left and right of the <seealso cref="RightTargetProperty"/>.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetRightRelativeOffset(View view, float value) => SetAttachedValue(view, RightRelativeOffsetProperty, value);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <param name="value">The ratio between left and right of the <seealso cref="TopTargetProperty"/>.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetTopRelativeOffset(View view, float value) => SetAttachedValue(view, TopRelativeOffsetProperty, value);
/// <summary>
/// <param name="view">The child view whose size and position is being changed.</param>
/// <param name="value">The ratio between left and right of the <seealso cref="BottomTargetProperty"/>.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetBottomRelativeOffset(View view, float value) => SetAttachedValue(view, BottomRelativeOffsetProperty, value);
/// <summary>
/// <param name="view">The child view.</param>
/// <param name="value">The horizontal alignment of <paramref name="view"/>.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetHorizontalAlignment(View view, Alignment value) => SetAttachedValue(view, HorizontalAlignmentProperty, value);
/// <summary>
/// <param name="view">The child view.</param>
/// <param name="value">The vertical alignment of <paramref name="view"/>.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetVerticalAlignment(View view, Alignment value) => SetAttachedValue(view, VerticalAlignmentProperty, value);
/// <summary>
/// <param name="view">The child view.</param>
/// <param name="value">True if to fill the space, false otherwise.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetFillHorizontal(View view, bool value) => SetAttachedValue(view, FillHorizontalProperty, value);
/// <summary>
/// <param name="view">The child view.</param>
/// <param name="value">True if to fill the space, false otherwise.</param>
/// <exception cref="ArgumentNullException">The <paramref name="view"/> cannot be null.</exception>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public static void SetFillVertical(View view, bool value) => SetAttachedValue(view, FillVerticalProperty, value);
/// <inheritdoc/>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
protected override void OnMeasure(MeasureSpecification widthMeasureSpec, MeasureSpecification heightMeasureSpec)
{
MeasuredSize.StateType childWidthState = MeasuredSize.StateType.MeasuredSizeOK;
}
/// <inheritdoc/>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
protected override void OnLayout(bool changed, LayoutLength left, LayoutLength top, LayoutLength right, LayoutLength bottom)
{
for (int i = 0; i < LayoutChildren.Count; i++)
}
/// <summary>The alignment of the relative layout child.</summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public enum Alignment
{
/// <summary>At the start of the container.</summary>
+ /// <since_tizen> 9 </since_tizen>
Start = 0,
/// <summary>At the center of the container.</summary>
+ /// <since_tizen> 9 </since_tizen>
Center = 1,
/// <summary>At the end of the container.</summary>
+ /// <since_tizen> 9 </since_tizen>
End = 2,
}
}