Struct TreeColumnDefinition
Namespace: VelloSharp.TreeDataGrid.Composition
Assembly: VelloSharp.TreeDataGrid.dll
Describes the sizing behaviour for a TreeDataGrid column.
public readonly record struct TreeColumnDefinition : IEquatable<TreeColumnDefinition>
Implements
IEquatable<TreeColumnDefinition>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
TreeColumnDefinition(double, double, double, double, double, double, TreeColumnSizingMode, double, uint, TreeFrozenKind)
Describes the sizing behaviour for a TreeDataGrid column.
public TreeColumnDefinition(double MinWidth, double PreferredWidth, double MaxWidth, double Weight = 1, double LeadingMargin = 0, double TrailingMargin = 0, TreeColumnSizingMode Sizing = TreeColumnSizingMode.Star, double PixelWidth = 0, uint Key = 0, TreeFrozenKind Frozen = TreeFrozenKind.None)
Parameters
MinWidth
double
PreferredWidth
double
MaxWidth
double
Weight
double
LeadingMargin
double
TrailingMargin
double
Sizing
TreeColumnSizingMode
PixelWidth
double
Key
uint
Frozen
TreeFrozenKind
Properties
Frozen
public TreeFrozenKind Frozen { get; init; }
Property Value
Key
public uint Key { get; init; }
Property Value
LeadingMargin
public double LeadingMargin { get; init; }
Property Value
MaxWidth
public double MaxWidth { get; init; }
Property Value
MinWidth
public double MinWidth { get; init; }
Property Value
PixelWidth
public double PixelWidth { get; init; }
Property Value
PreferredWidth
public double PreferredWidth { get; init; }
Property Value
Sizing
public TreeColumnSizingMode Sizing { get; init; }
Property Value
TrailingMargin
public double TrailingMargin { get; init; }
Property Value
Weight
public double Weight { get; init; }
Property Value
Methods
ToLinearLayoutChild()
public CompositionInterop.LinearLayoutChild ToLinearLayoutChild()