'Declaration Public Enum CardScrollbars Inherits System.Enum
public enum CardScrollbars : System.Enum
Member | Description |
---|---|
Horizontal | Horizontal specifies that the horizontal scroll bar be shown. If all the cards are visible then the scrollbar will be disabled. |
None | None specifies that no scroll bars be shown. |
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; }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2