GridLength 구조체

정의

Grid ColumnDefinition 및 RowDefinition의 크기(너비/높이)를 정의하는 데 사용됩니다.

[System.Diagnostics.DebuggerDisplay("{Value}.{GridUnitType}")]
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.GridLengthTypeConverter))]
public struct GridLength
type GridLength = struct
상속
GridLength
특성

설명

GridUnitType.Absolute 형식의 GridLength는 정확한 크기를 나타냅니다. GridUnitType.Auto 형식의 항목은 그리드 열/행에 있는 요소의 크기에 맞게 조정됩니다. GridUnitType.Star 형식의 GridLength는 사용 가능한 크기를 비례 버킷으로 분할하는 데 사용됩니다.

이 valuetype은 읽기 전용입니다.

생성자

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과 다른 것이 같은지 테스트합니다.

GetHashCode()

컬렉션에서 이 개체의 효율적인 스토리지에 사용되는 값을 반환합니다.

ToString()

"."로 구분된 값 및 눈금 단위 형식을 반환합니다.

연산자

Implicit(Double to GridLength)

double 형식을 GridUnitType.Absolute 형식의 GridLength로 변환할 캐스팅 연산자

적용 대상