DataGridLength 생성자

정의

DataGridLength 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
DataGridLength(Double)

절대값을 픽셀 단위로 사용하여 클래스의 DataGridLength 새 인스턴스를 초기화합니다.

DataGridLength(Double, DataGridLengthUnitType)

지정된 값과 단위를 사용하여 클래스의 DataGridLength 새 인스턴스를 초기화합니다.

DataGridLength(Double, DataGridLengthUnitType, Double, Double)

지정된 값, 단위, 원하는 값 및 표시 값을 사용하여 클래스의 DataGridLength 새 인스턴스를 초기화합니다.

DataGridLength(Double)

절대값을 픽셀 단위로 사용하여 클래스의 DataGridLength 새 인스턴스를 초기화합니다.

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

매개 변수

pixels
Double

길이를 초기화할 절대 픽셀 값(인치당 96픽셀)입니다.

예외

적용 대상

DataGridLength(Double, DataGridLengthUnitType)

지정된 값과 단위를 사용하여 클래스의 DataGridLength 새 인스턴스를 초기화합니다.

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

매개 변수

value
Double

요소의 요청된 크기입니다.

type
DataGridLengthUnitType

요소의 크기를 계산하는 방법을 결정하는 데 사용되는 형식입니다.

예외

valueNaN, NegativeInfinity또는 PositiveInfinity.

-또는-

type가 , , AutoPixel또는 StarSizeToCells.가 아닌 경우 SizeToHeader

적용 대상

DataGridLength(Double, DataGridLengthUnitType, Double, Double)

지정된 값, 단위, 원하는 값 및 표시 값을 사용하여 클래스의 DataGridLength 새 인스턴스를 초기화합니다.

public:
 DataGridLength(double value, System::Windows::Controls::DataGridLengthUnitType type, double desiredValue, double displayValue);
public DataGridLength(double value, System.Windows.Controls.DataGridLengthUnitType type, double desiredValue, double displayValue);
new System.Windows.Controls.DataGridLength : double * System.Windows.Controls.DataGridLengthUnitType * double * double -> System.Windows.Controls.DataGridLength
Public Sub New (value As Double, type As DataGridLengthUnitType, desiredValue As Double, displayValue As Double)

매개 변수

value
Double

요소의 요청된 크기입니다.

type
DataGridLengthUnitType

요소의 크기를 계산하는 방법을 결정하는 데 사용되는 형식입니다.

desiredValue
Double

요소에 필요한 계산된 크기입니다.

displayValue
Double

요소에 할당된 크기입니다.

예외

valueNaN, NegativeInfinity또는 PositiveInfinity.

-또는-

type가 , , AutoPixel또는 StarSizeToCells.가 아닌 경우 SizeToHeader

-또는-

desiredValue is NegativeInfinity 또는 PositiveInfinity.

-또는-

displayValue is NegativeInfinity 또는 PositiveInfinity.

적용 대상