Class DataGridColumnHeadersPresenter
Used within the template of a DataGrid to specify the location in the control's visual tree where the column headers are to be added.
Inheritance
Inherited Members
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.Controls.Data.dll
Syntax
public sealed class DataGridColumnHeadersPresenter : Panel
Methods
| Improve this Doc View SourceArrangeOverride(Size)
Arranges the content of the DataGridColumnHeadersPresenter.
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 DataGridColumnHeadersPresenter. |
Overrides
| Improve this Doc View SourceCreateDomElement(Object, out Object)
Declaration
public override object CreateDomElement(object parentRef, out object domElementWhereToPlaceChildren)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parentRef | |
System.Object | domElementWhereToPlaceChildren |
Returns
Type | Description |
---|---|
System.Object |
Overrides
| Improve this Doc View SourceMeasureOverride(Size)
Measures the children of a DataGridColumnHeadersPresenter 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 DataGridColumnHeadersPresenter 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 |