XamlDirect.SetRectProperty(IXamlDirectObject, XamlPropertyIndex, Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value of a Rect property for a specific IXamlDirectObject.
public:
virtual void SetRectProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Rect value) = SetRectProperty;
void SetRectProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Rect const& value);
public void SetRectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Rect value);
function setRectProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetRectProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Rect)
Parameters
- xamlDirectObject
- IXamlDirectObject
A reference to the specific IXamlDirectObject.
- propertyIndex
- XamlPropertyIndex
A reference to the Rect property to set the value of from the list of supported properties in XamlPropertyIndex enum.