Partager via


IXRGrid::GetRowDefinitions (Windows Embedded CE 6.0)

1/6/2010

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 Silverlight–based application. You can populate this collection by using <Grid.RowDefinitions> implicit collection syntax. For information about the differences in Microsoft Silverlight 2 XAML implementations in Silverlight and Silverlight 2 , see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.

.NET Framework Equivalent

System.Windows.Controls.Grid.RowDefinitions

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRGrid
IXRGrid::GetColumnDefinitions