IXRColumnDefinition (Windows Embedded CE 6.0)
1/6/2010
This class defines a column in a grid object.
Syntax
class IXRColumnDefinition : public IXRDependencyObject
Methods
Method | Description |
---|---|
Retrieves a value that represents the actual rendered width of this column definition. |
|
Retrieves a value that represents the maximum width of this column definition. |
|
Retrieves a value that represents the minimum width of this column definition. |
|
Retrieves the calculated width of this column definition. |
|
Sets a value that represents the maximum width of this column definition. |
|
Sets a value that represents the minimum width of this column definition. |
|
Sets an XRGridLength value of this column definition. |
Remarks
You can set an IXRColumnDefinition for each column in a grid. If you do not specify an IXRColumnDefinition, by default the grid will contain a single column with "star" sized width.
To set a group of column definition elements by using C++ code, add the IXRColumnDefinition to an IXRColumnDefinitionCollection. You can retrieve a pointer to this collection from the IXRGrid object, by calling IXRGrid::GetColumnDefinitions.
You can also define a column definition in Microsoft Silverlight 2. 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
IXRColumnDefinition
.NET Framework Equivalent
System.Windows.Controls.ColumnDefinition
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |