Table of Contents

Class SillOrientedGrid

Namespace
WindowSill.API
Assembly
WindowSill.API.dll

A specialized Grid control that dynamically arranges its children in either rows or columns based on the WindowSill bar's location on the screen. When the sill is positioned horizontally (top/bottom), children are arranged in columns. When positioned vertically (left/right), children are arranged in rows.

public sealed class SillOrientedGrid : Grid, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IEquatable<Panel>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<Grid>
Inheritance
SillOrientedGrid
Implements
IWinRTObject
Inherited Members
Extension Methods

Constructors

SillOrientedGrid()

Initializes a new instance of the SillOrientedGrid class.

public SillOrientedGrid()

Fields

GridLengthsProperty

Identifies the GridLengths dependency property.

public static readonly DependencyProperty GridLengthsProperty

Field Value

DependencyProperty

Properties

GridLengths

Gets or sets the collection of grid length specifications that define the size and constraints for each column (horizontal orientation) or row (vertical orientation). The number of grid lengths must match the number of child elements.

public IList<SillGridLength>? GridLengths { get; set; }

Property Value

IList<SillGridLength>

Methods

MeasureOverride(Size)

protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize Size

Returns

Size

OnApplyTemplate()

protected override void OnApplyTemplate()