Table of Contents

Method ChangePrismWindowsStyle

Namespace
Innova.Prism.Library.Helpers
Assembly
Innova.Prism.Library.dll

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

userControl UserControl

The user control associated with the Prism window.

windowState WindowState?

The state of the window.

height double?

The height of the window.

width double?

The width of the window.

sizeToContent SizeToContent?

The size to content behavior of the window.

maxWidth double?

The maximum width of the window.

minWidth double?

The minimum width of the window.

maxHeight double?

The maximum height of the window.

minHeight double?

The minimum height of the window.

windowStyle WindowStyle?

The style of the window.

resizeMode ResizeMode?

The resize mode of the window.

windowStartupLocation WindowStartupLocation?

The startup location of the window.