IXRColumnDefinition::GetMaxWidth (Windows Embedded CE 6.0)
1/6/2010
This method retrieves a value that represents the maximum width of this column definition.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetMaxWidth(
float *pMaxWidth
) = 0;
Parameters
- pMaxWidth
[out] Pointer to a float value that represents the maximum width of this column definition.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
When you use multiple width settings in an IXRColumnDefinition, the MinWidth value takes precedence over the MaxWidth value, which in turn takes precedence over the Width value.
When you add or remove rows or columns to a grid object, the ActualWidth value for all IXRColumnDefinition objects, and also the ActualHeight value of all IXRRowDefinition objects, becomes zero until the IXRGrid inherited method IXRUIElement::Measure is called to update the desired size of the object.
.NET Framework Equivalent
System.Windows.Controls.ColumnDefinition.MaxWidth
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |