Imports Infragistics.Windows.DataPresenter 'xamDataCards Me.xamDataCards1.ViewSettings.ShouldCollapseEmptyCells = True 'xamDataPresenter Dim cardView1 As CardView = TryCast(Me.xamDataPresenter1.View, CardView) If cardView1 IsNot Nothing Then cardView1.ShouldCollapseEmptyCells = True End If
'宣言 Public Class CardView Inherits ViewBase
using Infragistics.Windows.DataPresenter; //xamDataCards this.xamDataCards1.ViewSettings.ShouldCollapseEmptyCells = true; //xamDataPresenter CardView cardView1 = this.xamDataPresenter1.View as CardView; if(cardView1 != null) { cardView1.ShouldCollapseEmptyCells = true; }
'宣言 Public Class CardView Inherits ViewBase
'宣言 Public Class CardView Inherits ViewBase