Method wpfBuilder.WinProperties
Overload
Changes various window properties.
public wpfBuilder WinProperties(WindowStartupLocation? startLocation = null, ResizeMode? resizeMode = null, bool? showActivated = null, bool? showInTaskbar = null, bool? topmost = null, WindowState? state = null, WindowStyle? style = null, ImageSource icon = null, bool? whiteBackground = null)
Parameters
startLocation (WindowStartupLocation?) |
resizeMode (ResizeMode?) |
showActivated (bool?) |
showInTaskbar (bool?) |
topmost (bool?) |
state (WindowState?) |
style (WindowStyle?) |
icon (ImageSource)
Sets System.Windows.Window.Icon. Example: |
whiteBackground (bool?)
Set background color: |
Returns
Exceptions
InvalidOperationException
|
Remarks
The function uses only non-null
parameters.
Or you can change wpfBuilder.Window properties directly, for example b.Window.Topmost = true;
.