Method ChangePrismWindowsStyle
ChangePrismWindowsStyle(UserControl, WindowState?, double?, double?, SizeToContent?, double?, double?, double?, double?, WindowStyle?, ResizeMode?, WindowStartupLocation?)
Changes the style of the Prism window.
public static void ChangePrismWindowsStyle(this UserControl userControl, WindowState? windowState = null, double? height = null, double? width = null, SizeToContent? sizeToContent = null, double? maxWidth = null, double? minWidth = null, double? maxHeight = null, double? minHeight = null, WindowStyle? windowStyle = null, ResizeMode? resizeMode = null, WindowStartupLocation? windowStartupLocation = null)
Parameters
userControlUserControlThe user control associated with the Prism window.
windowStateWindowState?The state of the window.
heightdouble?The height of the window.
widthdouble?The width of the window.
sizeToContentSizeToContent?The size to content behavior of the window.
maxWidthdouble?The maximum width of the window.
minWidthdouble?The minimum width of the window.
maxHeightdouble?The maximum height of the window.
minHeightdouble?The minimum height of the window.
windowStyleWindowStyle?The style of the window.
resizeModeResizeMode?The resize mode of the window.
windowStartupLocationWindowStartupLocation?The startup location of the window.