Class ScreenUtils
Stores methods for work with monitor area.
Inheritance
System.Object
ScreenUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class ScreenUtils
Constructors
ScreenUtils()
Declaration
public ScreenUtils()
Methods
FixByScreenBounds(Rect)
Correct given rect.
Declaration
public static Rect FixByScreenBounds(Rect rectWindow)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Rect | rectWindow | Given System.Windows.Rect. |
Returns
Type | Description |
---|---|
System.Windows.Rect | Corrected System.Windows.Rect. |
GetElementFromPoint(ItemsControl, Point)
Gets element from point.
Declaration
public static FrameworkElement GetElementFromPoint(ItemsControl parentItemsControl, Point point)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ItemsControl | parentItemsControl | Parent System.Windows.Controls.ItemsControl that contains a point |
System.Windows.Point | point | Given point. |
Returns
Type | Description |
---|---|
System.Windows.FrameworkElement | System.Windows.FrameworkElement from point. |