WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScreenUtils

    Show / Hide Table of Contents

    Class ScreenUtils

    Stores methods for work with monitor area.

    Inheritance
    System.Object
    ScreenUtils
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved