Gets or sets a custom ControlTemplate for the ExpandButton class. This is a dependency property.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
SyntaxC#
Copy Code
|
|---|
public ControlTemplate ExpandButtonTemplate { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property ExpandButtonTemplate As ControlTemplate |
A ControlTemplate instance that defines the visual structure of the expand/collapse button.
ExampleXAML
Copy Code
|
|---|
<ControlTemplate x:Key="CustomExpandButton" TargetType="diag:ExpandButton"> <diag:Diagram Name="diagram" ExpandButtonTemplate="{StaticResource CustomExpandButton}" ... |
See Also