Version

CardScrollbars Enumeration

Used for specifying UltraGridCardSettings.CardScrollbars property.
Syntax
'Declaration
 
Public Enum CardScrollbars 
   Inherits System.Enum
public enum CardScrollbars : System.Enum 
Members
MemberDescription
HorizontalHorizontal specifies that the horizontal scroll bar be shown. If all the cards are visible then the scrollbar will be disabled.
NoneNone specifies that no scroll bars be shown.
Example
Following code hides the card-view related scrollbars by setting the CardScrollbars property off the card settings object to None in the button's click event handler.

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;
		}
Requirements

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

See Also