| Visual Basic (Declaration) | |
|---|---|
Public Event LayoutChanged() As LayoutChangedEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event LayoutChangedEventHandler LayoutChanged() | |
The event handler receives an argument of type LayoutChangedArgs containing data related to this event. The following LayoutChangedArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Type | Gets or sets the type of layout change that caused the event to be raised. |
| C# | Copy Code |
|---|---|
// ardMain_LayoutChanged - runs when a control/section in the layout is added/deleted/moved | |
| Visual Basic | Copy Code |
|---|---|
'ardMain_LayoutChanged - runs when a control/section in the layout is added/deleted/moved | |
You can use this event to monitor changes to the report layout and update any dependent data such as SQL queries or custom user interfaces (report explorers, group sections dialog, etc).