GridLength 構造体
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
グリッドの ColumnDefinition と RowDefinition のサイズ (幅/高さ) を定義するために使用します。
[System.Diagnostics.DebuggerDisplay("{Value}.{GridUnitType}")]
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.GridLengthTypeConverter))]
public struct GridLength
type GridLength = struct
- 継承
-
GridLength
- 属性
注釈
System.windows.gridunittype> 型の GridLength は、正確なサイズを表します。 System.windows.gridunittype> 型の1は、グリッドの列/行の要素のサイズを調整するために適応します。 System.windows.gridunittype> 型の GridLength は、使用可能なサイズを比例バケットで分割するために使用されます。
この valuetype は readonly です。
コンストラクター
| GridLength(Double) |
新しい Absolute GridLength を初期化します。 |
| GridLength(Double, GridUnitType) |
新しい GridLength を初期化します。 |
プロパティ
| Auto |
GridUnitType.Auto の GridLength を再利用する準備ができました。 |
| GridUnitType |
GridLength の GridUnitType を取得または設定します |
| IsAbsolute |
GridLength の GridUnitType が GridUnitType.Absolute であるかどうかを取得します。 |
| IsAuto |
GridLength の GridUnitType が GridUnitType.Auto であるかどうかを取得します。 |
| IsStar |
GridLength の GridUnitType が GridUnitType.Star であるかどうかを示す値を取得します。 |
| Star |
値 1 で GridUnitType.Star の GridLength を再利用する準備ができました。 |
| Value |
GridLength の値を取得します。 |
メソッド
| Equals(Object) |
この GridLength ともう 1 つが等しいかどうかをテストします。 |
| GetHashCode() |
コレクション内のこのオブジェクトの効率的な保存に使用される値を返します。 |
| ToString() |
"." で区切って、値とグリッドの単位の種類を返します。 |
演算子
| Implicit(Double to GridLength) |
double 値を GridLength の型 GridUnitType.Absolute に変換するキャスト演算子 |