Rect.Empty Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a special value that represents a rectangle with no position or area.
public:
static property System::Windows::Rect Empty { System::Windows::Rect get(); };
public static System.Windows.Rect Empty { get; }
static member Empty : System.Windows.Rect
Public Shared ReadOnly Property Empty As Rect
Property Value
The empty rectangle, which has X and Y property values of PositiveInfinity, and has Width and Height property values of NegativeInfinity.
Remarks
Avoid mathematical computations involving empty rectangles. Because both X and Y are infinite values, processor operations are severely impaired by these operations. Comparisons involving these values will not affect application performance.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για