Dialog Class

Deprecated  in 4.12.0. Use [[iTwinUI dialog]] instead.

Dialog React component with optional resizing and dragging functionality

Extends

Methods

Name Description
constructor(props: DialogProps): Dialog    
_handleContainerPointerDown(event: React.PointerEvent<Element>): void Protected    
componentDidMount(): void Called immediately after a component is mounted.  
componentWillUnmount(): void Called immediately before a component is destroyed.  
getFooterButtons(buttonCluster: DialogButtonDef[], primaryStyleType: "default" | "cta" | "high-visibility" | "borderless""cta", noCoreButtonClasses: booleanfalse): undefined | React.ReactNode[] Protected   Deprecated  
handleRefSet(containerDiv: "null" | HTMLDivElement): void    
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>    

Properties

Name Type Description
defaultProps Static Partial<DialogProps>    

Defined in

Last Updated: 24 June, 2025