Click or drag to resize

StackedDialogPage Class

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

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
public abstract class StackedDialogPage

The StackedDialogPage type exposes the following members.

Protected methodStackedDialogPage
Protected constructor
Public propertyChildren
List of child (sub) pages of this page
Public propertyEnglishPageTitle
English string used when scripting this page and a user prefixes a command option with "_"
Public propertyHandle
When running on Windows return the window handle for the parent of this page otherwise; return IntPtr.Zero.
Public propertyHasChildren
Will be true if this page contains sub pages.
Public propertyLocalPageTitle
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.
Public propertyModified
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.
Public propertyNavigationTextColor
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.
Public propertyNavigationTextIsBold
Currently only used by Windows Rhino. If this is set to true then the tree control item text will be bold.
Public propertyPageControl
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.
Public propertyPageImage
Optionally override to provide a image to display in the Mac Rhino UI
Public propertyShowApplyButton
Called when this page is activated
Public propertyShowDefaultsButton
Called when this page is activated.
Public methodAddChildPage
Currently only supported on Windows. Call this method to add a child page to a page after the parent dialog has been created.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMakeActivePage
Make this page the active, visible page
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnActivate
Called when this page is activated/deactivated.
Public methodOnApply
Called when stacked dialog OK button is pressed.
Public methodOnCancel
Called when stacked dialog Cancel button is pressed.
Public methodOnCreateParent
Called when the parent window has been created on Windows platforms only.
Public methodOnDefaults
Called when stacked dialog Defaults button is pressed (see ShowDefaultsButton).
Public methodOnHelp
Called when the parent dialog requests help for this page.
Public methodOnSizeParent
Called when the parent window has been resized
Public methodRemovePage
Remove this page from the dialog box
Public methodSetActivePageTo
Public methodSetEnglishPageTitle
Change the title passed to the constructor and, this will cause LocalPageTitle to get called also.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also