Class SillGridLength
- Namespace
- WindowSill.API
- Assembly
- WindowSill.API.dll
Represents a GridLength with configurable minimum and maximum constraints. This dependency object wraps a GridLength value and provides validation boundaries for use in grid-based UI layouts.
public sealed class SillGridLength : DependencyObject, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<DependencyObject>
- Inheritance
-
SillGridLength
- Implements
-
IWinRTObject
- Inherited Members
- Extension Methods
Fields
LengthProperty
Identifies the Length dependency property.
public static readonly DependencyProperty LengthProperty
Field Value
MaxLengthProperty
Identifies the MaxLength dependency property.
public static readonly DependencyProperty MaxLengthProperty
Field Value
MinLengthProperty
Identifies the MinLength dependency property.
public static readonly DependencyProperty MinLengthProperty
Field Value
Properties
Length
Gets or sets the GridLength value that defines the size behavior for grid columns or rows. This value should respect the constraints defined by MinLength and MaxLength properties.
public GridLength Length { get; set; }
Property Value
MaxLength
Gets or sets the maximum allowed length value in device-independent units. This constraint applies when the Length property uses absolute sizing. Defaults to double.MaxValue (no upper limit).
public double MaxLength { get; set; }
Property Value
MinLength
Gets or sets the minimum allowed length value in device-independent units. This constraint applies when the Length property uses absolute sizing. Defaults to 0 (no negative sizes allowed).
public double MinLength { get; set; }