Class ContainerHeader
Represents a Header element for IContainer elements.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class ContainerHeader : Control, IContainerHeaderView, IView, ISharedData, IDisposable, IContainerHeader, IDiagramElement, IID, INotifyPropertyChanged
Constructors
ContainerHeader()
Declaration
public ContainerHeader()
Fields
AnnotationProperty
Identifies the Annotation dependency property.
Declaration
public static DependencyProperty AnnotationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IDProperty
Identifies the ID dependency property.
Declaration
public static DependencyProperty IDProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
KeyProperty
Identifies the Key dependency property.
Declaration
public static DependencyProperty KeyProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShapeStyleProperty
Identifies the ShapeStyle dependency property.
Declaration
public static DependencyProperty ShapeStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
UnitHeightProperty
Identifies the UnitHeight dependency property.
Declaration
public static DependencyProperty UnitHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
UnitWidthProperty
Identifies the UnitWidth dependency property.
Declaration
public static DependencyProperty UnitWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Annotation
Represent a block of text that can be displayed over a Header of IContainer.
Declaration
public IAnnotation Annotation { get; set; }
Property Value
Type |
---|
IAnnotation |
BoundingRectangle
Declaration
public Rect BoundingRectangle { get; }
Property Value
Type |
---|
System.Windows.Rect |
ID
Gets or sets the id of the header.
Declaration
public object ID { get; set; }
Property Value
Type |
---|
System.Object |
Info
Gets or sets the more / additional information about the Container's header block.
Declaration
public IContainerHeaderInfo Info { get; set; }
Property Value
Type |
---|
IContainerHeaderInfo |
Key
Gets or sets the key of the header.
Declaration
public object Key { get; set; }
Property Value
Type |
---|
System.Object |
ShapeStyle
Gets or sets the style of the Container's header block.
Declaration
public Style ShapeStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
UnitHeight
Gets or sets the height of the Container's header block.
Declaration
public double UnitHeight { get; set; }
Property Value
Type |
---|
System.Double |
UnitWidth
Gets or sets the width of the Container's header block.
Declaration
public double UnitWidth { get; set; }
Property Value
Type |
---|
System.Double |
Methods
OnApplyTemplate()
Method to apply template value to ContainerHeader class elements.
Declaration
public override void OnApplyTemplate()
OnPropertyChanged(String)
Method for property values are changed for ContainerHeader class.
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Property name. |
Events
PropertyChanged
Event to notify when property values are changed for ContainerHeader class.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |