C# Class RedBadger.Xpf.Controls.Grid

A Grid layout panel consisting of columns and rows.
Inheritance: Panel
Mostra file Open project: redbadger/XPF Class Usage Examples

Public Properties

Property Type Description
ColumnProperty ReactiveProperty
RowProperty ReactiveProperty

Public Methods

Method Description
GetColumn ( IElement element ) : int

Gets the value of the Column attached property for the specified element.

GetRow ( IElement element ) : int

Gets the value of the Row attached property for the specified element.

SetColumn ( IElement element, int value ) : void

Sets the value of the Column attached property for the specified element.

SetRow ( IElement element, int value ) : void

Sets the value of the Row attached property for the specified element.

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
MeasureOverride ( Size availableSize ) : Size

Private Methods

Method Description
AllocateProportionalSpace ( IEnumerable definitions, double availableLength ) : void
CreateCells ( ) : void
InitializeMeasureData ( IEnumerable definitions, bool treatStarAsAuto, Dimension dimension ) : void
MeasureCell ( Cell cell, IElement child, bool shouldChildBeMeasuredWithInfiniteHeight ) : void
MeasureCells ( IEnumerable cells, UpdateMinLengths updateMinLengths ) : void
MeasureCells ( Size availableSize ) : void
SetFinalLength ( DefinitionBase definitions, double gridFinalLength ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize Size
return Size

GetColumn() public static method

Gets the value of the Column attached property for the specified element.
public static GetColumn ( IElement element ) : int
element IElement The element for which to read the proerty value.
return int

GetRow() public static method

Gets the value of the Row attached property for the specified element.
public static GetRow ( IElement element ) : int
element IElement The element for which to read the proerty value.
return int

MeasureOverride() protected method

protected MeasureOverride ( Size availableSize ) : Size
availableSize Size
return Size

SetColumn() public static method

Sets the value of the Column attached property for the specified element.
public static SetColumn ( IElement element, int value ) : void
element IElement The element for which to write the proerty value.
value int The value of the Column attached property.
return void

SetRow() public static method

Sets the value of the Row attached property for the specified element.
public static SetRow ( IElement element, int value ) : void
element IElement The element for which to write the proerty value.
value int The value of the Row attached property.
return void

Property Details

ColumnProperty public_oe static_oe property

Column attached property.
public static ReactiveProperty ColumnProperty
return ReactiveProperty

RowProperty public_oe static_oe property

Row attached property.
public static ReactiveProperty RowProperty
return ReactiveProperty