Class GridCellNestedGridEditor
Defines the nested grid editor control that is placed inside a cell to form a nested grid cell. It derives from GridControlBase and hence share the basic charateristics of the GridControl.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellNestedGridEditor : GridControlBase, IScrollBarProvider, IScrollInfo, IDisposable, IGridPrintPaginator
Constructors
GridCellNestedGridEditor()
Initializes a new GridCellNestedGridEditor.
Declaration
public GridCellNestedGridEditor()
Properties
IsInArrangeNested
When true, it indicates the nested grid cell content are being arranged.
Declaration
public bool IsInArrangeNested { get; }
Property Value
Type |
---|
System.Boolean |
ParentGrid
Returns the parent grid.
Declaration
public GridControlBase ParentGrid { get; }
Property Value
Type |
---|
GridControlBase |
ShareColumnLayout
Returns true if the column layout is shared; false otherwise.
Declaration
public bool ShareColumnLayout { get; }
Property Value
Type |
---|
System.Boolean |
SharedScrollColumns
Returns the Scroll Columns that are shared.
Declaration
public SharedSubsetScrollAxis SharedScrollColumns { get; }
Property Value
Type |
---|
SharedSubsetScrollAxis |
SharedScrollRows
Returns the Scroll Rows that are shared.
Declaration
public SharedSubsetScrollAxis SharedScrollRows { get; }
Property Value
Type |
---|
SharedSubsetScrollAxis |
ShareRowLayout
Returns true if the row layout is shared; false otherwise.
Declaration
public bool ShareRowLayout { get; }
Property Value
Type |
---|
System.Boolean |
SingleColumnInParentLayout
Returns true if the column layout is nested; false otherwise.
Declaration
public bool SingleColumnInParentLayout { get; }
Property Value
Type |
---|
System.Boolean |
SingleRowInParentLayout
Returns true if the row layout is nested; false otherwise.
Declaration
public bool SingleRowInParentLayout { get; }
Property Value
Type |
---|
System.Boolean |
StartColumnIndex
Gets or sets the index of the first column.
Declaration
public int StartColumnIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
StartRowIndex
Gets or sets the index of the first row.
Declaration
public int StartRowIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
ArrangeNested(ScrollViewer, ArrangeCellArgs, GridRenderStyleInfo)
Arranges the given cell content inside the scroll viewer.
Declaration
public void ArrangeNested(ScrollViewer sv, ArrangeCellArgs aca, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ScrollViewer | sv | Scroll viewer. |
ArrangeCellArgs | aca | A reference to ArrangeCellArgs. |
GridRenderStyleInfo | style |
CreateScrollAxis(Orientation, Boolean, IScrollBar, ILineSizeHost)
Declaration
protected override ScrollAxisBase CreateScrollAxis(Orientation orientation, bool pixelScroll, IScrollBar scrollBar, ILineSizeHost lineSizes)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Orientation | orientation | |
System.Boolean | pixelScroll | |
IScrollBar | scrollBar | |
ILineSizeHost | lineSizes |
Returns
Type |
---|
ScrollAxisBase |
Overrides
InitializeNested(GridControlBase, GridModel, GridNestedAxisLayout, GridNestedAxisLayout)
Initializes a new GridCellNestedGridEditor using the given parameter values.
Declaration
public virtual void InitializeNested(GridControlBase simpleGridControl, GridModel model, GridNestedAxisLayout rowLayout, GridNestedAxisLayout columnLayout)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | simpleGridControl | The grid control. |
GridModel | model | Grid model. |
GridNestedAxisLayout | rowLayout | Row layout. |
GridNestedAxisLayout | columnLayout | Column layout. |
InvalidateRowResize()
Declaration
public override void InvalidateRowResize()
Overrides
MoveCurrentCellWithArrowKey(KeyEventArgs)
Moves the current cell when user tries to move the current cell using the arrow key.
Declaration
public override bool MoveCurrentCellWithArrowKey(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | The key event arguments. |
Returns
Type | Description |
---|---|
System.Boolean | True if the current cell has been moved successfully; false otherwise. |
Overrides
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type |
---|
System.Windows.Automation.Peers.AutomationPeer |
Overrides
OnHScrollBarValueChanged(Object, EventArgs)
Declaration
protected override void OnHScrollBarValueChanged(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
System.EventArgs | e |
Overrides
OnHScrollBarValueChanging(Object, ValueChangingEventArgs)
Declaration
protected override void OnHScrollBarValueChanging(object sender, ValueChangingEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
ValueChangingEventArgs | e |
Overrides
OnVScrollBarValueChanged(Object, EventArgs)
Declaration
protected override void OnVScrollBarValueChanged(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
System.EventArgs | e |
Overrides
OnVScrollBarValueChanging(Object, ValueChangingEventArgs)
Declaration
protected override void OnVScrollBarValueChanging(object sender, ValueChangingEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
ValueChangingEventArgs | e |
Overrides
ScrollInView(RowColumnIndex)
Brings the given cell into view.
Declaration
public override void ScrollInView(RowColumnIndex cellRowColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex | The cell row column index. |
Overrides
SetColumnWidth(Int32, Double)
Sets the width of the column whose index is specified.
Declaration
public override void SetColumnWidth(int columnIndex, double size)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | columnIndex | Column index. |
System.Double | size | Width. |
Overrides
SetRowHeight(Int32, Double)
Sets the height of the row whose index is specified.
Declaration
public override void SetRowHeight(int rowIndex, double size)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | Row index. |
System.Double | size | Height. |
Overrides
ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs)
Declaration
protected override bool ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e |
Returns
Type |
---|
System.Boolean |
Overrides
UnwireModel()
Declaration
protected override void UnwireModel()
Overrides
WireModel()
Declaration
protected override void WireModel()