Back to Devexpress

DiagramContainer.HeaderPadding Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontainer.md

latest2.0 KB
Original Source

DiagramContainer.HeaderPadding Property

Specifies the header’s padding within the container’s boundaries. This is a dependency property.

Namespace : DevExpress.Xpf.Diagram

Assembly : DevExpress.Xpf.Diagram.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public Thickness HeaderPadding { get; set; }
vb
Public Property HeaderPadding As Thickness

Property Value

TypeDescription
Thickness

A System.Windows.Thickness object specifying padding distances.

|

Remarks

Use this property when you need to provide additional spacing between items and control boundaries.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HeaderPadding property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-diagram-custom-context-menu/CS/WpfApp7/MainWindow.xaml#L20

xml
Width="100"/>
<dxdiag:DiagramContainer HeaderPadding="8,8,8,8"
                         Height="200"

See Also

DiagramContainer Class

DiagramContainer Members

DevExpress.Xpf.Diagram Namespace