Class DataGridCellsPresenter
Used within the template of a DataGrid to specify the location in the control's visual tree where the cells are to be added.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.Controls.Data.dll
Syntax
public sealed class DataGridCellsPresenter : Panel
Methods
| Improve this Doc View SourceArrangeOverride(Size)
Arranges the content of the DataGridCellsPresenter.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Size | finalSize | The final area within the parent that this element should use to arrange itself and its children. |
Returns
Type | Description |
---|---|
Size | The actual size used by the DataGridCellsPresenter. |
Overrides
| Improve this Doc View SourceMeasureOverride(Size)
Measures the children of a DataGridCellsPresenter to prepare for arranging them during the ArrangeOverride(Size) pass.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Size | availableSize | The available size that this element can give to child elements. Indicates an upper limit that child elements should not exceed. |
Returns
Type | Description |
---|---|
Size | The size that the DataGridCellsPresenter determines it needs during layout, based on its calculations of child object allocated sizes. |