# StackedDialogPage class

Namespace: [Rhino.UI](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.ui.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public abstract class StackedDialogPage
```

Base class to inherit from for the addition of stacked dialog pages.

**Derived types:** [OptionsDialogPage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.optionsdialogpage.md)

## Constructors

- [StackedDialogPage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/ctor.md): Protected constructor

## Properties

- [Children](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/children.md): List of child (sub) pages of this page
- [EnglishPageTitle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/englishpagetitle.md): English string used when scripting this page and a user prefixes a command option with "_"
- [Handle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/handle.md): When running on Windows return the window handle for the parent of this page otherwise; return IntPtr.Zero.
- [HasChildren](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/haschildren.md): Will be true if this page contains sub pages.
- [LocalPageTitle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/localpagetitle.md): Localized page title that will appear on a tab or other page navigation control. This is also uses as a command line option when scripting this page.
- [Modified](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/modified.md): Check to see if the page has been marked as modified or not. Marking the page as modified will cause the Apply button to get enabled if this is currently the visible page and the page includes the Apply button.
- [NavigationTextColor](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/navigationtextcolor.md): Currently only used by Windows Rhino. If this is set to true then the tree control item text be drawn using this color. Set the color to System.Drawing.Color.Empty to use the default color.
- [NavigationTextIsBold](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/navigationtextisbold.md): Currently only used by Windows Rhino. If this is set to true then the tree control item text will be bold.
- [PageControl](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/pagecontrol.md): Return the control that represents this page. Rhino Windows supports classes that implement the IWin32Windows interface or are derived from some form of System.Windows.FrameworkElement or Eto.Forms.Control. Mac Rhino supports controls that are derived from NSview or Eto.Forms.Control.
- [PageImage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/pageimage.md): Optionally override to provide a image to display in the Mac Rhino UI
- [ShowApplyButton](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/showapplybutton.md): Called when this page is activated
- [ShowDefaultsButton](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/showdefaultsbutton.md): Called when this page is activated.

## Methods

- [AddChildPage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/addchildpage.md): Currently only supported on Windows. Call this method to add a child page to a page after the parent dialog has been created.
- [MakeActivePage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/makeactivepage.md): Make this page the active, visible page
- [OnActivate](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/onactivate.md): Called when this page is activated/deactivated.
- [OnApply](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/onapply.md): Called when stacked dialog OK button is pressed.
- [OnCancel](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/oncancel.md): Called when stacked dialog Cancel button is pressed.
- [OnCreateParent](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/oncreateparent.md): Called when the parent window has been created on Windows platforms only.
- [OnDefaults](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/ondefaults.md): Called when stacked dialog Defaults button is pressed (see ShowDefaultsButton).
- [OnHelp](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/onhelp.md): Called when the parent dialog requests help for this page.
- [OnSizeParent](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/onsizeparent.md): Called when the parent window has been resized
- [RemovePage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/removepage.md): Remove this page from the dialog box
- [SetActivePageTo](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/setactivepageto.md)
- [SetEnglishPageTitle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.stackeddialogpage/setenglishpagetitle.md): Change the title passed to the constructor and, this will cause LocalPageTitle to get called also.
