Style 생성자

정의

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

오버로드

Name Description
Style()

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

Style(Type)

지정된 Style에 사용할 클래스의 Type 새 인스턴스를 초기화합니다.

Style(Type, Style)

지정된 Style 클래스에 사용할 클래스의 Type 새 인스턴스를 초기화하고 지정된 Style인스턴스를 기반으로 합니다.

Style()

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

public:
 Style();
public Style();
Public Sub New ()

설명

이 생성자 호출에는 지연된 유효성 검사 및 TargetType 스타일 형식이 BasedOn 필요합니다. 파서의 컨텍스트 외부에서 사용되는 경우 동작은 정의되지 않습니다.

적용 대상

Style(Type)

지정된 Style에 사용할 클래스의 Type 새 인스턴스를 초기화합니다.

public:
 Style(Type ^ targetType);
public Style(Type targetType);
new System.Windows.Style : Type -> System.Windows.Style
Public Sub New (targetType As Type)

매개 변수

targetType
Type

스타일이 적용되는 형식입니다.

적용 대상

Style(Type, Style)

지정된 Style 클래스에 사용할 클래스의 Type 새 인스턴스를 초기화하고 지정된 Style인스턴스를 기반으로 합니다.

public:
 Style(Type ^ targetType, System::Windows::Style ^ basedOn);
public Style(Type targetType, System.Windows.Style basedOn);
new System.Windows.Style : Type * System.Windows.Style -> System.Windows.Style
Public Sub New (targetType As Type, basedOn As Style)

매개 변수

targetType
Type

스타일이 적용되는 형식입니다.

basedOn
Style

이 스타일을 기반으로 하는 스타일입니다.

적용 대상