ASPxClientCustomizeElementsEventArgs Class
Provides data for the ASPxClientReportDesigner.CustomizeElements, ASPxClientReportDesigner.PreviewCustomizeElements and ASPxClientWebDocumentViewer.CustomizeElements events.
Declaration
declare class ASPxClientCustomizeElementsEventArgs extends ASPxClientEventArgs
Remarks
ASPxClientCustomizeElementsEventArgs objects are automatically created, initialized and passed to corresponding event handlers.
Inheritance
ASPxClientEventArgs
ASPxClientCustomizeElementsEventArgs
constructor(elements)
Initializes a new instance of the ASPxClientCustomizeElementsEventArgs
class with the specified settings.
Declaration
constructor(
elements: ASPxReportUIElement[]
)
Parameters
Name | Type | Description |
---|---|---|
elements | ASPxReportUIElement[] | An array of ASPxReportUIElement objects. This value is assigned to the ASPxClientCustomizeElementsEventArgs.Elements property. |
Properties
Elements Property
Provides access to the collection of UI elements.
Declaration
Elements: ASPxReportUIElement[]
Property Value
Type | Description |
---|---|
ASPxReportUIElement[] | An array of the ASPxReportUIElement objects. |
Methods
GetById(templateId) Method
Returns UI elements with the specified ID.
Declaration
GetById(
templateId: string
): ASPxReportUIElement[]
Parameters
Name | Type | Description |
---|---|---|
templateId | string | A string that specifies the element ID. |
Returns
Type | Description |
---|---|
ASPxReportUIElement[] | An array of ASPxReportUIElement objects. |