C# Class RedBadger.Xpf.Controls.Grid

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

Méthodes publiques

Свойство Type Description
ColumnProperty ReactiveProperty
RowProperty ReactiveProperty

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
ArrangeOverride ( Size finalSize ) : Size
MeasureOverride ( Size availableSize ) : Size

Private Methods

Méthode 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 méthode

protected ArrangeOverride ( Size finalSize ) : Size
finalSize Size
Résultat Size

GetColumn() public static méthode

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.
Résultat int

GetRow() public static méthode

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.
Résultat int

MeasureOverride() protected méthode

protected MeasureOverride ( Size availableSize ) : Size
availableSize Size
Résultat Size

SetColumn() public static méthode

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.
Résultat void

SetRow() public static méthode

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.
Résultat void

Property Details

ColumnProperty public_oe static_oe property

Column attached property.
public static ReactiveProperty ColumnProperty
Résultat ReactiveProperty

RowProperty public_oe static_oe property

Row attached property.
public static ReactiveProperty RowProperty
Résultat ReactiveProperty