ClassDiagramDataLayer
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class DiagramDataLayer : INotifyPropertyChanged
Inheritance: objectDiagramDataLayer
Implements:
Constructors
DiagramDataLayer(RadDiagramElement)
Declaration
public DiagramDataLayer(RadDiagramElement diagramElement)
Parameters
diagramElement
Properties
ConnectionDataMember
Gets or sets the links data member.
Declaration
[Browsable(true)]
public string ConnectionDataMember { get; set; }
Property Value
The data member.
ConnectionSourceCapTypeMember
Gets or sets the ConnectionSourceCapTypeMember data member.
Declaration
[Browsable(true)]
public string ConnectionSourceCapTypeMember { get; set; }
Property Value
The data member.
ConnectionSourceConnectorMember
Gets or sets the SourceConnector data member.
Declaration
[Browsable(true)]
public string ConnectionSourceConnectorMember { get; set; }
Property Value
The data member.
ConnectionSourceShapeIdMember
Gets or sets the ConnectionTargetShapeIdMember data member.
Declaration
public string ConnectionSourceShapeIdMember { get; set; }
Property Value
The data member.
ConnectionTargetCapTypeMember
Gets or sets the ConnectionTargetCapTypeMember data member.
Declaration
[Browsable(true)]
public string ConnectionTargetCapTypeMember { get; set; }
Property Value
The data member.
ConnectionTargetConnectorMember
Gets or sets the Target connector data member.
Declaration
[Browsable(true)]
public string ConnectionTargetConnectorMember { get; set; }
Property Value
The data member.
ConnectionTargetShapeIdMember
Gets or sets the ConnectionTargetShapeIdMember data member.
Declaration
[Browsable(true)]
public string ConnectionTargetShapeIdMember { get; set; }
Property Value
The data member.
ConnectionTextMember
Gets or sets the SourceConnector data member.
Declaration
[Browsable(true)]
public string ConnectionTextMember { get; set; }
Property Value
The data member.
ConnectionsCurrencyManager
Declaration
public CurrencyManager ConnectionsCurrencyManager { get; set; }
Property Value
DataSource
Gets or sets the data source of the RadDiagram/>.
Declaration
[Browsable(false)]
public object DataSource { get; set; }
Property Value
ElementFactory
Declaration
public virtual IDiagramDataLayerElementProvider ElementFactory { get; set; }
Property Value
IsDataBound
Gets a value indicating whether this instance is data bound.
Declaration
public bool IsDataBound { get; }
Property Value
true if this instance is data bound; otherwise, false.
ShapeDataMember
Gets or sets the links data member.
Declaration
[Browsable(true)]
public string ShapeDataMember { get; set; }
Property Value
The data member.
ShapeHeightMember
Gets or sets the Shape height data member.
Declaration
[Browsable(true)]
public string ShapeHeightMember { get; set; }
Property Value
The data member.
ShapeIdMember
Gets or sets the ID data member.
Declaration
[Browsable(true)]
public string ShapeIdMember { get; set; }
Property Value
The data member.
ShapeTextMember
Gets or sets the links data member.
Declaration
[Browsable(true)]
public string ShapeTextMember { get; set; }
Property Value
The data member.
ShapeTypeMember
Gets or sets the Shape data member.
Declaration
[Browsable(true)]
public string ShapeTypeMember { get; set; }
Property Value
The data member.
ShapeWidthMember
Gets or sets the Shape height data member.
Declaration
[Browsable(true)]
public string ShapeWidthMember { get; set; }
Property Value
The data member.
ShapeXMember
Gets or sets the Shape X position data member.
Declaration
[Browsable(true)]
public string ShapeXMember { get; set; }
Property Value
The data member.
ShapeYMember
Gets or sets the Shape Y position data member.
Declaration
[Browsable(true)]
public string ShapeYMember { get; set; }
Property Value
The data member.
ShapesCurrencyManager
Declaration
public CurrencyManager ShapesCurrencyManager { get; set; }
Property Value
Methods
CreateDiagramConnectionItem(object)
Declaration
protected virtual RadDiagramConnection CreateDiagramConnectionItem(object dataItem)
Parameters
dataItem
Returns
CreateDiagramShapeItem(object)
Declaration
protected virtual RadDiagramItem CreateDiagramShapeItem(object dataItem)
Parameters
dataItem
Returns
DataManagerItemChanged()
Declaration
protected virtual void DataManagerItemChanged()
GetBoundValue(object, string, PropertyDescriptorCollection)
Declaration
public object GetBoundValue(object dataBoundItem, string propertyName, PropertyDescriptorCollection properties)
Parameters
dataBoundItem
propertyName
properties
Returns
OnItemDataBound(DiagramItemDataBoundEventArgs)
Declaration
protected virtual void OnItemDataBound(DiagramItemDataBoundEventArgs e)
Parameters
e
OnPropertyChanged(string)
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
Rebind(object)
Declaration
public void Rebind(object newDataSource)
Parameters
newDataSource
SetBoundValue(object, string, object, PropertyDescriptorCollection)
Declaration
public void SetBoundValue(object dataBoundItem, string propertyName, object value, PropertyDescriptorCollection properties)
Parameters
dataBoundItem
propertyName
value
properties
SetConnectiosPropetiesCore(IList)
Declaration
protected virtual void SetConnectiosPropetiesCore(IList items)
Parameters
items
SetShapesPropertiesCore(IList)
Declaration
protected virtual void SetShapesPropertiesCore(IList items)
Parameters
items
Events
ItemDataBound
Declaration
public event DiagramItemDataBindingEventHandler ItemDataBound
Event Value
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements