DataGridLength 생성자

정의

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

오버로드

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입니다.

또는

typeAuto, Pixel, Star, SizeToCells 또는 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입니다.

또는

typeAuto, Pixel, Star, SizeToCells 또는 SizeToHeader이 아닌 경우

또는

desiredValueNegativeInfinity 또는 PositiveInfinity입니다.

또는

displayValueNegativeInfinity 또는 PositiveInfinity입니다.

적용 대상