Share via


XamlDirect.SetBooleanProperty Method

Definition

Sets the value of a Boolean property for a specific IXamlDirectObject.

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)

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

A reference to the Boolean property to set the value of from the list of supported properties in XamlPropertyIndex enum.

value
Boolean

bool

Boolean value to set for the specified property.

Applies to

See also