[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.LayoutChangingArgs.-ctor

LayoutChangingArgs Constructor

LayoutChangingArgs(LayoutChangeType, SelectionType, string, object, object, string, string)

Initializes a new instance of the LayoutChangingArgs class with specified details about the layout change.

Declaration
public LayoutChangingArgs(LayoutChangeType type, SelectionType selectionType, string name, object newValue, object oldValue, string oldSectionName, string newSectionName)
Parameters
Type Name Description
LayoutChangeType type

Specifies the type of layout change occurring, categorized by the LayoutChangeType enumeration.

SelectionType selectionType

Specifies the selection type involved in the layout change, categorized by the GrapeCity.ActiveReports.Design.LayoutChangingArgs.SelectionType enumeration.

string name

The name associated with the layout change. This could be the name of a section or component being modified.

object newValue

The new value or state being applied as part of the layout change. The specific nature of this value depends on the context of the change.

object oldValue

The previous value or state before the layout change. This provides context for understanding what has changed.

string oldSectionName

The original name of the section being changed, if applicable. This is relevant when the change involves renaming sections.

string newSectionName

The new name of the section after the change, if applicable. This is relevant when the change involves renaming sections.

Remarks

This constructor is used to create an instance of LayoutChangingArgs that encapsulates all relevant information about a layout change event within the designer. It allows event handlers to access detailed information about the change, including what is being changed, the nature of the change, and the before and after states.