Bagikan melalui


XamlDirect.SetBooleanProperty Metode

Definisi

Mengatur nilai properti Boolean untuk IXamlDirectObject tertentu.

public:
 virtual void SetBooleanProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, bool value) = SetBooleanProperty;
void SetBooleanProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, bool const& value);
public void SetBooleanProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, bool value);
function setBooleanProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetBooleanProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Boolean)

Parameter

xamlDirectObject
IXamlDirectObject

Referensi ke IXamlDirectObject tertentu.

propertyIndex
XamlPropertyIndex

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

value
Boolean

bool

Nilai Boolean yang akan diatur untuk properti yang ditentukan.

Berlaku untuk

Lihat juga