UIPickerView.GetAppearance 메서드

정의

오버로드

GetAppearance(UITraitCollection)

지정된 traits에 대한 모양 프록시를 반환합니다.

GetAppearance(UITraitCollection, Type[])

포함 계층 구조에 있는 경우 지정된 traits 에 대한 모양 프록시를 containers 반환합니다.

GetAppearance<T>(UITraitCollection, Type[])

뷰가 지정된 계층에서 호스트될 때 지정된 특성 컬렉션이 있는 UIPickerView의 하위 클래스에 대한 모양 프록시 UIPickerView.UIPickerViewAppearance 를 가져옵니다.

GetAppearance<T>(UITraitCollection)

UIPickerView의 하위 클래스에 대한 모양 프록시 UIPickerView.UIPickerViewAppearance 를 가져옵니다.

GetAppearance<T>()

UIPickerView의 하위 클래스에 대한 모양 프록시 UIPickerView.UIPickerViewAppearance 를 가져옵니다.

GetAppearance(UITraitCollection)

지정된 traits에 대한 모양 프록시를 반환합니다.

public static UIKit.UIPickerView.UIPickerViewAppearance GetAppearance (UIKit.UITraitCollection traits);
static member GetAppearance : UIKit.UITraitCollection -> UIKit.UIPickerView.UIPickerViewAppearance

매개 변수

반환

적용 대상

GetAppearance(UITraitCollection, Type[])

포함 계층 구조에 있는 경우 지정된 traits 에 대한 모양 프록시를 containers 반환합니다.

public static UIKit.UIPickerView.UIPickerViewAppearance GetAppearance (UIKit.UITraitCollection traits, params Type[] containers);
static member GetAppearance : UIKit.UITraitCollection * Type[] -> UIKit.UIPickerView.UIPickerViewAppearance

매개 변수

containers
Type[]

반환

적용 대상

GetAppearance<T>(UITraitCollection, Type[])

뷰가 지정된 계층에서 호스트될 때 지정된 특성 컬렉션이 있는 UIPickerView의 하위 클래스에 대한 모양 프록시 UIPickerView.UIPickerViewAppearance 를 가져옵니다.

public static UIKit.UIPickerView.UIPickerViewAppearance GetAppearance<T> (UIKit.UITraitCollection traits, params Type[] containers) where T : UIKit.UIPickerView;
static member GetAppearance : UIKit.UITraitCollection * Type[] -> UIKit.UIPickerView.UIPickerViewAppearance (requires 'T :> UIKit.UIPickerView)

형식 매개 변수

T

UIAppearance 프록시를 반환해야 하는 형식입니다. UIPickerView의 하위 클래스입니다.

매개 변수

traits
UITraitCollection

일치시킬 특성 컬렉션입니다.

containers
Type[]

개발자가 이 특정 모양을 적용하기 위해 컨테이너로 포함하려는 형식의 목록입니다.

반환

지정된 형식의 모양 프록시 개체입니다.

설명

반환된 개체는 UIAppearance 프록시를 나타냅니다. 여기서 개발자는 해당 인스턴스가 매개 변수로 지정된 containers 계층에 포함될 때 뷰가 지정된 계층에서 호스트될 때 지정된 특성 컬렉션이 있는 UIPickerView 인스턴스에 대한 모양 속성을 설정할 수 있습니다.

Appearance 속성 또는 AppearanceWhenContainedIn(Type[]) 이 특정 클래스의 인스턴스에서만 작동하는 메서드와 달리 GetAppearance에서 반환된 프록시를 사용하여 서브클래스의 스타일을 변경할 수 있습니다.

다음 예제에서는 GetAppearance 메서드의 작동 방식을 보여 줍니다.

var myTheme = UIPickerView.GetAppearance<MyUIPickerViewSubclass> (myTraits, typeof (UINavigationBar), typeof (UIPopoverController));
myTheme.TintColor = UIColor.Red;

자세한 내용은 클래스에 대한 UIAppearance 설명서를 참조하세요.

적용 대상

GetAppearance<T>(UITraitCollection)

UIPickerView의 하위 클래스에 대한 모양 프록시 UIPickerView.UIPickerViewAppearance 를 가져옵니다.

public static UIKit.UIPickerView.UIPickerViewAppearance GetAppearance<T> (UIKit.UITraitCollection traits) where T : UIKit.UIPickerView;
static member GetAppearance : UIKit.UITraitCollection -> UIKit.UIPickerView.UIPickerViewAppearance (requires 'T :> UIKit.UIPickerView)

형식 매개 변수

T

UIAppearance 프록시를 반환해야 하는 형식입니다. UIPickerView의 하위 클래스입니다.

매개 변수

traits
UITraitCollection

일치시킬 특성 컬렉션입니다.

반환

지정된 형식의 모양 프록시 개체입니다.

설명

반환된 개체는 개발자가 UIPickerView 인스턴스에 대한 모양 속성을 설정할 수 있는 UIAppearance 프록시를 나타냅니다.

Appearance 속성 또는 AppearanceWhenContainedIn(Type[]) 이 특정 클래스의 인스턴스에서만 작동하는 메서드와 달리 GetAppearance에서 반환된 프록시를 사용하여 서브클래스의 스타일을 변경할 수 있습니다.

다음 예제에서는 GetAppearance 메서드의 작동 방식을 보여 줍니다.

var myTheme = UIPickerView.GetAppearance<MyUIPickerViewSubclass> (myTraits, );
myTheme.TintColor = UIColor.Red;

자세한 내용은 클래스에 대한 UIAppearance 설명서를 참조하세요.

적용 대상

GetAppearance<T>()

UIPickerView의 하위 클래스에 대한 모양 프록시 UIPickerView.UIPickerViewAppearance 를 가져옵니다.

public static UIKit.UIPickerView.UIPickerViewAppearance GetAppearance<T> () where T : UIKit.UIPickerView;
static member GetAppearance : unit -> UIKit.UIPickerView.UIPickerViewAppearance (requires 'T :> UIKit.UIPickerView)

형식 매개 변수

T

UIAppearance 프록시를 반환해야 하는 형식입니다. UIPickerView의 하위 클래스입니다.

반환

지정된 형식의 모양 프록시 개체입니다.

설명

반환된 개체에 대한 모양 속성을 설정하면 형식 매개 변수의 모든 클래스 및 서브클래스의 모양에 영향을 줍니다.

Appearance 속성 또는 AppearanceWhenContainedIn(Type[]) 이 특정 클래스의 인스턴스에서만 작동하는 메서드와 달리 GetAppearance에서 반환된 프록시를 사용하여 서브클래스의 스타일을 변경할 수 있습니다.

다음 예제에서는 GetAppearance 메서드의 작동 방식을 보여 줍니다.

var myTheme = UIPickerView.GetAppearance<MyUIPickerViewSubclass> ();
myTheme.TintColor = UIColor.Red;

자세한 내용은 클래스에 대한 UIAppearance 설명서를 참조하세요.

적용 대상