Layout.CrossPlatformMeasure(Double, Double) Method
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.
Measures the desired size of the ICrossPlatformLayout within the given constraints.
public:
virtual Microsoft::Maui::Graphics::Size CrossPlatformMeasure(double widthConstraint, double heightConstraint);
C#
public Microsoft.Maui.Graphics.Size CrossPlatformMeasure(double widthConstraint, double heightConstraint);
abstract member CrossPlatformMeasure : double * double -> Microsoft.Maui.Graphics.Size
override this.CrossPlatformMeasure : double * double -> Microsoft.Maui.Graphics.Size
Public Function CrossPlatformMeasure (widthConstraint As Double, heightConstraint As Double) As Size
- widthConstraint
- Double
The width limit for measuring the ICrossPlatformLayout.
- heightConstraint
- Double
The height limit for measuring the ICrossPlatformLayout.
The desired size of the ILayout.
Προϊόν | Εκδόσεις |
---|---|
.NET MAUI | 8, 9 |
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.
.NET MAUI σχόλια
.NET MAUI είναι ένα έργο ανοιχτού κώδικα. Επιλέξτε μια σύνδεση για να παρέχετε σχόλια: