GridLength 생성자

정의

구조체의 새 인스턴스를 초기화합니다 GridLength .

오버로드

Name Description
GridLength(Double)

지정된 절대값을 픽셀 단위로 사용하여 구조체의 GridLength 새 인스턴스를 초기화합니다.

GridLength(Double, GridUnitType)

구조체의 새 인스턴스를 GridLength 초기화하고 어떤 종류의 값을 보유하는지 지정합니다.

GridLength(Double)

지정된 절대값을 픽셀 단위로 사용하여 구조체의 GridLength 새 인스턴스를 초기화합니다.

public:
 GridLength(double pixels);
public GridLength(double pixels);
new System.Windows.GridLength : double -> System.Windows.GridLength
Public Sub New (pixels As Double)

매개 변수

pixels
Double

디바이스 독립적 픽셀 수(인치당 96픽셀)입니다.

예외

적용 대상

GridLength(Double, GridUnitType)

구조체의 새 인스턴스를 GridLength 초기화하고 어떤 종류의 값을 보유하는지 지정합니다.

public:
 GridLength(double value, System::Windows::GridUnitType type);
public GridLength(double value, System.Windows.GridUnitType type);
new System.Windows.GridLength : double * System.Windows.GridUnitType -> System.Windows.GridLength
Public Sub New (value As Double, type As GridUnitType)

매개 변수

value
Double

이 인스턴스의 초기 값입니다 GridLength.

type
GridUnitType

GridUnitType 이 인스턴스에서 보유하는 형식입니다 GridLength.

예외

추가 정보

적용 대상