Skip to content

ColumnDefinition class

Defines the width constraints of one Grid column.

Guide: C# Markup guide

public sealed class ColumnDefinition : GridDefinitionBase
name description
ColumnDefinition() The default constructor.
ActualWidth { get; } Gets the width the last layout pass gave the column, in DIPs.
MaxWidth { get; set; } Gets or sets the maximum column width in DIPs; the default is no bound.
MinWidth { get; set; } Gets or sets the minimum column width in DIPs.
Width { get; set; } Gets or sets the column width; the default is Star.