namespace Tizen.NUI
{
/// <summary>
- /// [Draft] This class implements a grid layout
+ /// GridLayout is a 2D grid pattern layout that consists of a set of rows and columns.
/// </summary>
public partial class GridLayout : LayoutGroup
{
private float rowSpacing = 0;
/// <summary>
- /// [Draft] Enumeration for the direction in which the content is laid out
+ /// Enumeration for the direction in which the content is laid out
/// </summary>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public enum Orientation
{
/// <summary>
/// <summary>
/// Get the column index.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static int GetColumn(View view)
{
return (int)view.GetValue(ColumnProperty);
/// <summary>
/// Get the column span.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static int GetColumnSpan(View view)
{
return (int)view.GetValue(ColumnSpanProperty);
/// <summary>
/// Get the row index.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static int GetRow(View view)
{
return (int)view.GetValue(RowProperty);
/// <summary>
/// Get the row span.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static int GetRowSpan(View view)
{
return (int)view.GetValue(RowSpanProperty);
/// <summary>
/// Get the value how child is resized within its horizontal space.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static StretchFlags GetHorizontalStretch(View view)
{
return (StretchFlags)view.GetValue(HorizontalStretchProperty);
/// <summary>
/// Get the value how child is resized within its vertical space.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static StretchFlags GetVerticalStretch(View view)
{
return (StretchFlags)view.GetValue(VerticalStretchProperty);
/// <summary>
/// Get the horizontal alignment of this child.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static Alignment GetHorizontalAlignment(View view)
{
return (Alignment)view.GetValue(HorizontalAlignmentProperty);
/// <summary>
/// Get the vertical alignment of this child.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static Alignment GetVerticalAlignment(View view)
{
return (Alignment)view.GetValue(VerticalAlignmentProperty);
/// <summary>
/// Set the column index.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static void SetColumn(View view, int value)
{
SetChildValue(view, ColumnProperty, value);
/// <summary>
/// Set the column span.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static void SetColumnSpan(View view, int value)
{
SetChildValue(view, ColumnSpanProperty, value);
/// <summary>
/// Set the row index.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static void SetRow(View view, int value)
{
SetChildValue(view, RowProperty, value);
/// <summary>
/// Set the row span.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static void SetRowSpan(View view, int value)
{
SetChildValue(view, RowSpanProperty, value);
/// <summary>
/// Set the value how child is resized within its horizontal space. <see cref="StretchFlags.Fill"/> by default.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static void SetHorizontalStretch(View view, StretchFlags value)
{
SetChildValue(view, HorizontalStretchProperty, value);
/// <summary>
/// Set the value how child is resized within its vertical space. <see cref="StretchFlags.Fill"/> by default.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static void SetVerticalStretch(View view, StretchFlags value)
{
SetChildValue(view, VerticalStretchProperty, value);
/// <summary>
/// Set the horizontal alignment of this child inside the cells.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static void SetHorizontalAlignment(View view, Alignment value)
{
SetChildValue(view, HorizontalAlignmentProperty, value);
/// <summary>
/// Set the vertical alignment of this child inside the cells.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public static void SetVerticalAlignment(View view, Alignment value)
{
SetChildValue(view, VerticalAlignmentProperty, value);
}
/// <summary>
- /// [Draft] The Distance between Column
+ /// The distance between columns.
/// </summary>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public float ColumnSpacing
{
get => columnSpacing;
}
/// <summary>
- /// [Draft] The Distance between Rows
+ /// The distance between rows.
/// </summary>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public float RowSpacing
{
get => rowSpacing;
}
/// <summary>
- /// [Draft] Get/Set the orientation in the layout
+ /// Get/Set the orientation in the layout
/// </summary>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public Orientation GridOrientation
{
get => gridOrientation;
}
/// <summary>
- /// [draft] GridLayout Constructor/>
+ /// GridLayout Constructor.
/// </summary>
/// <returns> New Grid object.</returns>
/// <since_tizen> 6 </since_tizen>
}
/// <summary>
- /// [Draft] Get/Set the number of columns in the GridLayout should have.
+ /// Gets or Sets the number of columns in the grid.
/// </summary>
/// <since_tizen> 6 </since_tizen>
public int Columns
}
/// <summary>
- /// [draft ]Get/Set the number of rows in the grid
+ /// Gets or Sets the number of rows in the grid.
/// </summary>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public int Rows
{
get => rows;
/// <summary>
/// The value how child is resized within its space.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
[Flags]
public enum StretchFlags
{
/// <summary>
/// Respect mesured size of the child.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
None = 0,
/// <summary>
/// Resize to completely fill the space.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
Fill = 1,
/// <summary>
/// Expand to share available space in GridLayout.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
Expand = 2,
/// <summary>
/// Expand to share available space in GridLayout and fill the space.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
ExpandAndFill = Fill + Expand,
}
/// <summary>
/// The alignment of the grid layout child.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
public enum Alignment
{
/// <summary>
/// At the start of the container.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
Start = 0,
/// <summary>
/// At the center of the container
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
Center = 1,
/// <summary>
/// At the end of the container.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>
End = 2,
}
}