[]
Represents the lengths of elements within the GcListBox control.
[TypeConverter(typeof(ListBoxLengthConverter))]
public struct ListBoxLength : IEquatable<ListBoxLength>
<TypeConverter(GetType(ListBoxLengthConverter))>
Public Structure ListBoxLength
Implements IEquatable(Of ListBoxLength)
XAML Values
Auto
Literal string value that enables Auto sizing, which sizes GcListBox columns based on the contents of both cells and column headers.
SizeToHeader
Literal string value that enables SizeToHeader sizing, which sizes GcListBox columns based on the contents of column headers only.
SizeToSubItems
Literal string value that enables SizeToSubItems sizing, which sizes GcListBox columns based on the contents of cells in the column, not including column headers.
*
Literal string value that indicates width is a weighted proportion of the remaining space.
Name | Description |
---|---|
ListBoxLength(double) | Initializes a new instance of the ListBoxLength struct. |
ListBoxLength(double, ListBoxLengthUnitType) | Initializes a new instance of the ListBoxLength struct. |
Name | Description |
---|---|
Auto | Gets a ListBoxLength structure that represents the standard automatic sizing mode. |
DisplayValue | Gets the actual value for a ListBoxLength, in pixels. |
IsAbsolute | Gets a value that indicates whether this ListBoxLength instance holds an absolute value. |
IsAuto | Gets a value that indicates whether this ListBoxLength instance uses the standard automatic sizing mode. |
IsSizeToHeader | Gets a value that indicates whether this ListBoxLength instance uses the header-based automatic sizing mode. |
IsSizeToSubItems | Gets a value that indicates whether this ListBoxLength instance uses the SubItem-based automatic sizing mode. |
IsStar | Gets a value that indicates whether UnitType property is set to Star, which means space is distributed by weighted proportion. |
SizeToHeader | Gets a ListBoxLength structure that represents the header-based automatic sizing mode. |
SizeToSubItems | Gets a ListBoxLength structure that represents the SubItem-based automatic sizing mode. |
UnitType | Gets a value that indicates how the size of the associated GcListBox element is calculated. |
Value | Gets the absolute value of the ListBoxLength in pixels. |
Name | Description |
---|---|
Equals(ListBoxLength) | Determines whether the specified ListBoxLength is equal to the current ListBoxLength. |
Equals(object) | Determines whether the specified object is equal to the current ListBoxLength. |
GetHashCode() | Gets a hash code for the ListBoxLength. |
Name | Description |
---|---|
operator ==(ListBoxLength, ListBoxLength) | Compares two ListBoxLength structures for equality. |
operator !=(ListBoxLength, ListBoxLength) | Compares two ListBoxLength structures to determine whether they are not equal. |