Class DetailsViewDataGrid
Represents a control that is used to display the hierarchical data in SfDataGrid
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class DetailsViewDataGrid : SfDataGrid, IDisposable, INotifyDependencyPropertyChanged, IDetailsViewNotifier, IDetailsViewInfo
Constructors
DetailsViewDataGrid()
Initializes a new instance of DetailsViewDataGrid class.
Declaration
public DetailsViewDataGrid()
Methods
DisposeViewOnItemsSourceChanged()
Releases all the view related operations in DetailsViewDatagrid,when the item source changed
Declaration
protected override void DisposeViewOnItemsSourceChanged()
Overrides
GetExtendedWidth()
Gets the TotalExtent column width of VisualContainer.
Declaration
public double GetExtendedWidth()
Returns
Type | Description |
---|---|
System.Double | TotalExtent. |
OnApplyTemplate()
Builds the visual tree for the DetailsViewDataGrid when a new template is applied.
Declaration
protected override void OnApplyTemplate()
Overrides
RefreshContainerAndView()
Refreshes VisualContainer and View properties based on DetailsViewDataGrid property settings.
Declaration
protected override void RefreshContainerAndView()
Overrides
RefreshHeaderLineCount()
Updates the frozen rows count when the internal rows created.
Declaration
protected override void RefreshHeaderLineCount()
Overrides
SetClipRect(Rect)
Set clip for DetailsViewDataGrid
Declaration
public void SetClipRect(Rect rect)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Rect | rect | The clip rect. |
SetHorizontalOffset(Double)
Sets the Horizontal offset of VisualContainer.
Declaration
public void SetHorizontalOffset(double offset)
Parameters
Type | Name | Description |
---|---|---|
System.Double | offset | Horizontal offset. |
SetVerticalOffset(Double)
Sets the vertical offset of VisualContainer.
Declaration
public void SetVerticalOffset(double offset)
Parameters
Type | Name | Description |
---|---|---|
System.Double | offset | vertical offset. |
UnWireEvents()
Unwires the events associated with the DetailsViewDataGrid.
Declaration
protected override void UnWireEvents()
Overrides
WireEvents()
Wires the events associated with the DetailsViewDataGrid.
Declaration
protected override void WireEvents()