콘텐츠로 이동

UniformGrid class

이 콘텐츠는 아직 번역되지 않았습니다.

A panel that arranges children in a grid with equal-sized cells.

Guide: C# Markup reference: Panel

public class UniformGrid : Panel
name description
UniformGrid() The default constructor.
Columns { get; set; } Gets or sets the number of columns; 0 (the default) derives it from the child count.
Rows { get; set; } Gets or sets the number of rows; 0 (the default) derives it from the child count.
Spacing { get; set; } Gets or sets the spacing between cells in DIPs, for both row and column gaps.
static readonly ColumnsProperty The number of columns; 0 derives it from the child count.
static readonly RowsProperty The number of rows; 0 derives it from the child count.
static readonly SpacingProperty The spacing between cells in DIPs, for both row and column gaps.