Skip to main content

ClosePageButtonEventArgs(IXtraTabPage, IXtraTabPage) Constructor

Initializes a new instance of the ClosePageButtonEventArgs class with the specified settings.

Namespace: DevExpress.XtraTab.ViewInfo

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public ClosePageButtonEventArgs(
    IXtraTabPage prevPage,
    IXtraTabPage page
)

Parameters

Name Type Description
prevPage DevExpress.XtraTab.IXtraTabPage

null if the TabControl’s Close button has been clicked. Otherwise, this refers to the page whose Close button has been clicked. This value is assigned to the ClosePageButtonEventArgs.PrevPage property.

page DevExpress.XtraTab.IXtraTabPage

The page whose Close button has been clicked. This value is assigned to the Page property.

See Also