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
   [Expand]DiagramItem Class
   [Expand]DiagramItemCollection Class
   [Expand]DiagramItemCreatingEventArgs Class
   [Expand]DiagramOrgChartController Class
   [Collapse]DiagramShape Class
     DiagramShape Members
    [Expand]DiagramShape Constructor
    [Expand]DiagramShape Properties
    [Expand]DiagramShape Events
   [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

DiagramShape Members

Displays a shape on the diagram canvas.

Expanded Public Constructors

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

Expanded See Also

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