Share via


XamlDirect.SetBooleanProperty Methode

Definition

Legt den Wert einer booleschen Eigenschaft für ein bestimmtes IXamlDirectObject fest.

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

Ein Verweis auf das spezifische IXamlDirectObject.

propertyIndex
XamlPropertyIndex

Ein Verweis auf die boolesche Eigenschaft, um den Wert von aus der Liste der unterstützten Eigenschaften in der XamlPropertyIndex-Enumeration festzulegen.

value
Boolean

bool

Boolescher Wert, der für die angegebene Eigenschaft festgelegt werden soll.

Gilt für:

Weitere Informationen