OutlineLevelUpdate.LevelDelta Property
Gets or sets the number of levels to shift the record.
Namespace: Microsoft.SharePoint.JSGrid
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property LevelDelta As Integer
Get
Set
'Usage
Dim instance As OutlineLevelUpdate
Dim value As Integer
value = instance.LevelDelta
instance.LevelDelta = value
public int LevelDelta { get; set; }
Property Value
Type: System.Int32
A Int32 indicating the how many levels separate a record from its parent record.
Remarks
Specifying a negative number decreases the outline level of the record. For example, if record A is at outline level 1, and record B is a child of record A and is at outline level 2, setting the LevelDelta property for record B to -1 will cause record B to move to outline level 1 and become A's sibling.
The LevelDelta value plus the record's current outline level cannot exceed the outline level of the record that immediately precedes the current record by more than 2.
The LevelDelta value plus the record's current outline level cannot be less than zero.