Class DataGridDetailsPresenter
Used within the template of a DataGrid to specify the location in the control's visual tree where the row details are to be added.
Inheritance
Inherited Members
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.Controls.Data.dll
Syntax
public sealed class DataGridDetailsPresenter : Panel
Fields
| Improve this Doc View SourceContentHeightProperty
Identifies the ContentHeight dependency property.
Declaration
public static readonly DependencyProperty ContentHeightProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceContentHeight
Gets or sets the height of the content.
Declaration
public double ContentHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The height of the content. |
Methods
| Improve this Doc View SourceArrangeOverride(Size)
Arranges the content of the DataGridDetailsPresenter.
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 DataGridDetailsPresenter. |
Overrides
| Improve this Doc View SourceMeasureOverride(Size)
Measures the children of a DataGridDetailsPresenter 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 DataGridDetailsPresenter determines it needs during layout, based on its calculations of child object allocated sizes. |
Overrides
| Improve this Doc View SourceOnCreateAutomationPeer()
Creates AutomationPeer (OnCreateAutomationPeer())
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
AutomationPeer |