AmbientProperties 클래스

최상위 컨트롤에 앰비언트 속성 값을 제공합니다.

네임스페이스: System.Windows.Forms
어셈블리: System.Windows.Forms(system.windows.forms.dll)

구문

‘선언
Public NotInheritable Class AmbientProperties
‘사용 방법
Dim instance As AmbientProperties
public sealed class AmbientProperties
public ref class AmbientProperties sealed
public final class AmbientProperties
public final class AmbientProperties

설명

설정되지 않은 앰비언트 속성은 부모 컨트롤로부터 컨트롤 속성을 가져옵니다. 이 컨트롤에 부모가 없고 속성도 설정되어 있지 않은 경우 이 컨트롤은 Site 속성을 통해 앰비언트 속성의 값을 결정합니다. 이 컨트롤이 사이트에 없거나, 사이트에서 앰비언트 속성을 지원하지 않거나 AmbientProperties 개체에 이 속성이 설정되지 않은 경우 이 Control은 기본값을 사용합니다. Control 클래스에서 파생된 일부 개체는 사용자가 이 속성을 설정하지 않은 경우에도 이 속성을 설정합니다. 예를 들어, Form 클래스는 항상 ForeColorBackColor 속성을 설정합니다.

상속 계층 구조

System.Object
  System.Windows.Forms.AmbientProperties

스레드로부터의 안전성

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

참고 항목

참조

AmbientProperties 멤버
System.Windows.Forms 네임스페이스
Control