Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataGridLength.IsStar Property

Gets a value that indicates whether UnitType property is set to Star, which means space is distributed by weighted proportion

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)
public bool IsStar { get; }

Property Value

Type: System.Boolean
true if the UnitType property is set to Star; otherwise false.

The star sizing mode is used to distribute available space by weighted proportions.

In Extensible Application Markup Language (XAML), star values are expressed as * or 2*. In the first case, the column would receive one times the available space; in the second case, the column would receive two times the available space, and so on.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.