Class
DiagramDataLayer

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

cs-api-definition
public class DiagramDataLayer : INotifyPropertyChanged

Inheritance: objectDiagramDataLayer

Implements: INotifyPropertyChanged

Constructors

DiagramDataLayer(RadDiagramElement)

Declaration

cs-api-definition
public DiagramDataLayer(RadDiagramElement diagramElement)

Parameters

diagramElement

RadDiagramElement

Properties

ConnectionDataMember

Gets or sets the links data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ConnectionDataMember { get; set; }

Property Value

string

The data member.

ConnectionSourceCapTypeMember

Gets or sets the ConnectionSourceCapTypeMember data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ConnectionSourceCapTypeMember { get; set; }

Property Value

string

The data member.

ConnectionSourceConnectorMember

Gets or sets the SourceConnector data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ConnectionSourceConnectorMember { get; set; }

Property Value

string

The data member.

ConnectionSourceShapeIdMember

Gets or sets the ConnectionTargetShapeIdMember data member.

Declaration

cs-api-definition
public string ConnectionSourceShapeIdMember { get; set; }

Property Value

string

The data member.

ConnectionTargetCapTypeMember

Gets or sets the ConnectionTargetCapTypeMember data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ConnectionTargetCapTypeMember { get; set; }

Property Value

string

The data member.

ConnectionTargetConnectorMember

Gets or sets the Target connector data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ConnectionTargetConnectorMember { get; set; }

Property Value

string

The data member.

ConnectionTargetShapeIdMember

Gets or sets the ConnectionTargetShapeIdMember data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ConnectionTargetShapeIdMember { get; set; }

Property Value

string

The data member.

ConnectionTextMember

Gets or sets the SourceConnector data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ConnectionTextMember { get; set; }

Property Value

string

The data member.

ConnectionsCurrencyManager

Declaration

cs-api-definition
public CurrencyManager ConnectionsCurrencyManager { get; set; }

Property Value

CurrencyManager

DataSource

Gets or sets the data source of the RadDiagram/>.

Declaration

cs-api-definition
[Browsable(false)]
public object DataSource { get; set; }

Property Value

object

ElementFactory

Declaration

cs-api-definition
public virtual IDiagramDataLayerElementProvider ElementFactory { get; set; }

Property Value

IDiagramDataLayerElementProvider

IsDataBound

Gets a value indicating whether this instance is data bound.

Declaration

cs-api-definition
public bool IsDataBound { get; }

Property Value

bool

true if this instance is data bound; otherwise, false.

ShapeDataMember

Gets or sets the links data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ShapeDataMember { get; set; }

Property Value

string

The data member.

ShapeHeightMember

Gets or sets the Shape height data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ShapeHeightMember { get; set; }

Property Value

string

The data member.

ShapeIdMember

Gets or sets the ID data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ShapeIdMember { get; set; }

Property Value

string

The data member.

ShapeTextMember

Gets or sets the links data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ShapeTextMember { get; set; }

Property Value

string

The data member.

ShapeTypeMember

Gets or sets the Shape data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ShapeTypeMember { get; set; }

Property Value

string

The data member.

ShapeWidthMember

Gets or sets the Shape height data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ShapeWidthMember { get; set; }

Property Value

string

The data member.

ShapeXMember

Gets or sets the Shape X position data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ShapeXMember { get; set; }

Property Value

string

The data member.

ShapeYMember

Gets or sets the Shape Y position data member.

Declaration

cs-api-definition
[Browsable(true)]
public string ShapeYMember { get; set; }

Property Value

string

The data member.

ShapesCurrencyManager

Declaration

cs-api-definition
public CurrencyManager ShapesCurrencyManager { get; set; }

Property Value

CurrencyManager

Methods

CreateDiagramConnectionItem(object)

Declaration

cs-api-definition
protected virtual RadDiagramConnection CreateDiagramConnectionItem(object dataItem)

Parameters

dataItem

object

Returns

RadDiagramConnection

CreateDiagramShapeItem(object)

Declaration

cs-api-definition
protected virtual RadDiagramItem CreateDiagramShapeItem(object dataItem)

Parameters

dataItem

object

Returns

RadDiagramItem

DataManagerItemChanged()

Declaration

cs-api-definition
protected virtual void DataManagerItemChanged()

GetBoundValue(object, string, PropertyDescriptorCollection)

Declaration

cs-api-definition
public object GetBoundValue(object dataBoundItem, string propertyName, PropertyDescriptorCollection properties)

Parameters

dataBoundItem

object

propertyName

string

properties

PropertyDescriptorCollection

Returns

object

OnItemDataBound(DiagramItemDataBoundEventArgs)

Declaration

cs-api-definition
protected virtual void OnItemDataBound(DiagramItemDataBoundEventArgs e)

Parameters

e

DiagramItemDataBoundEventArgs

OnPropertyChanged(string)

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

Rebind(object)

Declaration

cs-api-definition
public void Rebind(object newDataSource)

Parameters

newDataSource

object

SetBoundValue(object, string, object, PropertyDescriptorCollection)

Declaration

cs-api-definition
public void SetBoundValue(object dataBoundItem, string propertyName, object value, PropertyDescriptorCollection properties)

Parameters

dataBoundItem

object

propertyName

string

value

object

properties

PropertyDescriptorCollection

SetConnectiosPropetiesCore(IList)

Declaration

cs-api-definition
protected virtual void SetConnectiosPropetiesCore(IList items)

Parameters

items

IList

SetShapesPropertiesCore(IList)

Declaration

cs-api-definition
protected virtual void SetShapesPropertiesCore(IList items)

Parameters

items

IList

Events

ItemDataBound

Declaration

cs-api-definition
public event DiagramItemDataBindingEventHandler ItemDataBound

Event Value

DiagramItemDataBindingEventHandler

PropertyChanged

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged