FrameworkElement.MinHeight 속성
정의
요소의 최소 높이 제약 조건을 가져오거나 설정합니다.Gets or sets the minimum height constraint of the element.
public:
property double MinHeight { double get(); void set(double value); };
[System.ComponentModel.TypeConverter(typeof(System.Windows.LengthConverter))]
[System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)]
public double MinHeight { get; set; }
member this.MinHeight : double with get, set
Public Property MinHeight As Double
속성 값
요소의 최소 높이(디바이스 독립적 단위(단위당 1/96인치)device-independent units (1/96th inch per unit))입니다.The minimum height of the element, in 디바이스 독립적 단위(단위당 1/96인치)device-independent units (1/96th inch per unit). 기본값은 0.0입니다.The default value is 0.0. 이 값은 0.0보다 크거나 같은 임의의 값일 수 있습니다.This value can be any value equal to or greater than 0.0. 그러나 PositiveInfinity 및 NaN은 올바르지 않습니다.However, PositiveInfinity is NOT valid, nor is NaN.
- 특성
설명
높이 정보를 지정 하는 FrameworkElement에 대 한 세 가지 속성 중 하나입니다.This is one of three properties on FrameworkElement that specify height information. 다른 두 가지 Height MaxHeight됩니다.The other two are Height and MaxHeight. 이러한 값 간에 충돌이 발생 하는 경우를 실제 높이 결정에 대 한 애플리케이션의 순서 MinHeight 다음을 적용할 수 있어야 MaxHeight, 마지막으로 범위 내에 있는 이러한 각 경우 Height합니다.If there is a conflict between these values, the order of application for actual height determination is first MinHeight must be honored, then MaxHeight, and finally if each of these are within bounds, Height.
에 대 한 값 제한 합니다 Double 값에 의해 적용 되는 ValidateValueCallback 메커니즘입니다.The value restrictions on the Double value are enforced by a ValidateValueCallback mechanism. 잘못 된 값을 설정 하려고 하면 런타임 예외가 throw 됩니다.If you attempt to set an invalid value, a run-time exception is thrown.
XAML 특성 사용XAML Attribute Usage
<object MinHeight="double"/>
또는-or-
<object MinHeight="qualifiedDouble"/>
XAML 값XAML Values
doubledouble
Double
0.0 보다 크거나 같은 Double 값의 문자열 표현입니다.String representation of a Double value equal to or greater than 0.0. 이것은 디바이스 독립적 단위(1/96인치)device-independent unit (1/96th inch) 측정 합니다.This is interpreted as a 디바이스 독립적 단위(1/96인치)device-independent unit (1/96th inch) measurement. 문자열 소수점이 하를 명시적으로 포함 되지 해야 합니다.Strings need not explicitly include decimal points. 예를 들어 값 1
허용 됩니다.For instance a value of 1
is acceptable.
동일한 Double 속성 값 섹션에서 설명한 것 처럼 범위 제한 사항이 적용 됩니다.The same Double range restrictions as mentioned in the Property Value section apply.
qualifiedDoublequalifiedDouble
A 이중 단위 선언 문자열 중 하나에서 다음 위에서 설명한 대로 값: px
, in
, cm
, pt
합니다.A double value as described above, followed by one of the following unit declaration strings: px
, in
, cm
, pt
.
px
(기본값) 디바이스 독립적 단위(단위당 1/96인치)device-independent units (1/96th inch per unit)px
(default) is 디바이스 독립적 단위(단위당 1/96인치)device-independent units (1/96th inch per unit)
in
인치; 1에서 96px = =in
is inches; 1in==96px
cm
센티미터; 1cm==(96/2.54) pxcm
is centimeters; 1cm==(96/2.54) px
pt
포인트; 1pt==(96/72) pxpt
is points; 1pt==(96/72) px
종속성 속성 정보Dependency Property Information
식별자 필드Identifier field | MinHeightProperty |
메타 데이터 속성 설정 true Metadata properties set to true |
AffectsMeasure |