wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontainer.md
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
public Thickness HeaderPadding { get; set; }
Public Property HeaderPadding As Thickness
| Type | Description |
|---|---|
| Thickness |
A System.Windows.Thickness object specifying padding distances.
|
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
Width="100"/>
<dxdiag:DiagramContainer HeaderPadding="8,8,8,8"
Height="200"
See Also