WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GroupView

    Show / Hide Table of Contents

    Class GroupView

    Represents the partial class of the GroupView which contains the theme renderer properties and methods.

    Inheritance
    System.Object
    BaseControl
    GroupView
    PaletteGroupView
    Implements
    IThemeProvider
    IVisualStyle
    System.IDisposable
    IIntegratedScrollClient
    IGroupViewDesignerInvoke
    Inherited Members
    BaseControl.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    BaseControl.GetActiveThemeName()
    BaseControl.OnCanApplyThemeChanged(Boolean)
    BaseControl.OnCanOverrideStyleChanged(Boolean)
    BaseControl.ThemeName
    BaseControl.CanOverrideStyle
    BaseControl.IThemeProvider.BaseThemeName
    BaseControl.CanApplyTheme
    BaseControl.ControlName
    BaseControl.IVisualStyle.VisualTheme
    BaseControl.IsVisualStyleEnabled
    BaseControl.ThemeNameChanged
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class GroupView : BaseControl, IThemeProvider, IVisualStyle, IDisposable, IIntegratedScrollClient, IGroupViewDesignerInvoke
    Remarks

    The GroupView control implements a list type control that can display a set of items where each item is represented by an image and a descriptor. Items are implemented as instances of the GroupViewItem class. The collection of GroupViewItems in the control can be accessed through the GroupViewItems property that returns a reference to the GroupView.GroupViewItemCollection object maintained by the control.

    The GroupView control is capable of displaying items with large or small icons in various combinable styles such as the default selectable style, button-type selection, full-item select and an icon-only flowview mode. All styles are available in the regular 3D or a FlatLook mode. The control also implements an IntegratedScrolling option that allows scrolling to be delegated to its parent container.

    The GroupView control can be used in conjunction with the Essential Tools GroupBar control to implement composite controls such as the Microsoft OutlookBar and the Visual Studio.NET toolbox window. The latter scenario makes use of the IntegratedScrolling feature supported by the two controls.

    Examples

    The sample code shows how to create a GroupView control and initialize the Behavior and Appearance properties to resemble the Visual Studio.NET toolbox window. A handler for the GroupView.GroupViewItemSelected event is also shown.

    private void InitializeGroupView()
    {
    	// Create the GroupView control.
    	this.gvcWinForms = new Syncfusion.Windows.Forms.Tools.GroupView();
    
    // Set the large and small ImageLists.
    this.gvcWinForms.LargeImageList = this.ilGroupBarLarge;
    this.gvcWinForms.SmallImageList = this.ilGroupBarSmall;
    
    // Set the GroupView properties to display as a VS.NET tool box type window.
    this.gvcWinForms.SmallImageView = true;
    this.gvcWinForms.HighlightText = true;
    this.gvcWinForms.ButtonView = true;
    this.gvcWinForms.FlowView = false;
    this.gvcWinForms.FlatLook = false;
    this.gvcWinForms.TextWrap = false;
    
    this.gvcWinForms.ImageSpacing = 2;
    this.gvcWinForms.ItemXSpacing = 8;
    this.gvcWinForms.ItemYSpacing = 1;
    
    this.gvcWinForms.BackColor = SystemColors.Control;
    this.gvcWinForms.ForeColor = SystemColors.ControlText;
    
    this.gvcWinForms.HighlightItemColor = SystemColors.Control;
    this.gvcWinForms.SelectingItemColor = ControlPaint.Light(SystemColors.ControlLight);
    this.gvcWinForms.SelectedItemColor = ControlPaint.Light(SystemColors.ControlLight);
    this.gvcWinForms.SelectedHighlightItemColor = SystemColors.Control;
    
    this.gvcWinForms.SelectingTextColor = SystemColors.ControlText;
    this.gvcWinForms.SelectedHighlightTextColor = SystemColors.ControlText;																				 
    
    // Create and add the GroupViewItem objects.
    this.gvcWinForms.GroupViewItems.AddRange(
    	new Syncfusion.Windows.Forms.Tools.GroupViewItem[] {
    															   new Syncfusion.Windows.Forms.Tools.GroupViewItem("Pointer", 11),
    															   new Syncfusion.Windows.Forms.Tools.GroupViewItem("Label", 12),
    															   new Syncfusion.Windows.Forms.Tools.GroupViewItem("LinkLabel", 13)});
    
    // Provide a handler for the GroupView.GroupViewItemSelected event.
    this.gvcWinForms.GroupViewItemSelected += new System.EventHandler(this.gvcWinForms_GroupViewItemSelected);																	   
    

    }

    // GroupView.GroupViewItemSelected event handler. private void gvcWinForms_GroupViewItemSelected(object sender, System.EventArgs e) { MessageBox.Show(String.Concat("Selected Item Index = ", this.gvcWinForms.SelectedItem.ToString())); }

    Private Sub InitializeGroupView()
    
    	' Create the GroupView control
    	Me.gvcWinForms = New Syncfusion.Windows.Forms.Tools.GroupView()
    
    	' Set the large and small ImageLists
    	Me.gvcWinForms.LargeImageList = Me.ilGroupBarLarge
    	Me.gvcWinForms.SmallImageList = Me.ilGroupBarSmall
    
    	' Set the GroupView properties to display as a VS.NET Toolbox type window
    	Me.gvcWinForms.SmallImageView = True
    	Me.gvcWinForms.HighlightText = True
    	Me.gvcWinForms.ButtonView = True
    	Me.gvcWinForms.FlowView = False
    	Me.gvcWinForms.FlatLook = False
    	Me.gvcWinForms.TextWrap = False
    
    	Me.gvcWinForms.ImageSpacing = 2
    	Me.gvcWinForms.ItemXSpacing = 8
    	Me.gvcWinForms.ItemYSpacing = 1
    
    	Me.gvcWinForms.BackColor = SystemColors.Control
    	Me.gvcWinForms.ForeColor = SystemColors.ControlText
    
    	Me.gvcWinForms.HighlightItemColor = SystemColors.Control
    	Me.gvcWinForms.SelectingItemColor = ControlPaint.Light(SystemColors.ControlLight)
    	Me.gvcWinForms.SelectedItemColor = ControlPaint.Light(SystemColors.ControlLight)
    	Me.gvcWinForms.SelectedHighlightItemColor = SystemColors.Control
    
    	Me.gvcWinForms.SelectingTextColor = SystemColors.ControlText
    	Me.gvcWinForms.SelectedHighlightTextColor = SystemColors.ControlText																				 
    
        ' Create and add the GroupViewItem objects.
        Me.gvcWinForms.GroupViewItems.AddRange(New Syncfusion.Windows.Forms.Tools.GroupViewItem() {New Syncfusion.Windows.Forms.Tools.GroupViewItem("Pointer", 11), New Syncfusion.Windows.Forms.Tools.GroupViewItem("Label", 12), New Syncfusion.Windows.Forms.Tools.GroupViewItem("LinkLabel", 13)})
    
        ' Handle the GroupView.GroupViewItemSelected event.
        AddHandler Me.gvcWinForms.GroupViewItemSelected, New System.EventHandler(AddressOf gvcWinForms_GroupViewItemSelected)
    
    End Sub
    
     ' GroupView.GroupViewItemSelected event handler.
    Private Sub gvcWinForms_GroupViewItemSelected(ByVal sender As Object, ByVal e As System.EventArgs)
    
        MessageBox.Show([String].Concat("Selected Item Index = ", Me.gvcWinForms.SelectedItem.ToString()))
    
    End Sub 'gvcWinForms_GroupViewItemSelected

    Constructors

    GroupView()

    Creates a new instance of the GroupView control.

    Declaration
    public GroupView()

    Fields

    bAllowDragDrop

    Declaration
    protected bool bAllowDragDrop
    Field Value
    Type Description
    System.Boolean

    bButtonView

    Declaration
    protected bool bButtonView
    Field Value
    Type Description
    System.Boolean

    bClipSelectionBounds

    Declaration
    protected bool bClipSelectionBounds
    Field Value
    Type Description
    System.Boolean

    bDownScrlButton

    Declaration
    protected bool bDownScrlButton
    Field Value
    Type Description
    System.Boolean

    bdrStyle

    Declaration
    protected BorderStyle bdrStyle
    Field Value
    Type Description
    System.Windows.Forms.BorderStyle

    bFlatLook

    Declaration
    protected bool bFlatLook
    Field Value
    Type Description
    System.Boolean

    bFlowView

    Declaration
    protected bool bFlowView
    Field Value
    Type Description
    System.Boolean

    bHighlightImage

    Declaration
    protected bool bHighlightImage
    Field Value
    Type Description
    System.Boolean

    bHighlightItemSet

    Declaration
    protected bool bHighlightItemSet
    Field Value
    Type Description
    System.Boolean

    bHighlightText

    Declaration
    protected bool bHighlightText
    Field Value
    Type Description
    System.Boolean

    bHighlightTextSet

    Declaration
    protected bool bHighlightTextSet
    Field Value
    Type Description
    System.Boolean

    bIntegratedScrolling

    Declaration
    protected bool bIntegratedScrolling
    Field Value
    Type Description
    System.Boolean

    brBackGround

    Declaration
    protected Brush brBackGround
    Field Value
    Type Description
    System.Drawing.Brush

    brHighlightItem

    Declaration
    protected Brush brHighlightItem
    Field Value
    Type Description
    System.Drawing.Brush

    brSelectedHighlightItem

    Declaration
    protected Brush brSelectedHighlightItem
    Field Value
    Type Description
    System.Drawing.Brush

    brSelectedItem

    Declaration
    protected Brush brSelectedItem
    Field Value
    Type Description
    System.Drawing.Brush

    brSelectingItem

    Declaration
    protected Brush brSelectingItem
    Field Value
    Type Description
    System.Drawing.Brush

    bSelectedHighlightItemSet

    Declaration
    protected bool bSelectedHighlightItemSet
    Field Value
    Type Description
    System.Boolean

    bSelectedHighlightTextSet

    Declaration
    protected bool bSelectedHighlightTextSet
    Field Value
    Type Description
    System.Boolean

    bSelectedItemSet

    Declaration
    protected bool bSelectedItemSet
    Field Value
    Type Description
    System.Boolean

    bSelectedTextSet

    Declaration
    protected bool bSelectedTextSet
    Field Value
    Type Description
    System.Boolean

    bSelectingItemSet

    Declaration
    protected bool bSelectingItemSet
    Field Value
    Type Description
    System.Boolean

    bSelectingTextSet

    Declaration
    protected bool bSelectingTextSet
    Field Value
    Type Description
    System.Boolean

    bSmallImageView

    Declaration
    protected bool bSmallImageView
    Field Value
    Type Description
    System.Boolean

    bTextUnderline

    Declaration
    protected bool bTextUnderline
    Field Value
    Type Description
    System.Boolean

    bTextWrap

    Declaration
    protected bool bTextWrap
    Field Value
    Type Description
    System.Boolean

    bThemesEnabled

    Declaration
    protected bool bThemesEnabled
    Field Value
    Type Description
    System.Boolean

    bUpScrlButton

    Declaration
    protected bool bUpScrlButton
    Field Value
    Type Description
    System.Boolean

    cllnGroupViewItems

    Declaration
    protected GroupView.GroupViewItemCollection cllnGroupViewItems
    Field Value
    Type Description
    GroupView.GroupViewItemCollection

    clrHighlightText

    Declaration
    protected Color clrHighlightText
    Field Value
    Type Description
    System.Drawing.Color

    clrSelectedHighlightText

    Declaration
    protected Color clrSelectedHighlightText
    Field Value
    Type Description
    System.Drawing.Color

    clrSelectedText

    Declaration
    protected Color clrSelectedText
    Field Value
    Type Description
    System.Drawing.Color

    clrSelectingText

    Declaration
    protected Color clrSelectingText
    Field Value
    Type Description
    System.Drawing.Color

    ctrlTextBox

    Declaration
    protected RenameTextBox ctrlTextBox
    Field Value
    Type Description
    RenameTextBox

    ctrlToolTip

    Declaration
    protected ToolTipForm ctrlToolTip
    Field Value
    Type Description
    ToolTipForm

    defLargeImgSize

    Declaration
    protected readonly Size defLargeImgSize
    Field Value
    Type Description
    System.Drawing.Size

    defSmallImgSize

    Declaration
    protected readonly Size defSmallImgSize
    Field Value
    Type Description
    System.Drawing.Size

    dfGroupViewItem

    Declaration
    protected static DataFormats.Format dfGroupViewItem
    Field Value
    Type Description
    System.Windows.Forms.DataFormats.Format

    GroupViewFormatName

    Specifies the name of the custom System.Windows.Forms.DataFormats.Format type used for GroupViewItem drag-and-drop.

    Declaration
    public const string GroupViewFormatName = "GroupViewItemDataFormat"
    Field Value
    Type Description
    System.String

    ilLarge

    Declaration
    protected ImageList ilLarge
    Field Value
    Type Description
    System.Windows.Forms.ImageList

    ilSmall

    Declaration
    protected ImageList ilSmall
    Field Value
    Type Description
    System.Windows.Forms.ImageList

    itemAccessibleObjects

    Declaration
    protected GroupViewItemAccessibleObjectsIndexer itemAccessibleObjects
    Field Value
    Type Description
    GroupViewItemAccessibleObjectsIndexer

    nContextMenuItem

    Declaration
    protected int nContextMenuItem
    Field Value
    Type Description
    System.Int32

    nDragItem

    Declaration
    protected int nDragItem
    Field Value
    Type Description
    System.Int32

    nDropItem

    Declaration
    protected int nDropItem
    Field Value
    Type Description
    System.Int32

    nHighlightedItem

    Declaration
    protected int nHighlightedItem
    Field Value
    Type Description
    System.Int32

    nImageSpacing

    Declaration
    protected int nImageSpacing
    Field Value
    Type Description
    System.Int32

    nItemsPerRow

    Declaration
    protected int nItemsPerRow
    Field Value
    Type Description
    System.Int32

    nItemXSpacing

    Declaration
    protected int nItemXSpacing
    Field Value
    Type Description
    System.Int32

    nItemYSpacing

    Declaration
    protected int nItemYSpacing
    Field Value
    Type Description
    System.Int32

    nPrevSelected

    Declaration
    protected int nPrevSelected
    Field Value
    Type Description
    System.Int32

    nRenameItem

    Declaration
    protected int nRenameItem
    Field Value
    Type Description
    System.Int32

    nScrllBttnOffset

    Declaration
    protected const int nScrllBttnOffset = 21
    Field Value
    Type Description
    System.Int32

    nSelectedItem

    Declaration
    protected int nSelectedItem
    Field Value
    Type Description
    System.Int32

    nTextSpacing

    Declaration
    protected int nTextSpacing
    Field Value
    Type Description
    System.Int32

    nTopIndex

    Declaration
    protected int nTopIndex
    Field Value
    Type Description
    System.Int32

    ptDragStart

    Declaration
    protected static Point ptDragStart
    Field Value
    Type Description
    System.Drawing.Point

    ptHighlightImageOffset

    Declaration
    protected Point ptHighlightImageOffset
    Field Value
    Type Description
    System.Drawing.Point

    ptHighlightTextOffset

    Declaration
    protected Point ptHighlightTextOffset
    Field Value
    Type Description
    System.Drawing.Point

    ptSelectedHighlightImageOffset

    Declaration
    protected Point ptSelectedHighlightImageOffset
    Field Value
    Type Description
    System.Drawing.Point

    ptSelectedHighlightTextOffset

    Declaration
    protected Point ptSelectedHighlightTextOffset
    Field Value
    Type Description
    System.Drawing.Point

    ptSelectedImageOffset

    Declaration
    protected Point ptSelectedImageOffset
    Field Value
    Type Description
    System.Drawing.Point

    ptSelectedTextOffset

    Declaration
    protected Point ptSelectedTextOffset
    Field Value
    Type Description
    System.Drawing.Point

    ptSelectingImageOffset

    Declaration
    protected Point ptSelectingImageOffset
    Field Value
    Type Description
    System.Drawing.Point

    ptSelectingTextOffset

    Declaration
    protected Point ptSelectingTextOffset
    Field Value
    Type Description
    System.Drawing.Point

    rcHighlightedItem

    Declaration
    protected Rectangle rcHighlightedItem
    Field Value
    Type Description
    System.Drawing.Rectangle

    rcPrevSelected

    Declaration
    protected Rectangle rcPrevSelected
    Field Value
    Type Description
    System.Drawing.Rectangle

    rcSelectedItem

    Declaration
    protected Rectangle rcSelectedItem
    Field Value
    Type Description
    System.Drawing.Rectangle

    scrllBtnState

    Declaration
    protected GroupView.ScrollButtonState scrllBtnState
    Field Value
    Type Description
    GroupView.ScrollButtonState

    tdScrollBar

    Declaration
    protected ThemedControlDrawing tdScrollBar
    Field Value
    Type Description
    ThemedControlDrawing

    tdToolbar

    Declaration
    protected ThemedControlDrawing tdToolbar
    Field Value
    Type Description
    ThemedControlDrawing

    tmrScrolling

    Declaration
    protected Timer tmrScrolling
    Field Value
    Type Description
    System.Windows.Forms.Timer

    Properties

    AllowDragAnyObject

    Gets or sets allow drag any object. For use this property AllowDragDrop must be true.

    Declaration
    public bool AllowDragAnyObject { get; set; }
    Property Value
    Type Description
    System.Boolean

    AllowDragDrop

    Indicates whether the control supports drag-and-drop of GroupViewItem objects.

    Declaration
    public bool AllowDragDrop { get; set; }
    Property Value
    Type Description
    System.Boolean

    AllowDrop

    Gets a value indicating whether the control supports drop.

    Declaration
    public override bool AllowDrop { get; set; }
    Property Value
    Type Description
    System.Boolean

    BackGroundBrush

    Gets or sets the brush used for drawing the GroupView control background.

    Declaration
    public Brush BackGroundBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    A System.Drawing.Brush value.

    BeforeTouchSize

    Gets/Sets Control size before touch enabled

    Declaration
    public Size BeforeTouchSize { get; set; }
    Property Value
    Type Description
    System.Drawing.Size

    BorderStyle

    Gets or sets the border style of the GroupView control.

    Declaration
    public BorderStyle BorderStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.BorderStyle

    A System.Windows.Forms.BorderStyle value. The default is BorderStyle.Fixed3D.

    ButtonView

    Indicates whether items are drawn with a button-type flat look upon selection.

    Declaration
    public bool ButtonView { get; set; }
    Property Value
    Type Description
    System.Boolean

    True if the button-type selection is set. The default is False.

    ClipSelectionBounds

    Indicates whether the selection bounds of a GroupViewItem are clipped around its image and text.

    Declaration
    public bool ClipSelectionBounds { get; set; }
    Property Value
    Type Description
    System.Boolean

    A Boolean value. The default is False.

    ContextMenuItem

    Returns the index of GroupViewItem that triggered the ShowContextMenu event.

    Declaration
    public int ContextMenuItem { get; }
    Property Value
    Type Description
    System.Int32

    The zero-based index of the item.

    CreateParams

    Declaration
    protected override CreateParams CreateParams { get; }
    Property Value
    Type Description
    System.Windows.Forms.CreateParams

    DownScrlBtnRect

    Declaration
    protected virtual Rectangle DownScrlBtnRect { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    EnableTouchMode

    Gets or Sets the touchmode

    Declaration
    public bool EnableTouchMode { get; set; }
    Property Value
    Type Description
    System.Boolean

    FlatLook

    Indicates whether the GroupView control is displayed with a flat look.

    Declaration
    public bool FlatLook { get; set; }
    Property Value
    Type Description
    System.Boolean

    True to display in flat mode. The default is False.

    FlowView

    Indicates whether the flow view display mode is set.

    Declaration
    public bool FlowView { get; set; }
    Property Value
    Type Description
    System.Boolean

    True if flow view is set. The default is False.

    Remarks

    In the default display mode, the GroupView control items are arranged top-down in list form. In the flow mode, however, item images are arranged side by side for the full width of the control. Resizing the control will wrap the images. Text will not be displayed in this mode, unless the ShowFlowViewItemText property set to True.

    FlowViewItemTextLength

    Gets or sets the GroupViewItem's text length in FlowView mode.

    Declaration
    public int FlowViewItemTextLength { get; set; }
    Property Value
    Type Description
    System.Int32

    An integer value.

    Font

    Gets or sets the System.Drawing.Font value of the GroupView control.

    Declaration
    public override Font Font { get; set; }
    Property Value
    Type Description
    System.Drawing.Font

    GroupViewItems

    Gets / sets the collection of GroupViewItem objects in the control.

    Declaration
    public GroupView.GroupViewItemCollection GroupViewItems { get; set; }
    Property Value
    Type Description
    GroupView.GroupViewItemCollection

    An instance of the GroupView.GroupViewItemCollection type.

    gviAccessibleObjects

    Declaration
    protected GroupViewItemAccessibleObjectsIndexer gviAccessibleObjects { get; }
    Property Value
    Type Description
    GroupViewItemAccessibleObjectsIndexer

    HighlightedItem

    Returns the GroupViewItem over which the mouse cursor is hovering.

    Declaration
    public int HighlightedItem { get; }
    Property Value
    Type Description
    System.Int32

    The zero-based index of the item under the cursor. -1 if no item is being highlighted.

    HighlightImage

    Gets / sets a value indicating whether the GroupViewItem image is highlighted when the mouse is moved over it.

    Declaration
    public bool HighlightImage { get; set; }
    Property Value
    Type Description
    System.Boolean

    False if image highlighting is disabled. The default is True.

    HighlightImageOffset

    Gets or sets the distance by which the GroupViewItem image is offset when the mouse is moved over it.

    Declaration
    public Point HighlightImageOffset { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    A System.Drawing.Point value.

    HighlightItemBrush

    Gets or sets the brush used for drawing the background of the highlighted GroupViewItem.

    Declaration
    public Brush HighlightItemBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    A System.Drawing.Brush value.

    HighlightItemColor

    Gets or sets the color used for drawing the background of a GroupViewItem when the mouse is moved over it.

    Declaration
    public Color HighlightItemColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    A System.Drawing.Color value.

    HighlightText

    Indicates whether the GroupViewItem text is highlighted when the mouse is moved over it.

    Declaration
    public bool HighlightText { get; set; }
    Property Value
    Type Description
    System.Boolean

    False if text highlighting is disabled. The default is True.

    HighlightTextColor

    Gets or sets the color used for drawing the GroupViewItem text when the mouse is moved over it.

    Declaration
    public Color HighlightTextColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    A System.Drawing.Color value.

    HighlightTextOffset

    Gets or sets the distance by which the GroupViewItem text is offset when the mouse is moved over it.

    Declaration
    public Point HighlightTextOffset { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    A System.Drawing.Point value.

    ImageSpacing

    Gets or sets the height between the highlighted edge of a GroupViewItem and the image.

    Declaration
    public int ImageSpacing { get; set; }
    Property Value
    Type Description
    System.Int32

    An integer value.

    Remarks

    In FlowView mode, the ImageSpacing value also dictates the horizontal distance between the highlighted edge and the image.

    IntegratedScrolling

    Indicates whether scrolling should be delegated to the GroupView control's parent.

    Declaration
    public bool IntegratedScrolling { get; set; }
    Property Value
    Type Description
    System.Boolean

    True to enable integrated scrolling. The default is False.

    Remarks

    This option is primarily intended for use with the Syncfusion GroupBar control. When this option is set, the GroupView control delegates scrolling behavior to the parent GroupBar control. When IntegratedScrolling is set to False, the control provides its own scroll buttons.

    See Also
    IntegratedScrolling

    ItemXSpacing

    Gets / sets the horizontal distance between a GroupViewItem and the control's left border.

    Declaration
    public int ItemXSpacing { get; set; }
    Property Value
    Type Description
    System.Int32

    An integer value.

    Remarks

    This attribute is valid only when SmallImageView is True. In large image view, the items are drawn centered.

    ItemYSpacing

    Gets / sets the height between adjacent GroupViewItems.

    Declaration
    public int ItemYSpacing { get; set; }
    Property Value
    Type Description
    System.Int32

    An integer value.

    LargeImageList

    Gets / sets the image list containing the large (32x32) images.

    Declaration
    public ImageList LargeImageList { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.ImageList

    An ImageList type.

    Remarks

    SmallImageList

    MetroBorderColor

    Gets / sets the color used for drawing the Metro style border GroupViewItem

    Declaration
    public Color MetroBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    A System.Drawing.Color value.

    Office2016ColorScheme

    Gets or sets the office2016 colorscheme

    Declaration
    public GroupViewOffice2016ColorScheme Office2016ColorScheme { get; set; }
    Property Value
    Type Description
    GroupViewOffice2016ColorScheme

    Orientation

    Gets or sets GroupViev orientation.

    Declaration
    public GroupViewOrientation Orientation { get; set; }
    Property Value
    Type Description
    GroupViewOrientation

    SelectedHighlightImageOffset

    Gets / sets the distance by which the selected GroupViewItem image is offset when the mouse is moved over it.

    Declaration
    public Point SelectedHighlightImageOffset { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    A System.Drawing.Point value.

    SelectedHighlightItemColor

    Gets / sets the color used for drawing the background of the selected GroupViewItem when the mouse is moved over it.

    Declaration
    public Color SelectedHighlightItemColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    A System.Drawing.Color value.

    SelectedHighlightTextColor

    Gets / sets the color used for drawing the selected GroupViewItem text when the mouse is moved over it.

    Declaration
    public Color SelectedHighlightTextColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    A System.Drawing.Color value.

    SelectedHighlightTextOffset

    Gets / sets the distance by which the selected GroupViewItem text is offset when the mouse is moved over it.

    Declaration
    public Point SelectedHighlightTextOffset { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    A System.Drawing.Point value.

    SelectedImageOffset

    Gets / sets the distance by which the GroupViewItem image is offset when it is selected.

    Declaration
    public Point SelectedImageOffset { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    A System.Drawing.Point value.

    SelectedItem

    Gets / sets the index of the currently selected GroupViewItem.

    Declaration
    public int SelectedItem { get; set; }
    Property Value
    Type Description
    System.Int32

    The zero-based index of the selected item. -1 if a selected item is not available.

    SelectedItemBrush

    Gets or sets the brush used for drawing the background of the selected GroupViewItem.

    Declaration
    public Brush SelectedItemBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    A System.Drawing.Brush value.

    SelectedItemColor

    Gets / sets the color used for drawing the background of the selected GroupViewItem.

    Declaration
    public Color SelectedItemColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    A System.Drawing.Color value.

    SelectedItemHighlightBrush

    Gets or sets the brush used for drawing the background of the selected GroupViewItem when the mouse is moved over it.

    Declaration
    public Brush SelectedItemHighlightBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    A System.Drawing.Brush value.

    SelectedTextColor

    Gets / sets the color used for drawing the selected GroupViewItem text.

    Declaration
    public Color SelectedTextColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    A System.Drawing.Color value.

    SelectedTextOffset

    Gets / sets the distance by which the GroupViewItem text is offset when it is selected.

    Declaration
    public Point SelectedTextOffset { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    A System.Drawing.Point value.

    SelectingImageOffset

    Gets / sets the distance by which the GroupViewItem image is offset when it is being selected.

    Declaration
    public Point SelectingImageOffset { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    A System.Drawing.Point value.

    SelectingItemBrush

    Gets or sets the brush used for drawing the background of the GroupViewItem being selected.

    Declaration
    public Brush SelectingItemBrush { get; set; }
    Property Value
    Type Description
    System.Drawing.Brush

    A System.Drawing.Brush value.

    SelectingItemColor

    Gets / sets the color used for drawing the background of the GroupViewItem being selected.

    Declaration
    public Color SelectingItemColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    A System.Drawing.Color value.

    SelectingTextColor

    Gets / sets the color used for drawing the GroupViewItem text while it is being selected.

    Declaration
    public Color SelectingTextColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    A System.Drawing.Color value.

    SelectingTextOffset

    Gets / sets the distance by which the GroupViewItem text is offset when it is being selected.

    Declaration
    public Point SelectingTextOffset { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    A System.Drawing.Point value.

    ShowFlowViewItemText

    Indicates whether control should show GroupViewItem text in FlowView mode.

    Declaration
    public bool ShowFlowViewItemText { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    True if should show text. The default is False.

    ShowToolTips

    Gets or sets whether tooltips for GroupViewItems should be shown or not. Use property to get\set ToolTip text.

    Declaration
    public bool ShowToolTips { get; set; }
    Property Value
    Type Description
    System.Boolean

    SmallImageList

    Gets / sets the image list containing the small (16x16) images.

    Declaration
    public ImageList SmallImageList { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.ImageList

    An ImageList type.

    Remarks

    LargeImageList

    SmallImageView

    Indicates whether the control displays items using the images in the SmallImageList.

    Declaration
    public bool SmallImageView { get; set; }
    Property Value
    Type Description
    System.Boolean

    True if the small image mode is set. The default is False.

    Style

    Gets or sets the style

    Declaration
    public Appearance Style { get; set; }
    Property Value
    Type Description
    Appearance

    TextSpacing

    Gets / sets the distance between the GroupViewItem image and the text.

    Declaration
    public int TextSpacing { get; set; }
    Property Value
    Type Description
    System.Int32

    An integer value.

    Remarks

    In large icon mode, this attribute represents the vertical distance between the GroupViewItem image and the text, while in small icon mode, it represents the horizontal distance between the two.

    TextUnderline

    Indicates whether the GroupViewItem text is underlined when the mouse is moved over it.

    Declaration
    public bool TextUnderline { get; set; }
    Property Value
    Type Description
    System.Boolean

    True if text underlining is enabled. The default is False.

    TextWrap

    Indicates whether the GroupViewItem text should be wrapped.

    Declaration
    public bool TextWrap { get; set; }
    Property Value
    Type Description
    System.Boolean

    True to turn on wrapping. The default is False.

    Remarks

    Text wrapping is available only with the large icon display mode.

    ThemesEnabled

    Indicates whether XP Themes (visual styles) should be used for drawing the control.

    Declaration
    public bool ThemesEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    True to turn on themes; the default is False.

    ThemeStyle

    Gets or sets the GroupViewVisualStyle value used to customize the appearance of the GroupView.

    Declaration
    public GroupViewVisualStyle ThemeStyle { get; set; }
    Property Value
    Type Description
    GroupViewVisualStyle
    Remarks

    This ThemeStyle settings will be applied only when the VisualStyleBased theme has been applied to the control.

    TimerScrollInterval

    Declaration
    public int TimerScrollInterval { get; set; }
    Property Value
    Type Description
    System.Int32

    UpScrlBtnRect

    Declaration
    protected virtual Rectangle UpScrlBtnRect { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Methods

    ApplyScaleToControl(Single)

    Applies the scaling

    Declaration
    public void ApplyScaleToControl(float scaleFactor)
    Parameters
    Type Name Description
    System.Single scaleFactor

    BringItemIntoView(Int32)

    Brings the specified GroupViewItem into the visible area of the GroupView control.

    Declaration
    public void BringItemIntoView(int nindex)
    Parameters
    Type Name Description
    System.Int32 nindex

    The zero-based index of the item.

    CalculateItemsPerPage()

    Declaration
    protected int CalculateItemsPerPage()
    Returns
    Type Description
    System.Int32

    CalculateItemsPerRow()

    Declaration
    protected void CalculateItemsPerRow()

    CancelInplaceRenameItem()

    Cancels an inplace renaming that is in progress.

    Declaration
    public void CancelInplaceRenameItem()
    See Also
    InplaceRenameItem(Int32)

    CreateAccessibilityInstance()

    Declaration
    protected override AccessibleObject CreateAccessibilityInstance()
    Returns
    Type Description
    System.Windows.Forms.AccessibleObject

    CreateGroupViewItemAccessibilityInstance(Int32)

    Declaration
    protected GroupViewItemAccessibleObject CreateGroupViewItemAccessibilityInstance(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    GroupViewItemAccessibleObject

    Dispose(Boolean)

    Overridden. See System.Windows.Forms.Control.Dispose(System.Boolean).

    Declaration
    protected override void Dispose(bool bdispose)
    Parameters
    Type Name Description
    System.Boolean bdispose

    DoScroll(Boolean, Boolean)

    Declaration
    protected virtual void DoScroll(bool bscrllup, bool bsettimer)
    Parameters
    Type Name Description
    System.Boolean bscrllup
    System.Boolean bsettimer

    DrawAllItems(Graphics)

    Declaration
    protected virtual void DrawAllItems(Graphics gph)
    Parameters
    Type Name Description
    System.Drawing.Graphics gph

    DrawDragDropFlowInsert(Int32, Int32, GroupView.DragDropInsert, Boolean)

    Declaration
    protected virtual void DrawDragDropFlowInsert(int posX, int posY, GroupView.DragDropInsert insert, bool berase)
    Parameters
    Type Name Description
    System.Int32 posX
    System.Int32 posY
    GroupView.DragDropInsert insert
    System.Boolean berase

    DrawDragDropNonFlowInsert(Int32, GroupView.DragDropInsert, Boolean)

    Declaration
    protected virtual void DrawDragDropNonFlowInsert(int inspos, GroupView.DragDropInsert insert, bool berase)
    Parameters
    Type Name Description
    System.Int32 inspos
    GroupView.DragDropInsert insert
    System.Boolean berase

    DrawFlowScrollButtons(Graphics)

    Declaration
    protected virtual void DrawFlowScrollButtons(Graphics gph)
    Parameters
    Type Name Description
    System.Drawing.Graphics gph

    DrawItem(Graphics, Int32, Rectangle, GroupView.ItemState)

    Declaration
    protected virtual void DrawItem(Graphics gph, int nindex, Rectangle rc, GroupView.ItemState state)
    Parameters
    Type Name Description
    System.Drawing.Graphics gph
    System.Int32 nindex
    System.Drawing.Rectangle rc
    GroupView.ItemState state

    DrawItemHighlight(Graphics, Int32, Rectangle, GroupView.ItemState)

    Draws the highlighting of GroupViewitem.

    Declaration
    protected virtual void DrawItemHighlight(Graphics gph, int nindex, Rectangle rcitem, GroupView.ItemState state)
    Parameters
    Type Name Description
    System.Drawing.Graphics gph

    A System.Drawing.Graphics object.

    System.Int32 nindex

    The index of the groupViewItem.

    System.Drawing.Rectangle rcitem

    A System.Drawing.Rectangle value specifying the GroupViewItem bounds.

    GroupView.ItemState state

    The state of the item.

    DrawNonFlowScrollButtons(Graphics)

    Declaration
    protected virtual void DrawNonFlowScrollButtons(Graphics gfxDC)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfxDC

    DrawText(Graphics, Int32, Rectangle, GroupView.ItemState)

    Declaration
    protected virtual void DrawText(Graphics gph, int nindex, Rectangle rc, GroupView.ItemState state)
    Parameters
    Type Name Description
    System.Drawing.Graphics gph
    System.Int32 nindex
    System.Drawing.Rectangle rc
    GroupView.ItemState state

    FireGroupViewItemSelectedEvent(Int32)

    Declaration
    protected void FireGroupViewItemSelectedEvent(int nindex)
    Parameters
    Type Name Description
    System.Int32 nindex

    GetAdjustedHighlightBounds(Int32, Rectangle)

    Declaration
    protected Rectangle GetAdjustedHighlightBounds(int nindex, Rectangle rchighlight)
    Parameters
    Type Name Description
    System.Int32 nindex
    System.Drawing.Rectangle rchighlight
    Returns
    Type Description
    System.Drawing.Rectangle

    GetAdjustedTextBounds(Int32, Rectangle)

    Declaration
    protected virtual Rectangle GetAdjustedTextBounds(int nindex, Rectangle rcItem)
    Parameters
    Type Name Description
    System.Int32 nindex
    System.Drawing.Rectangle rcItem
    Returns
    Type Description
    System.Drawing.Rectangle

    GetControlName(String)

    Helps to apply the ControlName settings for GroupView.

    Declaration
    public override string GetControlName(string controlName)
    Parameters
    Type Name Description
    System.String controlName
    Returns
    Type Description
    System.String
    Overrides
    BaseControl.GetControlName(String)

    GetGroupViewItemBounds(Int32, String)

    Declaration
    protected Rectangle GetGroupViewItemBounds(int nindex, string type)
    Parameters
    Type Name Description
    System.Int32 nindex
    System.String type
    Returns
    Type Description
    System.Drawing.Rectangle

    GetIsMirrored()

    Declaration
    protected bool GetIsMirrored()
    Returns
    Type Description
    System.Boolean

    GetItemAt(Point)

    Get GroupViewItem which is under mouse pointer

    Declaration
    public GroupViewItem GetItemAt(Point pt)
    Parameters
    Type Name Description
    System.Drawing.Point pt

    Represent mouse pointer

    Returns
    Type Description
    GroupViewItem

    GetItemUnderPoint(Point)

    Declaration
    public int GetItemUnderPoint(Point pt)
    Parameters
    Type Name Description
    System.Drawing.Point pt
    Returns
    Type Description
    System.Int32

    GroupView_RenameComplete(Object, RenameCompleteEventArgs)

    Declaration
    protected void GroupView_RenameComplete(object sender, RenameCompleteEventArgs arg)
    Parameters
    Type Name Description
    System.Object sender
    RenameCompleteEventArgs arg

    GroupView_TextChanged(Object, EventArgs)

    Declaration
    protected void GroupView_TextChanged(object sender, EventArgs e)
    Parameters
    Type Name Description
    System.Object sender
    System.EventArgs e

    HandleMouseDown(MouseButtons, Point)

    Declaration
    protected virtual void HandleMouseDown(MouseButtons button, Point pt)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseButtons button
    System.Drawing.Point pt

    HandleMouseUp(MouseButtons, Point)

    Declaration
    protected virtual void HandleMouseUp(MouseButtons button, Point pt)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseButtons button
    System.Drawing.Point pt

    InplaceRenameItem(Int32)

    Starts an in-place edit of the specified GroupViewItem text.

    Declaration
    public virtual void InplaceRenameItem(int nindex)
    Parameters
    Type Name Description
    System.Int32 nindex

    The zero-based index of the item to be renamed.

    Remarks

    Invoking this method will create an editable text box and and populate it with the item text. Editing the textbox contents and selecting ENTER will update the item text. Selecting ESC will cancel the edit.

    See Also
    CancelInplaceRenameItem()

    IsMouseOverItem(Int32, Rectangle, Point)

    Declaration
    protected bool IsMouseOverItem(int nindex, Rectangle rchighlight, Point ptmouse)
    Parameters
    Type Name Description
    System.Int32 nindex
    System.Drawing.Rectangle rchighlight
    System.Drawing.Point ptmouse
    Returns
    Type Description
    System.Boolean

    Layout()

    Declaration
    protected virtual void Layout()

    MeasureText(Int32, Rectangle)

    Declaration
    protected SizeF MeasureText(int nindex, Rectangle rc)
    Parameters
    Type Name Description
    System.Int32 nindex
    System.Drawing.Rectangle rc
    Returns
    Type Description
    System.Drawing.SizeF

    OnBackColorChanged(EventArgs)

    Overridden. See System.Windows.Forms.Control.OnBackColorChanged(System.EventArgs).

    Declaration
    protected override void OnBackColorChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnClick(EventArgs)

    Declaration
    protected override void OnClick(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnDragDrop(DragEventArgs)

    Overridden. See System.Windows.Forms.Control.OnDragDrop(System.Windows.Forms.DragEventArgs).

    Declaration
    protected override void OnDragDrop(DragEventArgs drgevent)
    Parameters
    Type Name Description
    System.Windows.Forms.DragEventArgs drgevent

    OnDragEnter(DragEventArgs)

    Overridden. See System.Windows.Forms.Control.OnDragEnter(System.Windows.Forms.DragEventArgs).

    Declaration
    protected override void OnDragEnter(DragEventArgs drgevent)
    Parameters
    Type Name Description
    System.Windows.Forms.DragEventArgs drgevent

    OnDragLeave(EventArgs)

    Overridden. See System.Windows.Forms.Control.OnDragLeave(System.EventArgs).

    Declaration
    protected override void OnDragLeave(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnDragOver(DragEventArgs)

    Overridden. See System.Windows.Forms.Control.OnDragOver(System.Windows.Forms.DragEventArgs).

    Declaration
    protected override void OnDragOver(DragEventArgs drgevent)
    Parameters
    Type Name Description
    System.Windows.Forms.DragEventArgs drgevent

    OnFontChanged(EventArgs)

    Font changed

    Declaration
    protected override void OnFontChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnForeColorChanged(EventArgs)

    Overridden. See System.Windows.Forms.Control.OnForeColorChanged(System.EventArgs).

    Declaration
    protected override void OnForeColorChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnGroupViewItemDoubleClick(GroupViewItemDoubleClickEventArgs)

    Raises the GroupView Item double click event.

    Declaration
    protected virtual void OnGroupViewItemDoubleClick(GroupViewItemDoubleClickEventArgs arg)
    Parameters
    Type Name Description
    GroupViewItemDoubleClickEventArgs arg

    GroupViewItemDoubleClickEventArgs

    OnGroupViewItemHighlighted(EventArgs)

    Raises the GroupViewItemHighlighted event.

    Declaration
    protected virtual void OnGroupViewItemHighlighted(EventArgs arg)
    Parameters
    Type Name Description
    System.EventArgs arg

    A System.EventArgs value that contains the event data.

    OnGroupViewItemRenamed(GroupItemRenamedEventArgs)

    Raises the GroupViewItemRenamed event.

    Declaration
    protected virtual void OnGroupViewItemRenamed(GroupItemRenamedEventArgs arg)
    Parameters
    Type Name Description
    GroupItemRenamedEventArgs arg

    A GroupItemRenamedEventArgs value that contains the event data.

    OnGroupViewItemSelected(EventArgs)

    Raises the GroupViewItemSelected event.

    Declaration
    protected virtual void OnGroupViewItemSelected(EventArgs arg)
    Parameters
    Type Name Description
    System.EventArgs arg

    A System.EventArgs value that contains the event data.

    OnGroupViewItemsReordered(EventArgs)

    Raises the GroupViewItemsReordered event.

    Declaration
    protected virtual void OnGroupViewItemsReordered(EventArgs arg)
    Parameters
    Type Name Description
    System.EventArgs arg

    A System.EventArgs value that contains the event data.

    OnLostFocus(EventArgs)

    Declaration
    protected override void OnLostFocus(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnMouseDown(MouseEventArgs)

    Overridden. See System.Windows.Forms.Control.OnMouseDown(System.Windows.Forms.MouseEventArgs).

    Declaration
    protected override void OnMouseDown(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnMouseHover(EventArgs)

    Called by the tab control when mouse hovers on the control.

    Declaration
    protected override void OnMouseHover(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    The System.EventArgs instance containing the event data.

    OnMouseLeave(EventArgs)

    Overridden. See System.Windows.Forms.Control.OnMouseLeave(System.EventArgs).

    Declaration
    protected override void OnMouseLeave(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnMouseMove(MouseEventArgs)

    Overridden. See System.Windows.Forms.Control.OnMouseMove(System.Windows.Forms.MouseEventArgs).

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnMouseUp(MouseEventArgs)

    Overridden. See System.Windows.Forms.Control.OnMouseUp(System.Windows.Forms.MouseEventArgs).

    Declaration
    protected override void OnMouseUp(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnMouseWheel(MouseEventArgs)

    Declaration
    protected override void OnMouseWheel(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnPaint(PaintEventArgs)

    Overridden. See System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs).

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    OnPaintBackground(PaintEventArgs)

    Overridden. See System.Windows.Forms.Control.OnPaintBackground(System.Windows.Forms.PaintEventArgs).

    Declaration
    protected override void OnPaintBackground(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    OnShowContextMenu(EventArgs)

    Raises the ShowContextMenu event.

    Declaration
    protected virtual void OnShowContextMenu(EventArgs arg)
    Parameters
    Type Name Description
    System.EventArgs arg

    A System.EventArgs value that contains the event data.

    OnSizeChanged(EventArgs)

    Size changed

    Declaration
    protected override void OnSizeChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnThemeNameChanged(String)

    Helps to apply the ThemeName settings for the GroupView.

    Declaration
    public override void OnThemeNameChanged(string themeName)
    Parameters
    Type Name Description
    System.String themeName

    ThemeName

    Overrides
    BaseControl.OnThemeNameChanged(String)

    OnVisibleChanged(EventArgs)

    Overridden. See System.Windows.Forms.Control.OnVisibleChanged(System.EventArgs).

    Declaration
    protected override void OnVisibleChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    PointToItem(Point)

    Returns GroupViewItem at the specified point in client coordinates.

    Declaration
    public GroupViewItem PointToItem(Point pt)
    Parameters
    Type Name Description
    System.Drawing.Point pt

    Point where the GroupViewItem is located.

    Returns
    Type Description
    GroupViewItem

    GroupViewItem, whose area contains specified point; Null, if nothing is found.

    PointToItem(Int32, Int32)

    Overloaded. Returns the GroupViewItem at the specified point in client coordinates.

    Declaration
    public GroupViewItem PointToItem(int x, int y)
    Parameters
    Type Name Description
    System.Int32 x

    X - coordinate of the item.

    System.Int32 y

    Y- coordinate of the item.

    Returns
    Type Description
    GroupViewItem

    GroupViewItem, whose area contains specified point; null, if nothing is found.

    ProcessCmdKey(ref Message, Keys)

    Declaration
    protected override bool ProcessCmdKey(ref Message msg, Keys keydata)
    Parameters
    Type Name Description
    System.Windows.Forms.Message msg
    System.Windows.Forms.Keys keydata
    Returns
    Type Description
    System.Boolean

    ProcessDragDrop(MouseActions, Point)

    Declaration
    protected virtual void ProcessDragDrop(MouseActions action, Point pt)
    Parameters
    Type Name Description
    MouseActions action
    System.Drawing.Point pt

    ProcessMouseOver(Point)

    Declaration
    protected virtual int ProcessMouseOver(Point pt)
    Parameters
    Type Name Description
    System.Drawing.Point pt
    Returns
    Type Description
    System.Int32

    PropChangedHandler(Object, PropertyChangedEventArgs)

    Declaration
    protected void PropChangedHandler(object obj, PropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Object obj
    System.ComponentModel.PropertyChangedEventArgs args

    ResetHighlightImageOffset()

    Resets the HighlightImageOffset property to its default value.

    Declaration
    public void ResetHighlightImageOffset()

    ResetHighlightItemColor()

    Resets the HighlightItemColor property to its default value.

    Declaration
    public void ResetHighlightItemColor()

    ResetHighlightTextColor()

    Resets the HighlightTextColor property to its default value.

    Declaration
    public void ResetHighlightTextColor()

    ResetHighlightTextOffset()

    Resets the HighlightTextOffset property to its default value.

    Declaration
    public void ResetHighlightTextOffset()

    ResetMetroBorderColor()

    Resets the MetroBorderColor property to its default value.

    Declaration
    public void ResetMetroBorderColor()

    ResetSelectedHighlightImageOffset()

    Resets the SelectedHighlightImageOffset property to its default value.

    Declaration
    public void ResetSelectedHighlightImageOffset()

    ResetSelectedHighlightItemColor()

    Resets the SelectedHighlightItemColor property to its default value.

    Declaration
    public void ResetSelectedHighlightItemColor()

    ResetSelectedHighlightTextColor()

    Resets the SelectedHighlightTextColor property to its default value.

    Declaration
    public void ResetSelectedHighlightTextColor()

    ResetSelectedHighlightTextOffset()

    Resets the SelectedHighlightTextOffset property to its default value.

    Declaration
    public void ResetSelectedHighlightTextOffset()

    ResetSelectedImageOffset()

    Resets the SelectedImageOffset property to its default value.

    Declaration
    public void ResetSelectedImageOffset()

    ResetSelectedItemColor()

    Resets the SelectedItemColor property to its default value.

    Declaration
    public void ResetSelectedItemColor()

    ResetSelectedTextColor()

    Resets the SelectedTextColor property to its default value.

    Declaration
    public void ResetSelectedTextColor()

    ResetSelectedTextOffset()

    Resets the SelectedTextOffset property to its default value.

    Declaration
    public void ResetSelectedTextOffset()

    ResetSelectingImageOffset()

    Resets the SelectingImageOffset property to its default value.

    Declaration
    public void ResetSelectingImageOffset()

    ResetSelectingItemColor()

    Resets the SelectingItemColor property to its default value.

    Declaration
    public void ResetSelectingItemColor()

    ResetSelectingTextColor()

    Resets the SelectingTextColor property to its default value.

    Declaration
    public void ResetSelectingTextColor()

    ResetSelectingTextOffset()

    Resets the SelectingTextOffset property to its default value.

    Declaration
    public void ResetSelectingTextOffset()

    ScrollButtonsMouseHandler(MouseActions, Point)

    Declaration
    protected virtual void ScrollButtonsMouseHandler(MouseActions action, Point pt)
    Parameters
    Type Name Description
    MouseActions action
    System.Drawing.Point pt

    ScrollTimerEventHandler(Object, EventArgs)

    Declaration
    protected void ScrollTimerEventHandler(object obj, EventArgs args)
    Parameters
    Type Name Description
    System.Object obj
    System.EventArgs args

    SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

    Overridden. See System.Windows.Forms.Control.SetBoundsCore(System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Forms.BoundsSpecified).

    Declaration
    protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
    Parameters
    Type Name Description
    System.Int32 x
    System.Int32 y
    System.Int32 width
    System.Int32 height
    System.Windows.Forms.BoundsSpecified specified

    SetFlowItemBounds(Int32, ref Rectangle)

    Declaration
    protected virtual void SetFlowItemBounds(int nindex, ref Rectangle rchighlight)
    Parameters
    Type Name Description
    System.Int32 nindex
    System.Drawing.Rectangle rchighlight

    SetNonFlowItemBounds(Int32, ref Rectangle)

    Declaration
    protected virtual void SetNonFlowItemBounds(int nindex, ref Rectangle rchilight)
    Parameters
    Type Name Description
    System.Int32 nindex
    System.Drawing.Rectangle rchilight

    ShouldSerializeHighlightImageOffset()

    Declaration
    protected bool ShouldSerializeHighlightImageOffset()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeHighlightItemColor()

    Declaration
    protected bool ShouldSerializeHighlightItemColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeHighlightTextColor()

    Declaration
    protected bool ShouldSerializeHighlightTextColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeHighlightTextOffset()

    Declaration
    protected bool ShouldSerializeHighlightTextOffset()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeMetroBorderColor()

    Declaration
    protected bool ShouldSerializeMetroBorderColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectedHighlightImageOffset()

    Declaration
    protected bool ShouldSerializeSelectedHighlightImageOffset()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectedHighlightItemColor()

    Declaration
    protected bool ShouldSerializeSelectedHighlightItemColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectedHighlightTextColor()

    Declaration
    protected bool ShouldSerializeSelectedHighlightTextColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectedHighlightTextOffset()

    Declaration
    protected bool ShouldSerializeSelectedHighlightTextOffset()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectedImageOffset()

    Declaration
    protected bool ShouldSerializeSelectedImageOffset()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectedItemColor()

    Declaration
    protected bool ShouldSerializeSelectedItemColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectedTextColor()

    Declaration
    protected bool ShouldSerializeSelectedTextColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectedTextOffset()

    Declaration
    protected bool ShouldSerializeSelectedTextOffset()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectingImageOffset()

    Declaration
    protected bool ShouldSerializeSelectingImageOffset()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectingItemColor()

    Declaration
    protected bool ShouldSerializeSelectingItemColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectingTextColor()

    Declaration
    protected bool ShouldSerializeSelectingTextColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSelectingTextOffset()

    Declaration
    protected bool ShouldSerializeSelectingTextOffset()
    Returns
    Type Description
    System.Boolean

    ShowToolTip(String)

    Shows ToolTip

    Declaration
    protected void ShowToolTip(string text)
    Parameters
    Type Name Description
    System.String text

    A string value representing ToolTip's text

    StartShowingToolTip(Int32)

    Start showing tooltips

    Declaration
    protected void StartShowingToolTip(int interval)
    Parameters
    Type Name Description
    System.Int32 interval

    Representint interval before showing ToolTip

    StopShowingToolTip()

    Stops showing tooltips

    Declaration
    protected void StopShowingToolTip()

    WndProc(ref Message)

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    Events

    GroupViewItemDoubleClick

    Occurs when a GroupViewItem is double clicked.

    Declaration
    public event GroupViewItemDoubleClickEventHandler GroupViewItemDoubleClick
    Event Type
    Type Description
    GroupViewItemDoubleClickEventHandler

    GroupViewItemHighlighted

    Occurs when a GroupViewItem in the GroupView control is highlighted.

    Declaration
    public event EventHandler GroupViewItemHighlighted
    Event Type
    Type Description
    System.EventHandler
    Remarks

    Use the HighlightedItem property to get the index of the newly selected item.

    GroupViewItemRenamed

    Occurs after a GroupViewItem has been renamed by an in-place edit operation.

    Declaration
    public event GroupItemRenamedEventHandler GroupViewItemRenamed
    Event Type
    Type Description
    GroupItemRenamedEventHandler
    Remarks

    See GroupItemRenamedEventArgs and GroupItemRenamedEventHandler.

    See Also
    InplaceRenameItem(Int32)

    GroupViewItemSelected

    Occurs when a GroupViewItem in the GroupView control is selected.

    Declaration
    public event EventHandler GroupViewItemSelected
    Event Type
    Type Description
    System.EventHandler
    Remarks

    Use the SelectedItem property to get the index of the newly selected item.

    GroupViewItemsReordered

    Occurs after the items in a GroupView control have been reordered by a drag-and-drop operation.

    Declaration
    public event EventHandler GroupViewItemsReordered
    Event Type
    Type Description
    System.EventHandler

    ShowContextMenu

    Occurs when the right mouse button is clicked over the GroupView control.

    Declaration
    public event EventHandler ShowContextMenu
    Event Type
    Type Description
    System.EventHandler
    Remarks

    The ContextMenuItem property will provide the index of the GroupViewItem over which the mouse was clicked.

    Explicit Interface Implementations

    IGroupViewDesignerInvoke.HandleMouseDown(MouseButtons, Point)

    Declaration
    void IGroupViewDesignerInvoke.HandleMouseDown(MouseButtons button, Point pt)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseButtons button
    System.Drawing.Point pt

    IGroupViewDesignerInvoke.HandleMouseUp(MouseButtons, Point)

    Declaration
    void IGroupViewDesignerInvoke.HandleMouseUp(MouseButtons button, Point pt)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseButtons button
    System.Drawing.Point pt

    IIntegratedScrollClient.DownScrollButtonPressed()

    Declaration
    void IIntegratedScrollClient.DownScrollButtonPressed()

    IIntegratedScrollClient.IsDownScrollButtonEnabled()

    Declaration
    bool IIntegratedScrollClient.IsDownScrollButtonEnabled()
    Returns
    Type Description
    System.Boolean

    IIntegratedScrollClient.IsUpScrollButtonEnabled()

    Declaration
    bool IIntegratedScrollClient.IsUpScrollButtonEnabled()
    Returns
    Type Description
    System.Boolean

    IIntegratedScrollClient.UpScrollButtonPressed()

    Declaration
    void IIntegratedScrollClient.UpScrollButtonPressed()

    Implements

    IThemeProvider
    IVisualStyle
    System.IDisposable
    IIntegratedScrollClient
    IGroupViewDesignerInvoke

    See Also

    GroupBar
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved