Show / Hide Table of Contents

Method wpfBuilder.WinRect


Overload

Sets window rectangle (location and size).

public wpfBuilder WinRect(RECT r)
Parameters
r  (RECT)

Rectangle in screen. Physical pixels.

Returns
wpfBuilder
Exceptions
InvalidOperationException
  • Container is not of type Window.
  • Cannot be after WinXY, WinRect or WinSaved.

Remarks

With this function use physical pixels, not WPF logical device-independent units. Call this function before showing the window. Don't change location/size-related window properties after that. Calls ExtWpf.SetRect.

See Also

wpfBuilder.WinSaved