menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PaletteGroupView - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PaletteGroupView

    Displays the symbol models belonging to a symbol palette in a GroupView.

    Inheritance
    System.Object
    BaseControl
    GroupView
    PaletteGroupView
    Implements
    IThemeProvider
    IVisualStyle
    System.IDisposable
    IIntegratedScrollClient
    IGroupViewDesignerInvoke
    Inherited Members
    BaseControl.CanApplyTheme
    BaseControl.CanOverrideStyle
    BaseControl.ControlName
    BaseControl.GetActiveThemeName()
    BaseControl.IsVisualStyleEnabled
    BaseControl.IThemeProvider.BaseThemeName
    BaseControl.IVisualStyle.VisualTheme
    BaseControl.OnCanApplyThemeChanged(Boolean)
    BaseControl.OnCanOverrideStyleChanged(Boolean)
    BaseControl.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    BaseControl.ThemeName
    BaseControl.ThemeNameChanged
    GroupView.AllowDragAnyObject
    GroupView.AllowDragDrop
    GroupView.AllowDrop
    GroupView.ApplyScaleToControl(Single)
    GroupView.BackGroundBrush
    GroupView.bAllowDragDrop
    GroupView.bButtonView
    GroupView.bClipSelectionBounds
    GroupView.bDownScrlButton
    GroupView.bdrStyle
    GroupView.BeforeTouchSize
    GroupView.bFlatLook
    GroupView.bFlowView
    GroupView.bHighlightImage
    GroupView.bHighlightItemSet
    GroupView.bHighlightText
    GroupView.bHighlightTextSet
    GroupView.bIntegratedScrolling
    GroupView.BorderStyle
    GroupView.brBackGround
    GroupView.brHighlightItem
    GroupView.BringItemIntoView(Int32)
    GroupView.brSelectedHighlightItem
    GroupView.brSelectedItem
    GroupView.brSelectingItem
    GroupView.bSelectedHighlightItemSet
    GroupView.bSelectedHighlightTextSet
    GroupView.bSelectedItemSet
    GroupView.bSelectedTextSet
    GroupView.bSelectingItemSet
    GroupView.bSelectingTextSet
    GroupView.bSmallImageView
    GroupView.bTextUnderline
    GroupView.bTextWrap
    GroupView.bThemesEnabled
    GroupView.bUpScrlButton
    GroupView.ButtonView
    GroupView.CalculateItemsPerPage()
    GroupView.CalculateItemsPerRow()
    GroupView.CancelInplaceRenameItem()
    GroupView.ClipSelectionBounds
    GroupView.cllnGroupViewItems
    GroupView.clrHighlightText
    GroupView.clrSelectedHighlightText
    GroupView.clrSelectedText
    GroupView.clrSelectingText
    GroupView.ContextMenuItem
    GroupView.CreateAccessibilityInstance()
    GroupView.CreateGroupViewItemAccessibilityInstance(Int32)
    GroupView.CreateParams
    GroupView.ctrlTextBox
    GroupView.ctrlToolTip
    GroupView.defLargeImgSize
    GroupView.defSmallImgSize
    GroupView.dfGroupViewItem
    GroupView.DoScroll(Boolean, Boolean)
    GroupView.DownScrlBtnRect
    GroupView.DrawAllItems(Graphics)
    GroupView.DrawDragDropFlowInsert(Int32, Int32, GroupView.DragDropInsert, Boolean)
    GroupView.DrawDragDropNonFlowInsert(Int32, GroupView.DragDropInsert, Boolean)
    GroupView.DrawFlowScrollButtons(Graphics)
    GroupView.DrawItem(Graphics, Int32, Rectangle, GroupView.ItemState)
    GroupView.DrawItemHighlight(Graphics, Int32, Rectangle, GroupView.ItemState)
    GroupView.DrawNonFlowScrollButtons(Graphics)
    GroupView.DrawText(Graphics, Int32, Rectangle, GroupView.ItemState)
    GroupView.EnableTouchMode
    GroupView.FireGroupViewItemSelectedEvent(Int32)
    GroupView.FlatLook
    GroupView.FlowView
    GroupView.FlowViewItemTextLength
    GroupView.Font
    GroupView.GetAdjustedHighlightBounds(Int32, Rectangle)
    GroupView.GetAdjustedTextBounds(Int32, Rectangle)
    GroupView.GetControlName(String)
    GroupView.GetGroupViewItemBounds(Int32, String)
    GroupView.GetIsMirrored()
    GroupView.GetItemAt(Point)
    GroupView.GetItemUnderPoint(Point)
    GroupView.GroupView_RenameComplete(Object, RenameCompleteEventArgs)
    GroupView.GroupView_TextChanged(Object, EventArgs)
    GroupView.GroupViewFormatName
    GroupView.GroupViewItemDoubleClick
    GroupView.GroupViewItemHighlighted
    GroupView.GroupViewItemRenamed
    GroupView.GroupViewItemSelected
    GroupView.GroupViewItemsReordered
    GroupView.gviAccessibleObjects
    GroupView.HandleMouseDown(MouseButtons, Point)
    GroupView.HandleMouseUp(MouseButtons, Point)
    GroupView.HighlightedItem
    GroupView.HighlightImage
    GroupView.HighlightImageOffset
    GroupView.HighlightItemBrush
    GroupView.HighlightItemColor
    GroupView.HighlightText
    GroupView.HighlightTextColor
    GroupView.HighlightTextOffset
    GroupView.IGroupViewDesignerInvoke.HandleMouseDown(MouseButtons, Point)
    GroupView.IGroupViewDesignerInvoke.HandleMouseUp(MouseButtons, Point)
    GroupView.IIntegratedScrollClient.DownScrollButtonPressed()
    GroupView.IIntegratedScrollClient.IsDownScrollButtonEnabled()
    GroupView.IIntegratedScrollClient.IsUpScrollButtonEnabled()
    GroupView.IIntegratedScrollClient.UpScrollButtonPressed()
    GroupView.ilLarge
    GroupView.ilSmall
    GroupView.ImageSpacing
    GroupView.InplaceRenameItem(Int32)
    GroupView.IntegratedScrolling
    GroupView.IsMouseOverItem(Int32, Rectangle, Point)
    GroupView.itemAccessibleObjects
    GroupView.ItemXSpacing
    GroupView.ItemYSpacing
    GroupView.Layout()
    GroupView.MeasureText(Int32, Rectangle)
    GroupView.MetroBorderColor
    GroupView.nContextMenuItem
    GroupView.nDragItem
    GroupView.nDropItem
    GroupView.nHighlightedItem
    GroupView.nImageSpacing
    GroupView.nItemsPerRow
    GroupView.nItemXSpacing
    GroupView.nItemYSpacing
    GroupView.nPrevSelected
    GroupView.nRenameItem
    GroupView.nScrllBttnOffset
    GroupView.nSelectedItem
    GroupView.nTextSpacing
    GroupView.nTopIndex
    GroupView.Office2016ColorScheme
    GroupView.OnBackColorChanged(EventArgs)
    GroupView.OnClick(EventArgs)
    GroupView.OnDragDrop(DragEventArgs)
    GroupView.OnDragEnter(DragEventArgs)
    GroupView.OnDragLeave(EventArgs)
    GroupView.OnDragOver(DragEventArgs)
    GroupView.OnFontChanged(EventArgs)
    GroupView.OnForeColorChanged(EventArgs)
    GroupView.OnGroupViewItemDoubleClick(GroupViewItemDoubleClickEventArgs)
    GroupView.OnGroupViewItemHighlighted(EventArgs)
    GroupView.OnGroupViewItemRenamed(GroupItemRenamedEventArgs)
    GroupView.OnGroupViewItemsReordered(EventArgs)
    GroupView.OnLostFocus(EventArgs)
    GroupView.OnMouseHover(EventArgs)
    GroupView.OnMouseLeave(EventArgs)
    GroupView.OnMouseWheel(MouseEventArgs)
    GroupView.OnPaint(PaintEventArgs)
    GroupView.OnPaintBackground(PaintEventArgs)
    GroupView.OnShowContextMenu(EventArgs)
    GroupView.OnSizeChanged(EventArgs)
    GroupView.OnThemeNameChanged(String)
    GroupView.OnVisibleChanged(EventArgs)
    GroupView.Orientation
    GroupView.PointToItem(Int32, Int32)
    GroupView.PointToItem(Point)
    GroupView.ProcessCmdKey(Message, Keys)
    GroupView.ProcessDragDrop(MouseActions, Point)
    GroupView.ProcessMouseOver(Point)
    GroupView.PropChangedHandler(Object, PropertyChangedEventArgs)
    GroupView.ptDragStart
    GroupView.ptHighlightImageOffset
    GroupView.ptHighlightTextOffset
    GroupView.ptSelectedHighlightImageOffset
    GroupView.ptSelectedHighlightTextOffset
    GroupView.ptSelectedImageOffset
    GroupView.ptSelectedTextOffset
    GroupView.ptSelectingImageOffset
    GroupView.ptSelectingTextOffset
    GroupView.rcHighlightedItem
    GroupView.rcPrevSelected
    GroupView.rcSelectedItem
    GroupView.ResetHighlightImageOffset()
    GroupView.ResetHighlightItemColor()
    GroupView.ResetHighlightTextColor()
    GroupView.ResetHighlightTextOffset()
    GroupView.ResetMetroBorderColor()
    GroupView.ResetSelectedHighlightImageOffset()
    GroupView.ResetSelectedHighlightItemColor()
    GroupView.ResetSelectedHighlightTextColor()
    GroupView.ResetSelectedHighlightTextOffset()
    GroupView.ResetSelectedImageOffset()
    GroupView.ResetSelectedItemColor()
    GroupView.ResetSelectedTextColor()
    GroupView.ResetSelectedTextOffset()
    GroupView.ResetSelectingImageOffset()
    GroupView.ResetSelectingItemColor()
    GroupView.ResetSelectingTextColor()
    GroupView.ResetSelectingTextOffset()
    GroupView.scrllBtnState
    GroupView.ScrollButtonsMouseHandler(MouseActions, Point)
    GroupView.ScrollTimerEventHandler(Object, EventArgs)
    GroupView.SelectedHighlightImageOffset
    GroupView.SelectedHighlightItemColor
    GroupView.SelectedHighlightTextColor
    GroupView.SelectedHighlightTextOffset
    GroupView.SelectedImageOffset
    GroupView.SelectedItem
    GroupView.SelectedItemBrush
    GroupView.SelectedItemColor
    GroupView.SelectedItemHighlightBrush
    GroupView.SelectedTextColor
    GroupView.SelectedTextOffset
    GroupView.SelectingImageOffset
    GroupView.SelectingItemBrush
    GroupView.SelectingItemColor
    GroupView.SelectingTextColor
    GroupView.SelectingTextOffset
    GroupView.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
    GroupView.SetFlowItemBounds(Int32, Rectangle)
    GroupView.SetNonFlowItemBounds(Int32, Rectangle)
    GroupView.ShouldSerializeHighlightImageOffset()
    GroupView.ShouldSerializeHighlightItemColor()
    GroupView.ShouldSerializeHighlightTextColor()
    GroupView.ShouldSerializeHighlightTextOffset()
    GroupView.ShouldSerializeMetroBorderColor()
    GroupView.ShouldSerializeSelectedHighlightImageOffset()
    GroupView.ShouldSerializeSelectedHighlightItemColor()
    GroupView.ShouldSerializeSelectedHighlightTextColor()
    GroupView.ShouldSerializeSelectedHighlightTextOffset()
    GroupView.ShouldSerializeSelectedImageOffset()
    GroupView.ShouldSerializeSelectedItemColor()
    GroupView.ShouldSerializeSelectedTextColor()
    GroupView.ShouldSerializeSelectedTextOffset()
    GroupView.ShouldSerializeSelectingImageOffset()
    GroupView.ShouldSerializeSelectingItemColor()
    GroupView.ShouldSerializeSelectingTextColor()
    GroupView.ShouldSerializeSelectingTextOffset()
    GroupView.ShowContextMenu
    GroupView.ShowFlowViewItemText
    GroupView.ShowToolTip(String)
    GroupView.ShowToolTips
    GroupView.SmallImageView
    GroupView.StartShowingToolTip(Int32)
    GroupView.StopShowingToolTip()
    GroupView.Style
    GroupView.tdScrollBar
    GroupView.tdToolbar
    GroupView.TextSpacing
    GroupView.TextUnderline
    GroupView.TextWrap
    GroupView.ThemesEnabled
    GroupView.ThemeStyle
    GroupView.TimerScrollInterval
    GroupView.tmrScrolling
    GroupView.UpScrlBtnRect
    Namespace: Syncfusion.Windows.Forms.Diagram.Controls
    Assembly: Syncfusion.Diagram.Windows.dll
    Syntax
    public class PaletteGroupView : GroupView, IThemeProvider, IVisualStyle, IDisposable, IIntegratedScrollClient, IGroupViewDesignerInvoke
    Remarks

    This class is derived from the Syncfusion.Windows.Forms.Tools.GroupView class. A GroupView is a control that contains a list of icons and labels that can be hosted in a GroupBar (Outlook bar).

    This class provides an implementation that displays a list of symbol models that belong to a given symbol palette. Symbol models can be dragged from this control onto diagrams.

    PaletteGroupBar

    Constructors

    PaletteGroupView()

    Initializes a new instance of the PaletteGroupView class.

    Declaration
    public PaletteGroupView()

    PaletteGroupView(IContainer)

    Initializes a new instance of the PaletteGroupView class.

    Declaration
    public PaletteGroupView(IContainer container)
    Parameters
    Type Name Description
    System.ComponentModel.IContainer container

    The container.

    Properties

    Diagram

    Gets or sets the diagram control.

    Declaration
    public Diagram Diagram { get; set; }
    Property Value
    Type
    Diagram

    DragNodeCueEnabled

    Gets or sets a value indicating whether dragged node cue is enabled or not.

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

    EditMode

    Gets or sets a value indicating whether or not the symbols can be dragged from the palette onto a diagram.

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

    When this property is set to True, the palette is being edited and symbols cannot be dragged onto a diagram. The Symbol Designer sets this flag to True. The typical setting for an application is False, which means that the palette is not being edited and symbols may be dragged onto a diagram.

    GroupViewItems

    Gets or 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.

    LargeImageList

    Gets or 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

    Magnification

    Gets or sets drag cue's magnification (zoom) values on a scale of 1 to n.

    Declaration
    public float Magnification { get; set; }
    Property Value
    Type
    System.Single

    Palette

    Gets or sets reference to the symbol palette displayed by this control.

    Declaration
    public SymbolPalette Palette { get; set; }
    Property Value
    Type
    SymbolPalette

    PaletteItemSize

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

    SelectedNode

    Gets the selected node.

    Declaration
    public Node SelectedNode { get; }
    Property Value
    Type Description
    Node

    The selected node.

    ShowDragNodeCue

    Gets or sets a value indicating whether dragged node cue is visible or not.

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

    SmallImageList

    Gets or 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

    Methods

    Dispose(Boolean)

    Clean up any resources being used.

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

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    GroupView.Dispose(Boolean)

    LoadPalette(SymbolPalette)

    Loads the given symbol palette into this control.

    Declaration
    public bool LoadPalette(SymbolPalette symbolPalette)
    Parameters
    Type Name Description
    SymbolPalette symbolPalette

    SymbolPalette to load.

    Returns
    Type Description
    System.Boolean

    True if successful; otherwise False.

    LoadPalette(Byte[])

    Loads a symbol palette from memory.

    Declaration
    public bool LoadPalette(byte[] strmData)
    Parameters
    Type Name Description
    System.Byte[] strmData

    Array of bytes containing serialized symbol palette.

    Returns
    Type Description
    System.Boolean

    True if successful; otherwise False.

    LoadPalette(Assembly, String, String)

    Loads a symbol palette from a resource file.

    Declaration
    public bool LoadPalette(Assembly assembly, string baseName, string resName)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly

    Assembly containing the symbol palette.

    System.String baseName

    Base name of resource.

    System.String resName

    Name of resource.

    Returns
    Type Description
    System.Boolean

    True if successful; otherwise False.

    LoadPalette(String)

    Loads a symbol palette from a file.

    Declaration
    public bool LoadPalette(string filename)
    Parameters
    Type Name Description
    System.String filename

    Name of file to load.

    Returns
    Type Description
    System.Boolean

    True if successful; otherwise False.

    Remarks

    Deserializes a symbol palette from disk and loads it into this control.

    OnGiveFeedback(GiveFeedbackEventArgs)

    Called when a give feedback event is received.

    Declaration
    protected override void OnGiveFeedback(GiveFeedbackEventArgs evtArgs)
    Parameters
    Type Name Description
    System.Windows.Forms.GiveFeedbackEventArgs evtArgs

    Event arguments.

    OnGroupViewItemSelected(EventArgs)

    Called when a item selected event is received.

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

    Event arguments.

    Overrides
    GroupView.OnGroupViewItemSelected(EventArgs)

    OnMouseDown(MouseEventArgs)

    Called when a mouse down event is received.

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

    Event arguments.

    Overrides
    GroupView.OnMouseDown(MouseEventArgs)
    Remarks

    If EditMode is enabled, then this method starts a drag-and-drop operation.

    OnMouseMove(MouseEventArgs)

    Called when a mouse move event is received.

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

    Event arguments.

    Overrides
    GroupView.OnMouseMove(MouseEventArgs)
    Remarks

    If a drag-and-drop operation has been started with a mouse down, this method calls the System.Windows.Forms.Control.DoDragDrop method.

    OnMouseDown(MouseEventArgs)

    OnMouseUp(MouseEventArgs)

    Called when a mouse up event is received.

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

    Event arguments.

    Overrides
    GroupView.OnMouseUp(MouseEventArgs)

    OnQueryContinueDrag(QueryContinueDragEventArgs)

    Called when a query continue drag event is received.

    Declaration
    protected override void OnQueryContinueDrag(QueryContinueDragEventArgs args)
    Parameters
    Type Name Description
    System.Windows.Forms.QueryContinueDragEventArgs args

    Event arguments.

    SelectNode(Node)

    Set the selected symbol model to the one matching the given symbol model name.

    Declaration
    public void SelectNode(Node node)
    Parameters
    Type Name Description
    Node node

    Node to select.

    WndProc(ref Message)

    Overriden. WndProc.

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

    The message.

    Overrides
    GroupView.WndProc(ref Message)

    Events

    DoubleClick

    Occurs when the control is double-clicked.

    Declaration
    public event EventHandler DoubleClick
    Event Type
    Type
    System.EventHandler

    NodeSelected

    Fired when the user selects a symbol model icon in a palette groupview component.

    Declaration
    public event NodeEventHandler NodeSelected
    Event Type
    Type
    NodeEventHandler

    Implements

    IThemeProvider
    IVisualStyle
    System.IDisposable
    IIntegratedScrollClient
    IGroupViewDesignerInvoke
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved