XamlDirect.GetColorProperty(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 Warna untuk IXamlDirectObject tertentu.
public:
virtual Color GetColorProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetColorProperty;
Color GetColorProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public Color GetColorProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getColorProperty(xamlDirectObject, propertyIndex)
Public Function GetColorProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As Color
Parameter
- xamlDirectObject
- IXamlDirectObject
Referensi ke IXamlDirectObject tertentu.
- propertyIndex
- XamlPropertyIndex
Referensi ke properti Warna untuk mendapatkan nilai dari daftar properti yang didukung di enum XamlPropertyIndex .
Mengembalikan
Nilai warna properti yang ditentukan.