Share via


IXRRowDefinition (Windows Embedded CE 6.0)

1/6/2010

This class defines a row in a grid object.

Syntax

class IXRRowDefinition : public IXRDependencyObject

Methods

Method Description

IXRRowDefinition::GetActualHeight

Retrieves the rendered height of this row definition.

IXRRowDefinition::GetHeight

Retrieves the calculated height of this row definition.

IXRRowDefinition::GetMaxHeight

Retrieves a value that represents the maximum height of this row definition.

IXRRowDefinition::GetMinHeight

Retrieves a value that represents the minimum allowed height of this row definition.

IXRRowDefinition::SetHeight

Sets the XRGridLength value of this row definition.

IXRRowDefinition::SetMaxHeight

Sets a value that represents the maximum height of this row definition.

IXRRowDefinition::SetMinHeight

Sets a value that represents the minimum allowed height of this row definition.

Remarks

You can set an IXRRowDefinition for each row in a grid. If you do not specify an IXRRowDefintion, by default the grid will contain a single row with "star" sized height.

To set a group of row definition elements by using C++ code, add the IXRRowDefinition to an IXRRowDefinitionCollection. You can retrieve a pointer to this collection from the IXRGrid object, by calling IXRGrid::GetRowDefinitions.

The IXRRowDefinition class exposes only height properties. To set width properties in a grid object, create an instance of the IXRColumnDefinition class.

You can also define a row definition in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded 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.

Inheritance Hierarchy

IXRDependencyObject

    IXRRowDefinition

.NET Framework Equivalent

System.Windows.Controls.RowDefinition

Requirements

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

See Also

Reference

Classes for UI Element Management