Rect.Contains(Point) Method
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.
Indicates whether the rectangle described by the Rect contains the specified point.
public:
bool Contains(Windows::Foundation::Point point);
public bool Contains (Windows.Foundation.Point point);
member this.Contains : Windows.Foundation.Point -> bool
Public Function Contains (point As Point) As Boolean
Parameters
- point
- Point
The point to check.
Returns
true
if the rectangle described by the Rect contains the specified point; otherwise, false
.
Remarks
This struct represents the .NET projection of the Windows Runtime (WinRT) Rect
struct. For more information, see Rect in the UWP API reference.
For more information and examples of this member, see <System.Windows.Rect.Contains%2A?displayProperty=nameWithType> in the .NET Framework API reference. (Examples show WPF usage and might not translate directly to UWP XAML.)
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για