'宣言 Public Property CardScrollbars As CardScrollbars
public CardScrollbars CardScrollbars {get; set;}
CardScrollbars プロパティを使用すると、カード領域のスクロールバーを制御できます。
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub UltraGrid1_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs) Handles UltraGrid1.InitializeLayout ' Turn on the card-view functionality. Me.UltraGrid1.DisplayLayout.Bands(0).CardView = True End Sub Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click ' Hide the scrollbars in card-areas. Me.UltraGrid1.DisplayLayout.Bands(0).CardSettings.CardScrollbars = CardScrollbars.None End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { // Turn on the card-view functionality. this.ultraGrid1.DisplayLayout.Bands[0].CardView = true; } private void button1_Click(object sender, System.EventArgs e) { // Hide the scrollbars in card-areas. this.ultraGrid1.DisplayLayout.Bands[0].CardSettings.CardScrollbars = CardScrollbars.None; }