New to Telerik UI for WinFormsStart a free 30-day trial

Implements accordion annimation for group rows in RadGridView.

Definition

Namespace:Telerik.WinControls.UI.VisualEffects

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridExpandAnimationAccoridion : GridExpandAnimation

Inheritance: objectGridExpandAnimationGridExpandAnimationAccoridion

Inherited Members GridExpandAnimation.OnUpdateViewNeeded(EventArgs)GridExpandAnimation.TableElementGridExpandAnimation.IsAnimatingGridExpandAnimation.UpdateViewNeeded

Constructors

Initializes a new instance of the GridExpandAnimationAccoridion class.

C#
public GridExpandAnimationAccoridion(GridTableElement tableElement)
Parameters:tableElementGridTableElement

The table element.

Methods

Starts collapse animation for group rows in RadGridView.

C#
public override void Collapse(GridViewRowInfo rowInfo, float maxOffset, int rowIndex)
Parameters:rowInfoGridViewRowInfo

The desired GridViewRowInfo

maxOffsetfloat

the offset

rowIndexint

the row index

Overrides: GridExpandAnimation.Collapse(GridViewRowInfo, float, int)

Starts expand animation for group rows in RadGridView.

C#
public override void Expand(GridViewRowInfo rowInfo, float maxOffset, int rowIndex)
Parameters:rowInfoGridViewRowInfomaxOffsetfloat

the offset

rowIndexint

the row index

Overrides: GridExpandAnimation.Expand(GridViewRowInfo, float, int)