XamlDirect.GetSizeProperty(IXamlDirectObject, XamlPropertyIndex) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan nilai properti Ukuran untuk IXamlDirectObject tertentu.
public:
virtual Size GetSizeProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetSizeProperty;
Size GetSizeProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Size GetSizeProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getSizeProperty(xamlDirectObject, propertyIndex)
Public Function GetSizeProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Size
Parameter
- xamlDirectObject
- IXamlDirectObject
Referensi ke IXamlDirectObject tertentu.
- propertyIndex
- XamlPropertyIndex
Referensi ke properti Ukuran untuk mendapatkan nilai dari daftar properti yang didukung di enum XamlPropertyIndex .
Mengembalikan
Nilai ukuran properti yang ditentukan.
Berlaku untuk
Lihat juga
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk