バージョン

SkipSiblings プロパティ

現在の行の兄弟行をスキップするかどうかを指定します。
シンタックス
'宣言
 
Public Property SkipSiblings As Boolean
public bool SkipSiblings {get; set;}
使用例
Private Sub MyGridExporter_InitializeRow(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.ExcelExport.ExcelExportInitializeRowEventArgs) Handles MyGridExporter.InitializeRow
    If e.Row.Band.Index = 0 And e.Row.Index = 0 Then e.SkipRow = True
    If e.Row.Band.Index = 0 And e.Row.Index = 2 Then e.SkipDescendants = True
    If e.Row.Band.Index = 1 And e.Row.Index = 0 Then e.SkipSiblings = True
    If e.Row.Band.Index = 0 And e.Row.Index = 7 Then e.TerminateExport = True
End Sub
public void InitializeRowEH(object sender, ExcelExportInitializeRowEventArgs e)
{
	if(e.Row.Band.Index==0 && e.Row.Index==0)
		e.SkipRow = true;

	if(e.Row.Band.Index==0 && e.Row.Index==2)
		e.SkipDescendants = true;

	if(e.Row.Band.Index==1 && e.Row.Index==0)
		e.SkipSiblings = true;

	if(e.Row.Band.Index==0 && e.Row.Index==7)
		e.TerminateExport = true;
}
参照