skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadDiagramToolbox

Represents a toolbox control that provides a collection of diagram shapes and tools for creating diagram elements through drag-and-drop operations.

Inheritance
System.Object
RadControl
RadListView
RadDiagramToolbox
Inherited Members
RadListView.OnLoad(Size)
RadListView.RadListView_Initialized(Object, EventArgs)
RadListView.CreateChildItems(RadElement)
RadListView.CreateListViewElement()
RadListView.BeginUpdate()
RadListView.EndUpdate()
RadListView.FindItemByKey(Object)
RadListView.FindItemByKey(Object, Boolean)
RadListView.Select(ListViewDataItem[])
RadListView.BeginEdit()
RadListView.EndEdit()
RadListView.CancelEdit()
RadListView.ExpandAll()
RadListView.CollapseAll()
RadListView.CheckSelectedItems()
RadListView.UncheckSelectedItems()
RadListView.CheckAllItems()
RadListView.UncheckAllItems()
RadListView.OnLostFocus(EventArgs)
RadListView.OnGotFocus(EventArgs)
RadListView.IsInputKey(Keys)
RadListView.OnMouseDown(MouseEventArgs)
RadListView.OnMouseUp(MouseEventArgs)
RadListView.OnMouseMove(MouseEventArgs)
RadListView.OnKeyDown(KeyEventArgs)
RadListView.OnKeyPress(KeyPressEventArgs)
RadListView.OnMouseWheel(MouseEventArgs)
RadListView.OnThemeNameChanged(ThemeNameChangedEventArgs)
RadListView.CanEditElementAtDesignTime(RadElement)
RadListView.CreateAccessibilityInstance()
RadListView.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadListView.CaseSensitiveColumnNames
RadListView.CheckBoxesPosition
RadListView.CheckBoxesAlignment
RadListView.AutoSize
RadListView.SelectLastAddedItem
RadListView.HorizontalScrollState
RadListView.VerticalScrollState
RadListView.ThreeStateMode
RadListView.ShowGridLines
RadListView.EnableLassoSelection
RadListView.EnableKineticScrolling
RadListView.HotTracking
RadListView.EnableColumnSort
RadListView.GroupItemSize
RadListView.FilterDescriptors
RadListView.FilterPredicate
RadListView.IsDataBound
RadListView.ValueMember
RadListView.DisplayMember
RadListView.CheckedMember
RadListView.EnableSorting
RadListView.EnableFiltering
RadListView.EnableGrouping
RadListView.SortDescriptors
RadListView.GroupDescriptors
RadListView.DataSource
RadListView.DataMember
RadListView.SelectedItem
RadListView.SelectedIndex
RadListView.CurrentItem
RadListView.CurrentColumn
RadListView.IsEditing
RadListView.Columns
RadListView.ShowColumnHeaders
RadListView.SelectedItems
RadListView.CheckedItems
RadListView.ShowCheckBoxes
RadListView.AllowColumnResize
RadListView.AllowColumnReorder
RadListView.AllowArbitraryItemWidth
RadListView.AllowArbitraryItemHeight
RadListView.MultiSelect
RadListView.AllowRemove
RadListView.ActiveEditor
RadListView.ListViewElement
RadListView.HeaderHeight
RadListView.KeyboardSearchResetInterval
RadListView.KeyboardSearchEnabled
RadListView.FindStringComparer
RadListView.CheckOnClickMode
RadListView.BackColor
RadListView.ForeColor
RadListView.Text
RadListView.AutoSizeColumnsMode
RadListView.IFilterable.DataSource
RadListView.IFilterable.FilterDescriptors
RadListView.GroupExpanded
RadListView.GroupExpanding
RadListView.BindingContextChanged
RadListView.BindingCompleted
RadListView.SelectedItemChanging
RadListView.SelectedItemsChanged
RadListView.SelectedItemChanged
RadListView.SelectedIndexChanged
RadListView.ViewTypeChanged
RadListView.ViewTypeChanging
RadListView.ItemMouseDown
RadListView.ItemMouseUp
RadListView.ItemMouseMove
RadListView.ItemMouseHover
RadListView.ItemMouseEnter
RadListView.ItemMouseLeave
RadListView.ItemMouseClick
RadListView.ItemMouseDoubleClick
RadListView.ItemCheckedChanging
RadListView.ItemCheckedChanged
RadListView.VisualItemFormatting
RadListView.ItemCreating
RadListView.VisualItemCreating
RadListView.CellFormatting
RadListView.ItemDataBound
RadListView.CurrentItemChanged
RadListView.CurrentItemChanging
RadListView.EditorRequired
RadListView.ItemEditing
RadListView.EditorInitialized
RadListView.ItemEdited
RadListView.ValidationError
RadListView.ItemValidating
RadListView.ItemValueChanged
RadListView.ItemValueChanging
RadListView.ColumnCreating
RadListView.CellCreating
RadListView.ItemRemoving
RadListView.ItemRemoved
RadControl.isResizing2
RadControl.isDisposing2
RadControl.invalidResizeRect
RadControl.isAccessibilityRequested
RadControl.Dispose(Boolean)
RadControl.Construct()
RadControl.CreateBehavior()
RadControl.CreateRootElement()
RadControl.InitializeRootElement(RootRadElement)
RadControl.LoadElementTree()
RadControl.LoadElementTree(Size)
RadControl.SetIsInitializing(Boolean)
RadControl.ShouldSerializeBackColor()
RadControl.SetBackColorThemeOverrides()
RadControl.ResetBackColorThemeOverrides()
RadControl.ShouldSerializeForeColor()
RadControl.SetForeColorThemeOverrides()
RadControl.ResetForeColorThemeOverrides()
RadControl.ShouldSerializeFont()
RadControl.OnKeyUp(KeyEventArgs)
RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)
RadControl.OnClick(EventArgs)
RadControl.OnDoubleClick(EventArgs)
RadControl.OnMouseEnter(EventArgs)
RadControl.OnMouseLeave(EventArgs)
RadControl.OnMouseHover(EventArgs)
RadControl.OnMouseCaptureChanged(EventArgs)
RadControl.OnCreateControl()
RadControl.OnHandleDestroyed(EventArgs)
RadControl.OnParentChanged(EventArgs)
RadControl.OnVisibleChanged(EventArgs)
RadControl.OnFontChanged(EventArgs)
RadControl.OnForeColorChanged(EventArgs)
RadControl.OnBackColorChanged(EventArgs)
RadControl.OnEnabledChanged(EventArgs)
RadControl.OnBindingContextChanged(EventArgs)
RadControl.OnLocationChanged(EventArgs)
RadControl.OnPaddingChanged(EventArgs)
RadControl.OnRightToLeftChanged(EventArgs)
RadControl.OnPaint(PaintEventArgs)
RadControl.OnLayout(LayoutEventArgs)
RadControl.OnAutoSizeChanged(EventArgs)
RadControl.WndProc(Message)
RadControl.OnInvalidated(RadElement)
RadControl.OnCaptureLosing()
RadControl.OnThemeChanged()
RadControl.OnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.OnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.ProcessMnemonic(Char)
RadControl.ProcessFocusRequested(RadElement)
RadControl.ProcessCaptureChangeRequested(RadElement, Boolean)
RadControl.ProcessAutoSizeChanged(Boolean)
RadControl.CallOnMouseCaptureChanged(EventArgs)
RadControl.CallBaseOnGotFocus(EventArgs)
RadControl.CallBaseOnLostFocus(EventArgs)
RadControl.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.CallOnMouseUp(MouseEventArgs)
RadControl.CallOnMouseDown(MouseEventArgs)
RadControl.CallOnClick(EventArgs)
RadControl.CallOnDoubleClick(EventArgs)
RadControl.CallOnMouseEnter(EventArgs)
RadControl.CallOnMouseWheel(MouseEventArgs)
RadControl.CallOnMouseLeave(EventArgs)
RadControl.CallOnMouseMove(MouseEventArgs)
RadControl.CallOnMouseHover(EventArgs)
RadControl.CallOnPreviewKeyDown(PreviewKeyDownEventArgs)
RadControl.CallBaseOnKeyDown(KeyEventArgs)
RadControl.CallOnKeyDown(KeyEventArgs)
RadControl.CallBaseOnKeyPress(KeyPressEventArgs)
RadControl.CallOnKeyPress(KeyPressEventArgs)
RadControl.GetInputElement()
RadControl.CallBaseOnKeyUp(KeyEventArgs)
RadControl.CallOnKeyUp(KeyEventArgs)
RadControl.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.CallOnVisibleChanged(EventArgs)
RadControl.BeginInit()
RadControl.EndInit()
RadControl.OnNotifyPropertyChanged(String)
RadControl.IComponentTreeHandler.GetShowFocusCues()
RadControl.IComponentTreeHandler.CreateRootElement()
RadControl.IComponentTreeHandler.CreateChildItems(RadElement)
RadControl.IComponentTreeHandler.InitializeRootElement(RootRadElement)
RadControl.IComponentTreeHandler.InvalidateElement(RadElement)
RadControl.IComponentTreeHandler.InvalidateElement(RadElement, Rectangle)
RadControl.IComponentTreeHandler.InvalidateIfNotSuspended()
RadControl.IComponentTreeHandler.GetAmbientPropertyValue(RadProperty)
RadControl.IComponentTreeHandler.ControlThemeChangedCallback()
RadControl.IComponentTreeHandler.OnAmbientPropertyChanged(RadProperty)
RadControl.IComponentTreeHandler.OnFocusRequested(RadElement)
RadControl.IComponentTreeHandler.OnCaptureChangeRequested(RadElement, Boolean)
RadControl.IComponentTreeHandler.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadControl.IComponentTreeHandler.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.IComponentTreeHandler.CallOnMouseCaptureChanged(EventArgs)
RadControl.IComponentTreeHandler.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.IComponentTreeHandler.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.GetPreferredSize(Size)
RadControl.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
RadControl.GetRootElementDesiredSize(Int32, Int32, Int32, Int32)
RadControl.OnZoomGesture(ZoomGestureEventArgs)
RadControl.OnRotateGesture(RotateGestureEventArgs)
RadControl.OnPanGesture(PanGestureEventArgs)
RadControl.OnTwoFingerTapGesture(GestureEventArgs)
RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)
RadControl.OnGesture(GestureEventArgs)
RadControl.ProcessGesture(Message)
RadControl.EnableGesture(GestureType)
RadControl.DisableGesture(GestureType)
RadControl.Refresh()
RadControl.SuspendUpdate()
RadControl.ResumeUpdate()
RadControl.ResumeUpdate(Boolean)
RadControl.InvokeLayoutCallback(LayoutCallback)
RadControl.RegisterHostedControl(RadHostItem)
RadControl.UnregisterHostedControl(RadHostItem, Boolean)
RadControl.ControlDefinesThemeForElement(RadElement)
RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)
RadControl.GetPlainText()
RadControl.CanEditUIElement(RadElement)
RadControl.GetChildAt(Int32)
RadControl.ShouldSerializeProperty(RadProperty)
RadControl.ShouldSerializeProperty(RadProperty, RadObject)
RadControl.ResetProperty(RadProperty, RadObject)
RadControl.GetControlDefaultSize()
RadControl.GetDpiScaledSize(Size)
RadControl.GetDpiScaledSize(SizeF)
RadControl.ProcessCodedUIMessage(IPCMessage)
RadControl.FindPropertyInChildren(RadControl, IPCMessage)
RadControl.CallAccessibilityNotifyClients(AccessibleEvents, Int32)
RadControl.IPCHost.ProcessMessage(IPCMessage)
RadControl.ScaleControl(SizeF, BoundsSpecified)
RadControl.PerformRadAutoScale(Nullable<BoundsSpecified>)
RadControl.SetRadAutoScale(Boolean)
RadControl.IComponentTreeHandler.get_Name()
RadControl.IComponentTreeHandler.set_Name(String)
RadControl.EnableDpiScaling
RadControl.EnableRadAutoScale
RadControl.EnableRadFormInitialDpiScaling
RadControl.EnableImageDpiScaling
RadControl.EnableSvgImages
RadControl.IsTrial
RadControl.IsLoaded
RadControl.LayoutManager
RadControl.ElementTree
RadControl.UseCompatibleTextRenderingDefaultValue
RadControl.Behavior
RadControl.RootElement
RadControl.Padding
RadControl.ThemeName
RadControl.EnableTheming
RadControl.ImageList
RadControl.ImageScalingSize
RadControl.UseCompatibleTextRendering
RadControl.MaximumSize
RadControl.MinimumSize
RadControl.Focusable
RadControl.Site
RadControl.CausesValidation
RadControl.IsInitializing
RadControl.SmallImageList
RadControl.SmallImageScalingSize
RadControl.IsDesignMode
RadControl.IsDisplayed
RadControl.FocusedElement
RadControl.AllowShowFocusCues
RadControl.ShowItemToolTips
RadControl.CommandBindings
RadControl.EnableKeyMap
RadControl.Font
RadControl.ValidationCancel
RadControl.IComponentTreeHandler.IsDesignMode
RadControl.IComponentTreeHandler.ElementTree
RadControl.IComponentTreeHandler.Behavior
RadControl.IComponentTreeHandler.Initializing
RadControl.IComponentTreeHandler.ThemeClassName
RadControl.EnableGestures
RadControl.EnableAnalytics
RadControl.AnalyticsName
RadControl.EnableRadAccessibilityObjects
RadControl.AccessibilityRequested
RadControl.EnableCodedUITests
RadControl.EnableCodedUITestsDefaultValue
RadControl.EnableUIAutomation
RadControl.EnableUIAutomationDefaultValue
RadControl.IPCHost.Context
RadControl.ElementInvalidated
RadControl.ToolTipTextNeeded
RadControl.ScreenTipNeeded
RadControl.ThemeNameChanged
RadControl.Initialized
RadControl.PropertyChanged
RadControl.ZoomGesture
RadControl.RotateGesture
RadControl.PanGesture
RadControl.TwoFingerTapGesture
RadControl.PressAndTapGesture
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadDiagram.dll

Syntax

[TelerikToolboxCategory("Diagram")]
public class RadDiagramToolbox : RadListView, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, IFilterable

Constructors

RadDiagramToolbox()

Initializes a new instance of the RadDiagramToolbox class with default settings and predefined diagram shapes.

Declaration
public RadDiagramToolbox()

Properties

AllowDragDrop

Gets or sets a value indicating whether drag-and-drop operations are enabled for reordering diagram shapes within the toolbox.

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

Overrides
RadListView.AllowDragDrop

AllowDrop

Gets or sets a value indicating whether the toolbox can accept diagram shapes that are dragged onto it from external sources.

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

Remarks

Returns: true if drag-and-drop operations are allowed in the control; otherwise, false. The default is false.

AllowEdit

Gets or sets a value indicating whether editing of diagram shape items in the toolbox is enabled.

Declaration
public override bool AllowEdit { get; set; }
Property Value
System.Boolean

Overrides
RadListView.AllowEdit

DefaultSize

Gets the default size of the diagram toolbox control.

Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size

Overrides
RadListView.DefaultSize

EnableCustomGrouping

Gets or sets a value indicating whether custom grouping of diagram shapes is enabled in the toolbox.

Declaration
public override bool EnableCustomGrouping { get; set; }
Property Value
System.Boolean

Overrides
RadListView.EnableCustomGrouping

FullRowSelect

Gets or sets a value indicating whether the full row of diagram shape items should be selected in the toolbox.

Declaration
public override bool FullRowSelect { get; set; }
Property Value
System.Boolean

Overrides
RadListView.FullRowSelect

GroupIndent

Gets or sets the indentation of diagram shape items when they are displayed within groups in the toolbox.

Declaration
public override int GroupIndent { get; set; }
Property Value
System.Int32

Overrides
RadListView.GroupIndent

Groups

This property is not relevant for this class.

Declaration
public override ListViewDataItemGroupCollection Groups { get; }
Property Value
ListViewDataItemGroupCollection

Overrides
RadListView.Groups

Items

This property is not relevant for this class.

Declaration
public ListViewDataItemCollection Items { get; }
Property Value
ListViewDataItemCollection

ItemSize

Gets or sets the default size for diagram shape items displayed in the toolbox.

Declaration
public override Size ItemSize { get; set; }
Property Value
System.Drawing.Size

Overrides
RadListView.ItemSize

ItemSpacing

Gets or sets the spacing between diagram shape items in the toolbox layout.

Declaration
public override int ItemSpacing { get; set; }
Property Value
System.Int32

Overrides
RadListView.ItemSpacing

ShowGroups

Gets or sets a value indicating whether diagram shape items should be organized and displayed in groups within the toolbox.

Declaration
public override bool ShowGroups { get; set; }
Property Value
System.Boolean

Overrides
RadListView.ShowGroups

ThemeClassName

Gets the theme class name for the toolbox control.

Declaration
public override string ThemeClassName { get; }
Property Value
System.String

Overrides
RadControl.ThemeClassName

ViewType

Gets or sets the visual representation type for displaying diagram shapes in the toolbox.

Declaration
public override ListViewType ViewType { get; set; }
Property Value
ListViewType

Overrides
RadListView.ViewType

Methods

CreateDataItems()

Creates and initializes the default collection of diagram shape items organized into predefined groups for the toolbox.

Declaration
protected virtual void CreateDataItems()

CreateDiagramShape(PreviewDragStartEventArgs)

Creates a diagram shape instance based on the drag start event arguments for drag-and-drop operations.

Declaration
protected virtual RadDiagramShape CreateDiagramShape(PreviewDragStartEventArgs e)
Parameters
PreviewDragStartEventArgs e

The preview drag start event arguments containing information about the dragged item.

Returns
RadDiagramShape

A RadDiagramShape instance or null if no shape should be created.

DragDropService_PreviewDragDrop(Object, RadDropEventArgs)

Handles the preview drag drop event to finalize the creation and placement of diagram shapes onto the target diagram.

Declaration
protected virtual void DragDropService_PreviewDragDrop(object sender, RadDropEventArgs e)
Parameters
System.Object sender

The source of the event.

RadDropEventArgs e

The drop event arguments containing drop location and target information.

DragDropService_PreviewDragOver(Object, RadDragOverEventArgs)

Handles the preview drag over event to determine whether the current drag target can accept the dragged diagram shape.

Declaration
protected virtual void DragDropService_PreviewDragOver(object sender, RadDragOverEventArgs e)
Parameters
System.Object sender

The source of the event.

RadDragOverEventArgs e

The drag over event arguments containing hit target and drag operation information.

DragDropService_PreviewDragStart(Object, PreviewDragStartEventArgs)

Handles the preview drag start event to initiate drag-and-drop operations for diagram shapes from the toolbox.

Declaration
protected virtual void DragDropService_PreviewDragStart(object sender, PreviewDragStartEventArgs e)
Parameters
System.Object sender

The source of the event.

PreviewDragStartEventArgs e

The preview drag start event arguments containing drag operation details.

PreviewDragDropCore(PreviewDragStartEventArgs)

Performs the core logic for processing drag-and-drop operations when dragging diagram shapes from the toolbox.

Declaration
protected virtual void PreviewDragDropCore(PreviewDragStartEventArgs e)
Parameters
PreviewDragStartEventArgs e

The preview drag start event arguments containing information about the dragged shape.

RadDiagramToolbox_VisualItemCreating(Object, ListViewVisualItemCreatingEventArgs)

Handles the visual item creation event to customize the appearance of diagram shape items in the toolbox.

Declaration
protected virtual void RadDiagramToolbox_VisualItemCreating(object sender, ListViewVisualItemCreatingEventArgs e)
Parameters
System.Object sender

The source of the event.

ListViewVisualItemCreatingEventArgs e

The event arguments containing visual item creation information.

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.