Click or drag to resize

WindowdisableFrame Method

Prevents a user from changing a window's size/position when using the window's frame.
Remarks
'disabled-frame-bounds-changing' is generated at the start of and during a user move/size operation. 'disabled-frame-bounds-changed' is generated after a user move/size operation. The events provide the bounds that would have been applied if the frame was enabled. 'frame-enabled' is generated when a disabled frame has becomes enabled.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.1
Syntax
C#
public void disableFrame(
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

callback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method succeeds.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
See Also