IStackedDialogPageService

[CLSCompliant(false)] public interface IStackedDialogPageService
For internal use, the IStackedDialogPageService service is implemented in RhinoWindows or RhinoMac as appropriate and handles the communication with core Rhino

Methods

GetImageHandle

#Since v6.1
nint GetImageHandle(Icon icon, bool canBeNull)
Convert image to platform specific unmanaged pointer
icon (Icon)
canBeNull (bool)

GetImageHandle

#Since v6.0
nint GetImageHandle(Image image, bool canBeNull)
Convert image to platform specific unmanaged pointer
image (Image)
canBeNull (bool)

GetNativePageWindow

#Since v6.0
nint GetNativePageWindow(object nativeWindowObject, bool isRhinoPanel, bool applyPanelStyles, out object host)
Get the unmanaged pointer associated with the pages content control
nativeWindowObject (object)
isRhinoPanel (bool)
applyPanelStyles (bool)
host (out object)

GetNativePageWindow

#Since v6.1
nint GetNativePageWindow(object pageObject, bool isRhinoPanel, bool applyPanelStyles, out object nativeWindowObject, out object host)
Get the unmanaged pointer associated with the pages content control
pageObject (object)
isRhinoPanel (bool)
applyPanelStyles (bool)
nativeWindowObject (out object)
host (out object)

NativeHandle

#Since v8.4
nint NativeHandle(object host)
Gets the native window handle associated with the host object if there is one.
host (object)

RedrawPageControl

#Since v6.0
void RedrawPageControl(object pageControl)
Redraw the specified control.
pageControl (object)Control to redraw

SetNativeParent

#Since v8.3
bool SetNativeParent(nint hwndParent, object host)
Sets the parent on a host returned from GetNativePageWindow
hwndParent (nint)
host (object)

TryGetControlMinimumSize

#Since v6.5
bool TryGetControlMinimumSize(object controlObject, out SizeF size)
Get the minimum size associated with a control object
controlObject (object)The control object to check for minimum size.
size (out SizeF)The minimum size of the control if provided.
Returns true if get control minimum size found, false otherwise.