Click or drag to resize

WindowAspects class

Function: Data class with essential display features of a WPF window.
Inheritance hierarchy
SystemObject
  Vishnu.InterchangeWindowAspects

Namespace: Vishnu.Interchange
Assembly: Vishnu.Interchange (in Vishnu.Interchange.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public class WindowAspects

The WindowAspects Type exposes the following members.

Constructors
 NameDescription of the
Public MethodWindowAspectsinitializes a new instance of the WindowAspects class
Back to the top
Properties
 NameDescription of the
Public PropertyActScreenIndex The index of the screen in which the data is stored at the time of saving. the MainWindow is displayed.
Public PropertyActTabControlTab 0: Tree view, 1: Jobs view.
Public PropertyIsScrollbarVisible True if at least one scrollbar is visible.
Public PropertyWindowCenterX X coordinate of the centre screen position of the window (unit: device-independent pixels).
Public PropertyWindowCenterY Y-coordinate of the centre screen position of the window (unit: device-independent pixels).
Public PropertyWindowHeight Height of the window (unit: device-independent pixels).
Public PropertyWindowScrollLeft Device-independent pixels that the window content is shifted to the left (signed).
Public PropertyWindowScrollTop Device-independent pixels that the window content is shifted upwards (signed).
Public PropertyWindowWidth Width of the window (unit: device-independent pixels).
Public PropertyWindowZoom Degree of enlargement of the window content (signed).
Back to the top
Methods
 NameDescription of the
Public MethodStatic MemberGetFrameworkElementAbsoluteScreenPosition Absolute screen position of the centre of the associated control.
Public MethodStatic MemberGetMainWindowMeasures Provides threadsafe position and dimensions of the MainWindow.
Back to the top
Remarks
File: WindowAspects Author: Erik Nagel 22.02.2019 Erik Nagel: created 08.01.2024 Erik Nagel: WindowLeft and WindowTop replaced by WindowCentre.
See also