Bagikan melalui


XamlDirect.SetColorProperty Metode

Definisi

Mengatur nilai properti Warna untuk IXamlDirectObject tertentu.

public:
 virtual void SetColorProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Color value) = SetColorProperty;
void SetColorProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Color const& value);
public void SetColorProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Color value);
function setColorProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetColorProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Color)

Parameter

xamlDirectObject
IXamlDirectObject

Referensi ke IXamlDirectObject tertentu.

propertyIndex
XamlPropertyIndex

Referensi ke properti Warna untuk mengatur nilai dari daftar properti yang didukung di enum XamlPropertyIndex .

value
Color

Nilai warna untuk diatur ke properti yang ditentukan.

Berlaku untuk

Lihat juga