# ObjectPropertiesPage 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 ObjectPropertiesPage
```

Base class used to add object property user interface panels

## Properties

- [AllObjectsMustBeSupported](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/allobjectsmustbesupported.md): Returns false which only requires a single item of SupportedTypes to be selected. Override if you wish to change the above behavior.
- [EnglishPageTitle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/englishpagetitle.md): English string used to describe this page
- [Icon](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/icon.md): (obsolete) (OBSOLETE - Override PageIcon instead) Icon to display in the object properties tab control
- [Index](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/index.md): The page navigation control adds buttons in the order the pages are processed, override this method and return a sort index to move the button to the beginning of the list. By default this returns -1 which puts the button at the end of the list.
- [LocalPageTitle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/localpagetitle.md): Localized page description string, returns the EnglishPageTitle by default.
- [PageControl](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/pagecontrol.md): The control that represents this page. Rhino Windows supports classes that implement the IWin32Windows interface, are derived from System.Windows.FrameworkElement or Eto.Forms.Control. Mac Rhino supports controls that are derived from NSview or Eto.Forms.Control.
- [PageIconEmbeddedResourceString](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/pageiconembeddedresourcestring.md): Resource string for a embedded icon resource in the assembly containing the page instance. If this returns a valid resource and Rhino can load the icon the loaded icon will get used directly otherwise; the PageIcon method will get called.
- [PageType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/pagetype.md): Override this and return the page you want to replace a specific object properties page.
- [SelectedObjects](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/selectedobjects.md): Return a list of Rhino objects to be processed by this object properties page
- [SupportedTypes](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/supportedtypes.md): Override to specify which objects this page supports
- [SupportsSubObjects](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/supportssubobjects.md): If your object properties page supports sub-object selection, you should override this method and return true. This is ignored for view pages. The default implementation returns false.

## Methods

- [AnySelectedObject<T>](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/anyselectedobject.md): (2 overloads) Return true if any of the selected objects match the given type
- [GetSelectedObjects](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/getselectedobjects.md): (2 overloads) Get selected objects that match a given filter
- [InitializeControls](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/initializecontrols.md): (obsolete) Called on the active page after the selected objects list has changed to notify the page to initialize its content to reflect the new object list.
- [ModifyPage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/modifypage.md): Call this method when the page is ready to modify the selected objects list. Rhino will suspend UpdatePageNotfictaion, call the passed action then restore UpdatePageNotfictaion.
- [OnActivate](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/onactivate.md): Called when this page is activated/deactivated.
- [OnCreateParent](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/oncreateparent.md): Called when the parent container is initially created.
- [OnHelp](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/onhelp.md): Called when the F1 key or help button is pressed, override to display plug-in specific help for this page.
- [OnSizeParent](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/onsizeparent.md): Called when the parent containers client rectangle size has changed and the PageControl has been resized.
- [PageIcon](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/pageicon.md): Icon to display in the object properties tab control. Will not get called if PageIconEmbeddedResourceString is overridden and provides a string for a successfully loaded icon resource.
- [RunScript](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/runscript.md): (2 overloads) This method is called when scripting the Rhino Properties command and choosing this page.
- [ShouldDisplay](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/shoulddisplay.md): (2 overloads) Called when the selected objects list changes, return true if the object list contains one or more object the page can modify.
- [UpdatePage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.objectpropertiespage/updatepage.md): Called on the active page after the selected objects list has changed to notify the page to initialize its content to reflect the new object list.
