GridLayout.Orientation
Horizontal
Vertical
GridLayout.StretchFlags
None = 0
Fill = 1
Expand = 2
ExpandAndFill = Fill + Expand
GridLayout.Alignment
Start = 0
Center = 1
End = 2
static int GetColumn(View view)
static int GetColumnSpan(View view)
static int GetRow(View view)
static int GetRowSpan(View view)
static StretchFlags GetHorizontalStretch(View view)
static StretchFlags GetVerticalStretch(View view)
static StretchFlags GetHorizontalAlignment(View view)
static StretchFlags GetVerticalAlignment(View view)
static void SetColumn(View view, int value)
static void SetColumnSpan(View view, int value)
static void SetRow(View view, int value)
static void SetRowSpan(View view, int value)
static void SetHorizontalStretch(View view, StretchFlags value)
static void SetVerticalStretch(View view, StretchFlags value)
static void SetHorizontalAlignment(View view, Alignment value)
static void SetVerticalAlignment(View view, Alignment value)
float ColumnSpacing { get; set; }
float RowSpacing { get; set; }
GridLayout.Orientation GridOrientation { get; set; }
int Rows { get; set; }
int Columns{ get; set; }
namespace Tizen.NUI
{
/// <summary>
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
{
/// </summary>
public partial class GridLayout : LayoutGroup
{
private float rowSpacing = 0;
/// <summary>
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
- // 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>
public enum Orientation
{
/// <summary>
/// <summary>
/// Get the column index.
/// </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);
public static int GetColumn(View view)
{
return (int)view.GetValue(ColumnProperty);
/// <summary>
/// Get the column span.
/// </summary>
/// <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);
public static int GetColumnSpan(View view)
{
return (int)view.GetValue(ColumnSpanProperty);
/// <summary>
/// Get the row index.
/// </summary>
/// <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);
public static int GetRow(View view)
{
return (int)view.GetValue(RowProperty);
/// <summary>
/// Get the row span.
/// </summary>
/// <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);
public static int GetRowSpan(View view)
{
return (int)view.GetValue(RowSpanProperty);
/// <summary>
/// Get the value how child is resized within its horizontal space.
/// </summary>
/// <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);
public static StretchFlags GetHorizontalStretch(View view)
{
return (StretchFlags)view.GetValue(HorizontalStretchProperty);
/// <summary>
/// Get the value how child is resized within its vertical space.
/// </summary>
/// <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);
public static StretchFlags GetVerticalStretch(View view)
{
return (StretchFlags)view.GetValue(VerticalStretchProperty);
/// <summary>
/// Get the horizontal alignment of this child.
/// </summary>
/// <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);
public static Alignment GetHorizontalAlignment(View view)
{
return (Alignment)view.GetValue(HorizontalAlignmentProperty);
/// <summary>
/// Get the vertical alignment of this child.
/// </summary>
/// <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);
public static Alignment GetVerticalAlignment(View view)
{
return (Alignment)view.GetValue(VerticalAlignmentProperty);
/// <summary>
/// Set the column index.
/// </summary>
/// <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);
public static void SetColumn(View view, int value)
{
SetChildValue(view, ColumnProperty, value);
/// <summary>
/// Set the column span.
/// </summary>
/// <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);
public static void SetColumnSpan(View view, int value)
{
SetChildValue(view, ColumnSpanProperty, value);
/// <summary>
/// Set the row index.
/// </summary>
/// <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);
public static void SetRow(View view, int value)
{
SetChildValue(view, RowProperty, value);
/// <summary>
/// Set the row span.
/// </summary>
/// <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);
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>
/// <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);
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>
/// <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);
public static void SetVerticalStretch(View view, StretchFlags value)
{
SetChildValue(view, VerticalStretchProperty, value);
/// <summary>
/// Set the horizontal alignment of this child inside the cells.
/// </summary>
/// <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);
public static void SetHorizontalAlignment(View view, Alignment value)
{
SetChildValue(view, HorizontalAlignmentProperty, value);
/// <summary>
/// Set the vertical alignment of this child inside the cells.
/// </summary>
/// <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>
public static void SetVerticalAlignment(View view, Alignment value)
{
SetChildValue(view, VerticalAlignmentProperty, value);
}
/// <summary>
- /// [Draft] The Distance between Column
+ /// The distance between columns.
- // 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;
public float ColumnSpacing
{
get => columnSpacing;
- /// [Draft] The Distance between Rows
+ /// The distance between rows.
- // 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;
public float RowSpacing
{
get => rowSpacing;
- /// [Draft] Get/Set the orientation in the layout
+ /// Get/Set the orientation in the layout
- // 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;
public Orientation GridOrientation
{
get => gridOrientation;
- /// [draft] GridLayout Constructor/>
+ /// GridLayout Constructor.
/// </summary>
/// <returns> New Grid object.</returns>
/// <since_tizen> 6 </since_tizen>
/// </summary>
/// <returns> New Grid object.</returns>
/// <since_tizen> 6 </since_tizen>
- /// [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>
/// <since_tizen> 6 </since_tizen>
public int Columns
- /// [draft ]Get/Set the number of rows in the grid
+ /// Gets or Sets the number of rows in the grid.
- // 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;
public int Rows
{
get => rows;
/// <summary>
/// The value how child is resized within its space.
/// </summary>
/// <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>
[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>
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>
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>
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>
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>
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>
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>
Center = 1,
/// <summary>
/// At the end of the container.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 8 </since_tizen>