Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Expand]Controls and Libraries
 [Expand]Common Features
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.DataAccess.UI.Design
  [Expand]DevExpress.DataAccess.UI.EntityFramework
  [Expand]DevExpress.DataAccess.UI.Excel
  [Expand]DevExpress.DataAccess.UI.Localization
  [Expand]DevExpress.DataAccess.UI.ObjectBinding
  [Expand]DevExpress.DataAccess.UI.Sql
  [Expand]DevExpress.DataAccess.UI.Wizard
  [Expand]DevExpress.DataAccess.UI.Wizard.Services
  [Expand]DevExpress.DataAccess.UI.Wizard.Views
  [Expand]DevExpress.DocumentView
  [Expand]DevExpress.DocumentView.Controls
  [Expand]DevExpress.LookAndFeel
  [Expand]DevExpress.LookAndFeel.Helpers
  [Expand]DevExpress.Skins
  [Expand]DevExpress.Snap
  [Expand]DevExpress.Snap.API.Native
  [Expand]DevExpress.Snap.Core
  [Expand]DevExpress.Snap.Core.API
  [Expand]DevExpress.Snap.Core.Fields
  [Expand]DevExpress.Snap.Core.Forms
  [Expand]DevExpress.Snap.Core.Options
  [Expand]DevExpress.Snap.Core.Services
  [Expand]DevExpress.Snap.Extensions
  [Expand]DevExpress.Snap.Extensions.Localization
  [Expand]DevExpress.Snap.Extensions.UI
  [Expand]DevExpress.Snap.Localization
  [Expand]DevExpress.Snap.Options
  [Expand]DevExpress.Snap.Services
  [Expand]DevExpress.Utils
  [Expand]DevExpress.Utils.Animation
  [Expand]DevExpress.Utils.Controls
  [Expand]DevExpress.Utils.Drawing
  [Expand]DevExpress.Utils.Menu
  [Expand]DevExpress.Utils.Taskbar
  [Expand]DevExpress.Utils.Taskbar.Core
  [Expand]DevExpress.Utils.UI.Localization
  [Expand]DevExpress.Utils.VisualEffects
  [Expand]DevExpress.Utils.Win
  [Expand]DevExpress.XtraBars
  [Expand]DevExpress.XtraBars.Alerter
  [Expand]DevExpress.XtraBars.Docking
  [Expand]DevExpress.XtraBars.Docking2010
  [Expand]DevExpress.XtraBars.Docking2010.Customization
  [Expand]DevExpress.XtraBars.Docking2010.Views
  [Expand]DevExpress.XtraBars.Docking2010.Views.NativeMdi
  [Expand]DevExpress.XtraBars.Docking2010.Views.Tabbed
  [Expand]DevExpress.XtraBars.Docking2010.Views.Widget
  [Expand]DevExpress.XtraBars.Docking2010.Views.WindowsUI
  [Expand]DevExpress.XtraBars.Localization
  [Expand]DevExpress.XtraBars.Navigation
  [Expand]DevExpress.XtraBars.Ribbon
  [Expand]DevExpress.XtraBars.Ribbon.Gallery
  [Expand]DevExpress.XtraBars.Ribbon.ViewInfo
  [Expand]DevExpress.XtraBars.ToastNotifications
  [Expand]DevExpress.XtraBars.Utils
  [Expand]DevExpress.XtraBars.WinRTLiveTiles
  [Expand]DevExpress.XtraCharts
  [Expand]DevExpress.XtraCharts.Designer
  [Expand]DevExpress.XtraCharts.Wizard
  [Expand]DevExpress.XtraDataLayout
  [Collapse]DevExpress.XtraDiagram
   [Expand]CustomDrawBackgroundEventArgs Class
   [Expand]CustomDrawItemEventArgs Class
    CustomDrawItemMode Enumeration
   [Expand]CustomHitTestEventArgs Class
   [Expand]DiagramClosedEditorEventArgs Class
   [Expand]DiagramConnectionChangedEventArgs Class
   [Expand]DiagramConnectionChangingEventArgs Class
   [Expand]DiagramConnector Class
   [Expand]DiagramContainer Class
   [Expand]DiagramContainerBase Class
   [Expand]DiagramControl Class
   [Expand]DiagramDataBindingController Class
   [Expand]DiagramDataBindingControllerBase Class
    DiagramDrawingContext Enumeration
   [Expand]DiagramImage Class
   [Collapse]DiagramItem Class
     DiagramItem Members
    [Expand]DiagramItem Constructor
    [Expand]DiagramItem Properties
    [Expand]DiagramItem Events
    [Expand]DiagramItem Methods
   [Expand]DiagramItemCollection Class
   [Expand]DiagramItemCreatingEventArgs Class
   [Expand]DiagramOrgChartController Class
   [Expand]DiagramShape Class
   [Expand]DiagramShowingOpenDialogEventArgs Class
   [Expand]DiagramShowingOpenImageDialogEventArgs Class
   [Expand]DiagramShowingSaveDialogEventArgs Class
  [Expand]DevExpress.XtraDiagram.Options
  [Expand]DevExpress.XtraEditors
  [Expand]DevExpress.XtraEditors.ButtonPanel
  [Expand]DevExpress.XtraEditors.Calendar
  [Expand]DevExpress.XtraEditors.Camera
  [Expand]DevExpress.XtraEditors.Container
  [Expand]DevExpress.XtraEditors.Controls
  [Expand]DevExpress.XtraEditors.CustomEditor
  [Expand]DevExpress.XtraEditors.DXErrorProvider
  [Expand]DevExpress.XtraEditors.Filtering
  [Expand]DevExpress.XtraEditors.Mask
  [Expand]DevExpress.XtraEditors.Persistent
  [Expand]DevExpress.XtraEditors.Repository
  [Expand]DevExpress.XtraEditors.ViewInfo
  [Expand]DevExpress.XtraFilterEditor
  [Expand]DevExpress.XtraGauges.Presets.Styles
  [Expand]DevExpress.XtraGauges.Win
  [Expand]DevExpress.XtraGauges.Win.Base
  [Expand]DevExpress.XtraGauges.Win.Gauges.Circular
  [Expand]DevExpress.XtraGauges.Win.Gauges.Digital
  [Expand]DevExpress.XtraGauges.Win.Gauges.Linear
  [Expand]DevExpress.XtraGauges.Win.Gauges.State
  [Expand]DevExpress.XtraGrid
  [Expand]DevExpress.XtraGrid.Columns
  [Expand]DevExpress.XtraGrid.EditForm
  [Expand]DevExpress.XtraGrid.FilterEditor
  [Expand]DevExpress.XtraGrid.Localization
  [Expand]DevExpress.XtraGrid.Views.BandedGrid
  [Expand]DevExpress.XtraGrid.Views.BandedGrid.ViewInfo
  [Expand]DevExpress.XtraGrid.Views.Base
  [Expand]DevExpress.XtraGrid.Views.Base.ViewInfo
  [Expand]DevExpress.XtraGrid.Views.Card
  [Expand]DevExpress.XtraGrid.Views.Card.ViewInfo
  [Expand]DevExpress.XtraGrid.Views.Grid
  [Expand]DevExpress.XtraGrid.Views.Grid.ViewInfo
  [Expand]DevExpress.XtraGrid.Views.Layout
  [Expand]DevExpress.XtraGrid.Views.Layout.Events
  [Expand]DevExpress.XtraGrid.Views.Layout.ViewInfo
  [Expand]DevExpress.XtraGrid.Views.Printing
  [Expand]DevExpress.XtraGrid.Views.Tile
  [Expand]DevExpress.XtraGrid.Views.WinExplorer
  [Expand]DevExpress.XtraGrid.WinExplorer
  [Expand]DevExpress.XtraLayout
  [Expand]DevExpress.XtraLayout.Customization
  [Expand]DevExpress.XtraLayout.HitInfo
  [Expand]DevExpress.XtraLayout.Localization
  [Expand]DevExpress.XtraLayout.Utils
  [Expand]DevExpress.XtraMap
  [Expand]DevExpress.XtraMap.Printing
  [Expand]DevExpress.XtraNavBar
  [Expand]DevExpress.XtraNavBar.ViewInfo
  [Expand]DevExpress.XtraPdfViewer
  [Expand]DevExpress.XtraPdfViewer.Commands
  [Expand]DevExpress.XtraPdfViewer.Localization
  [Expand]DevExpress.XtraPivotGrid
  [Expand]DevExpress.XtraPivotGrid.Data
  [Expand]DevExpress.XtraPrinting
  [Expand]DevExpress.XtraPrinting.Control
  [Expand]DevExpress.XtraPrinting.Preview
  [Expand]DevExpress.XtraPrintingLinks
  [Expand]DevExpress.XtraReports.UI
  [Expand]DevExpress.XtraRichEdit
  [Expand]DevExpress.XtraRichEdit.Commands
  [Expand]DevExpress.XtraRichEdit.Export
  [Expand]DevExpress.XtraRichEdit.Import
  [Expand]DevExpress.XtraRichEdit.Localization
  [Expand]DevExpress.XtraRichEdit.Menu
  [Expand]DevExpress.XtraScheduler
  [Expand]DevExpress.XtraScheduler.Drawing
  [Expand]DevExpress.XtraScheduler.Printing
  [Expand]DevExpress.XtraScheduler.Reporting
  [Expand]DevExpress.XtraScheduler.Reporting.UI
  [Expand]DevExpress.XtraScheduler.Services
  [Expand]DevExpress.XtraScheduler.Services.Implementation
  [Expand]DevExpress.XtraScheduler.UI
  [Expand]DevExpress.XtraSpellChecker
  [Expand]DevExpress.XtraSpellChecker.Localization
  [Expand]DevExpress.XtraSplashForm
  [Expand]DevExpress.XtraSplashScreen
  [Expand]DevExpress.XtraSpreadsheet
  [Expand]DevExpress.XtraSpreadsheet.Services
  [Expand]DevExpress.XtraTab
  [Expand]DevExpress.XtraTab.Buttons
  [Expand]DevExpress.XtraTab.ViewInfo
  [Expand]DevExpress.XtraTabbedMdi
  [Expand]DevExpress.XtraToolbox
  [Expand]DevExpress.XtraTreeList
  [Expand]DevExpress.XtraTreeList.Columns
  [Expand]DevExpress.XtraTreeList.Data
  [Expand]DevExpress.XtraTreeList.Localization
  [Expand]DevExpress.XtraTreeList.Menu
  [Expand]DevExpress.XtraTreeList.Nodes
  [Expand]DevExpress.XtraTreeList.Nodes.Operations
  [Expand]DevExpress.XtraTreeList.StyleFormatConditions
  [Expand]DevExpress.XtraTreeMap
  [Expand]DevExpress.XtraVerticalGrid
  [Expand]DevExpress.XtraVerticalGrid.Events
  [Expand]DevExpress.XtraVerticalGrid.Localization
  [Expand]DevExpress.XtraVerticalGrid.Rows
  [Expand]DevExpress.XtraWaitForm
  [Expand]DevExpress.XtraWizard
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

DiagramItem Members

The base class for diagram items.

Expanded Public Constructors

Show: Inherited
  Name Description
Public method DiagramItem Overloaded. Initializes a new instance of the DiagramItem class.
Top

Expanded Public Properties

Show: Inherited
  Name Description
Public property ActualPadding Gets the actual padding for the diagram item. This is a dependency property.
Public property ActualPaddingF
Public property AffectedByLayoutAlgorithms Specifies whether the item can be realigned by the automatic layout algoritms.
Public property Anchors Gets or sets the sides of the root item (page) to which the current DiagramItem object is anchored.
Public property Angle Specifies the angle by which the diagram item is rotated counterclockwise around its anchor point. This is a dependency property.
Public property Appearance Provides access to the item's appearance settings.
Public property AreSubordinatesVisible Gets whether the current item's subordinates are visible. This is a dependency property.
Public property BackgroundId This member supports the internal infrastructure, and is not intended to be used directly from your code.
Public property Bindings Gets a collection of current diagram item's bindings. This is a dependency property.
Public property Bounds Gets or sets the item bounds.
Public property CanAttachConnectorBeginPoint Specifies whether end-users can attach a connector's beginning point to the item.
Public property CanAttachConnectorEndPoint Specifies whether end-users can attach the end point of a connector to the item.
Public property CanChangeParent Specifies whether to allow end-users to place the item into another container.
Public property CanCopy Specifies whether to allow end-users to copy the item to the clipboard.
Public property CanCopyWithoutParent Specifies whether to allow end-users to copy the item placed in a container.
Public property CanDelete Specifies whether to allow end-users to delete the item.
Public property CanDeleteWithoutParent Specifies whether to allow end-users to delete the item placed in a container.
Public property CanEdit Specifies whether to allow end-users to edit the text displayed by the item.
Public property CanHideSubordinates Gets or sets whether an end-user can hide the subordinates of the current diagram item. This is a dependency property.
Public property CanMove Specifies whether to allow end-users to move the item across the canvas.
Public property CanResize Specifies whether to allow end-users to resize the item.
Public property CanRotate Specifies whether to allow end-users to rotate the item.
Public property CanSelect Specifies whether to allow end-users to select the item.
Public property CanSnapToOtherItems Specifies whether the item can snap to other items.
Public property CanSnapToThisItem Specifies whether other items can snap to this item.
Public property CollapseButtonHorizontalAlignment Gets or sets the horizontal alignment of the collapse button.
Public property CollapseButtonOffset Gets or sets the collapse button's offset.
Public property CollapseButtonPosition Gets or sets the position of the collapse button.
Public property CollapseButtonVerticalAlignment Gets or sets the vertical alignment of the collapse button.
Public property CollapseButtonVisibilityMode Gets or sets a value that indicates when the collapse button is displayed. This is a dependency property.
Public property ConnectionPoints Specifies the list of points on the perimeter of a shape at which connectors can terminate.
Public property Container Gets the System.ComponentModel.IContainer that contains the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
Public property CustomStyleId This member supports the internal infrastructure, and is not intended to be used directly from your code.
Public property DataContext
Public property ForegroundId This member supports the internal infrastructure, and is not intended to be used directly from your code.
Public property Height Gets or sets the item height.
Public property IncomingConnectors Gets the collection of the current item's incoming connectors.
Public property IsDisposed Gets whether the current diagram item is disposed.
Public property IsSelected Gets whether the current item is selected.
Public property IsTextEditMode
Public property IsVisible Gets whether the current diagram item is visible.
Public property MinHeight Gets or sets the minimum item height.
Public property MinSize Gets or sets the minimum item size.
Public property MinWidth Gets or sets the minimum item width.
Public property MoveWithSubordinates Gets or sets whether moving the current diagram item also moves its subordinates. This is a dependency property.
Public property OutgoingConnectors Gets the collection of the current item's outgoing connectors.
Public property Owner Gets the owner of the current diagram item.
Public property Padding Gets or sets the amount of space between the item's borders and its contents.
Public property ParentItem Returns the current item's parent item.
Public property Position Gets or sets the coordinates of the item's upper left corner.
Public property SelectionLayer This member supports the internal infrastructure, and is not intended to be used directly from your code.
Public property Site Gets or sets the System.ComponentModel.ISite of the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
Public property Size Gets or sets the size of the item.
Public property StrokeId This member supports the internal infrastructure, and is not intended to be used directly from your code.
Public property TabStop Gets or sets whether the current item can be navigated to during item navigation using the TAB key.
Public property Tag Gets or sets an arbitrary object value that can be used to store custom information about this element.
Public property TemplateCondition Gets or sets a condition that is used to choose a template for the diagram item. This is a dependency property.
Public property TemplateName Identifies the item as a template used by data binding controllers.
Public property ThemeStyleId Gets or sets the identifier of a style applied to the diagram item.
Public property Weight This member supports the internal infrastructure and is not intended to be used directly from your code.
Public property Width Gets or sets the item width.
Public property X Returns the horizontal coordinate of the item's upper left corner.
Public property Y Returns the vertical coordinate of the item's upper left corner.
Top

Expanded Public Methods

Show: Inherited
  Name Description
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public method Dispose Releases all resources used by the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
Public method Equals Determines whether the specified System.Object is equal to the current System.Object. (Inherited from System.Object)
Public methodStatic member Equals Determines whether the specified System.Object instances are considered equal. (Inherited from System.Object)
Public method GetDiagram
Public method GetHashCode Serves as a hash function for a particular type. System.Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from System.Object)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public method GetType Gets the System.Type of the current instance. (Inherited from System.Object)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public methodStatic member ReferenceEquals Determines whether the specified System.Object instances are the same instance. (Inherited from System.Object)
Public method ToString Returns a System.String containing the name of the System.ComponentModel.Component, if any. This method should not be overridden. (Inherited from System.ComponentModel.Component)
Top

Expanded Public Events

Show: Inherited
  Name Description
Public event AngleChanged Fires each time the value of the Angle property is changed.
Public event BoundsChanged Fires each time the value of the Bounds property is changed.
Public event Disposed Occurs when the component is disposed by a call to the System.ComponentModel.Component.Dispose method. (Inherited from System.ComponentModel.Component)
Public event HeightChanged Fires each time the value of the Height property is changed.
Public event PositionChanged Fires each time the value of the Position property is changed.
Public event SizeChanged Fires each time the value of either Height or Width property is changed.
Public event WidthChanged Fires each time the value of the Width property is changed.
Public event XChanged Fires each time the value of the X property is changed.
Public event YChanged Fires each time the value of the Y property is changed.
Top

Expanded See Also

How would you rate this topic?​​​​​​​