Compartir a través de


IXRGrid::GetRowDefinitions (Compact 2013)

3/28/2014

This method retrieves a collection of row definitions that are defined on this instance of IXRGrid.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetRowDefinitions(
    IXRRowDefinitionCollection **ppRowDefinitions
) = 0;

Parameters

  • ppRowDefinitions
    [out] Address of a pointer to an IXRRowDefinitionCollection object that provides access to an ordered collection of IXRRowDefinition objects.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

To add rows to this grid object, you must populate its row collection. You can populate this collection by using methods on the IXRRowDefinitionCollection object.

Or, you can define the elements in this collection in the source XAML that is parsed by XAML for Windows Embedded-based application. You can populate this collection by using <Grid.RowDefinitions> implicit collection syntax. For information about the differences in Microsoft Silverlight 3 XAML implementations in XAML for Windows Embedded and Silverlight 3 , see Differences Between Microsoft Silverlight 3 and XAML for Windows Embedded. For more information about how to define this element in the source XAML for your application, see the Grid class on MSDN.

.NET Framework Equivalent

System.Windows.Controls.Grid.RowDefinitions

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRGrid
IXRGrid::GetColumnDefinitions