-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Core.Direct.IXamlDirect.SetGridLengthProperty(System.Object,Microsoft.UI.Xaml.Core.Direct.XamlPropertyIndex,Windows.UI.Xaml.GridLength) |
winrt method |
Microsoft.UI.Xaml.Core.Direct.IXamlDirect.SetGridLengthProperty(System.Object,Microsoft.UI.Xaml.Core.Direct.XamlPropertyIndex,Windows.UI.Xaml.GridLength)
Sets the value of a GridLength property for a specific IXamlDirect.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
A reference to the specific IXamlDirect.
A reference to the GridLength property on which to set the value from the list of supported properties in XamlPropertyIndex enum.
GridLength value to set to the specified property.
IXamlDirect.GetGridLengthProperty(System.Object,Microsoft.UI.Xaml.Core.Direct.XamlPropertyIndex)