Class HeaderFooterDialog
The HeaderFooterDialog provides an interactive form-based interface for initializing the Header and Footer settings of a diagram. Initializing the HeaderFooterDialog's Header and Header properties with the corresponding Header and Footer members of the diagram model's HeaderFooterData object will let users configure the header/footers settings using the dialog controls.
Please refer to the DiagramBuilder sample to see the HeaderFooterDialog in use.
Inheritance
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class HeaderFooterDialog : Form
Constructors
HeaderFooterDialog()
Initializes a new instance of the HeaderFooterDialog class.
Declaration
public HeaderFooterDialog()
Properties
Footer
Declaration
public Footer Footer { get; set; }
Property Value
Type |
---|
Footer |
Header
Declaration
public Header Header { get; set; }
Property Value
Type |
---|
Header |
MeasurementUnits
Gets or sets the measurement units.
Declaration
public MeasureUnits MeasurementUnits { get; set; }
Property Value
Type | Description |
---|---|
MeasureUnits | The measurement units. |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
ProcessDialogKey(Keys)
Processes a dialog box key.
Declaration
protected override bool ProcessDialogKey(Keys keyData)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Keys | keyData | One of the System.Windows.Forms.Keys values that represents the key to process. |
Returns
Type | Description |
---|---|
System.Boolean | true if the keystroke was processed and consumed by the control; otherwise, false to allow further processing. |