Abstract base class for ContentControls that can be used
to display IModelItems like INode, ILabel, etc. in a
CanvasControl.
Namespace: yWorks.yFiles.UI.DrawingAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
public abstract class GraphItemControlBase<TModelItem> : ContentControl where TModelItem : class, IModelItem |
| Visual Basic |
|---|
Public MustInherit Class GraphItemControlBase(Of TModelItem As {Class, IModelItem}) _ Inherits ContentControl |
Type Parameters
- TModelItem
- The type of the model item.
Remarks
Non-abstract subclasses of this control are used by INodeStyle implementations and the like
for the visualization of the rendering.
Inheritance Hierarchy
System..::..Object
System.Windows.Threading..::..DispatcherObject
System.Windows..::..DependencyObject
System.Windows.Media..::..Visual
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
System.Windows.Controls..::..ContentControl
yWorks.yFiles.UI.Drawing..::..GraphItemControlBase<(Of <(<'TModelItem>)>)>
yWorks.yFiles.UI.Drawing..::..EdgeSegmentControl
yWorks.yFiles.UI.Drawing..::..LabelControl
yWorks.yFiles.UI.Drawing..::..NodeControl
yWorks.yFiles.UI.Drawing..::..PortControl
System.Windows.Threading..::..DispatcherObject
System.Windows..::..DependencyObject
System.Windows.Media..::..Visual
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
System.Windows.Controls..::..ContentControl
yWorks.yFiles.UI.Drawing..::..GraphItemControlBase<(Of <(<'TModelItem>)>)>
yWorks.yFiles.UI.Drawing..::..EdgeSegmentControl
yWorks.yFiles.UI.Drawing..::..LabelControl
yWorks.yFiles.UI.Drawing..::..NodeControl
yWorks.yFiles.UI.Drawing..::..PortControl