Share via


XamlBindingHelper 클래스

정의

데이터 바인딩에 대한 도우미 메서드를 제공합니다.

public ref class XamlBindingHelper sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class XamlBindingHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class XamlBindingHelper
Public NotInheritable Class XamlBindingHelper
상속
Object Platform::Object IInspectable XamlBindingHelper
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

이 클래스는 XAML 컴파일러에서 생성되는 코드에서 사용할 수 있습니다.

XAML 연결 속성

XamlBindingHelper는 XAML 연결된 속성의 호스트 서비스 클래스입니다. 이러한 연결된 속성을 사용하면 자식 요소가 Grid 부모에 배치되는 방법을 보고할 수 있습니다.

연결된 속성에 대한 XAML 프로세서 액세스를 지원하고 동등한 getset 작업을 코드에 노출하기 위해 연결된 각 XAML 속성에는 Get 및 Set 접근자 메서드 쌍이 있습니다. 코드에서 값을 얻거나 설정하는 또 다른 방법은 GetValue 또는 SetValue 를 호출하고 식별자 필드를 종속성 속성 식별자로 전달하는 종속성 속성 시스템을 사용하는 것입니다.

연결된 속성 설명
DataTemplateComponent 데이터 템플릿 구성 요소를 가져오거나 설정합니다.

속성

DataTemplateComponentProperty

DataTemplateComponent 연결된 속성을 식별합니다.

연결된 속성

DataTemplateComponent

데이터 템플릿 구성 요소를 가져오거나 설정합니다.

메서드

ConvertValue(TypeName, Object)

값을 원본 형식에서 대상 형식으로 변환합니다.

GetDataTemplateComponent(DependencyObject)

대상 요소에 대한 DataTemplateComponent XAML 연결 속성의 값을 가져옵니다.

ResumeRendering(UIElement)

지정된 요소의 렌더링을 다시 시작합니다.

SetDataTemplateComponent(DependencyObject, IDataTemplateComponent)

대상 요소에 대한 DataTemplateComponent XAML 연결 속성의 값을 설정합니다.

SetPropertyFromBoolean(Object, DependencyProperty, Boolean)

부울 값에서 DependencyProperty를 설정합니다.

SetPropertyFromByte(Object, DependencyProperty, Byte)

Byte 값에서 DependencyProperty를 설정합니다.

SetPropertyFromChar16(Object, DependencyProperty, Char)

Char 값에서 DependencyProperty를 설정합니다.

SetPropertyFromDateTime(Object, DependencyProperty, DateTime)

DateTime 값에서 DependencyProperty를 설정합니다.

SetPropertyFromDouble(Object, DependencyProperty, Double)

Double 값에서 DependencyProperty를 설정합니다.

SetPropertyFromInt32(Object, DependencyProperty, Int32)

Int32 값에서 DependencyProperty를 설정합니다.

SetPropertyFromInt64(Object, DependencyProperty, Int64)

Int64 값에서 DependencyProperty를 설정합니다.

SetPropertyFromObject(Object, DependencyProperty, Object)

Object 값에서 DependencyProperty를 설정합니다.

SetPropertyFromPoint(Object, DependencyProperty, Point)

Point 값에서 DependencyProperty를 설정합니다.

SetPropertyFromRect(Object, DependencyProperty, Rect)

Rect 값에서 DependencyProperty를 설정합니다.

SetPropertyFromSingle(Object, DependencyProperty, Single)

단일 값에서 DependencyProperty를 설정합니다.

SetPropertyFromSize(Object, DependencyProperty, Size)

Size 값에서 DependencyProperty를 설정합니다.

SetPropertyFromString(Object, DependencyProperty, String)

String 값에서 DependencyProperty를 설정합니다.

SetPropertyFromTimeSpan(Object, DependencyProperty, TimeSpan)

TimeSpan 값에서 DependencyProperty를 설정합니다.

SetPropertyFromUInt32(Object, DependencyProperty, UInt32)

UInt32 값에서 DependencyProperty를 설정합니다.

SetPropertyFromUInt64(Object, DependencyProperty, UInt64)

UInt64 값에서 DependencyProperty를 설정합니다.

SetPropertyFromUri(Object, DependencyProperty, Uri)

Uri 값에서 DependencyProperty를 설정합니다.

SuspendRendering(UIElement)

지정된 요소의 렌더링을 일시 중단합니다.

적용 대상