Skip to main content

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​

TreeFrozenKind

Key​

public uint Key { get; init; }

Property Value​

uint

LeadingMargin​

public double LeadingMargin { get; init; }

Property Value​

double

MaxWidth​

public double MaxWidth { get; init; }

Property Value​

double

MinWidth​

public double MinWidth { get; init; }

Property Value​

double

PixelWidth​

public double PixelWidth { get; init; }

Property Value​

double

PreferredWidth​

public double PreferredWidth { get; init; }

Property Value​

double

Sizing​

public TreeColumnSizingMode Sizing { get; init; }

Property Value​

TreeColumnSizingMode

TrailingMargin​

public double TrailingMargin { get; init; }

Property Value​

double

Weight​

public double Weight { get; init; }

Property Value​

double

Methods​

ToLinearLayoutChild()​

public CompositionInterop.LinearLayoutChild ToLinearLayoutChild()

Returns​

CompositionInterop.LinearLayoutChild