Bagikan melalui


XamlDirect.GetColorProperty(IXamlDirectObject, XamlPropertyIndex) Metode

Definisi

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.

Berlaku untuk

Lihat juga