XamlDirect.SetGridLengthProperty 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置特定 IXamlDirectObject 的 GridLength 属性的值。
public:
virtual void SetGridLengthProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, GridLength value) = SetGridLengthProperty;
void SetGridLengthProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, GridLength const& value);
public void SetGridLengthProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, GridLength value);
function setGridLengthProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetGridLengthProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As GridLength)
参数
- xamlDirectObject
- IXamlDirectObject
对特定 IXamlDirectObject 的引用。
- propertyIndex
- XamlPropertyIndex
对 GridLength 属性的引用,用于从 XamlPropertyIndex 枚举中支持的属性列表中设置 的值。
- value
- GridLength
要设置为指定属性的 GridLength 值。