TextPointer.GetAdjacentElement(LogicalDirection) 메서드

정의

지정된 논리 방향으로 현재 TextPointer 테두리를 지정하는 요소(있는 경우)를 반환합니다.

public:
 System::Windows::DependencyObject ^ GetAdjacentElement(System::Windows::Documents::LogicalDirection direction);
public System.Windows.DependencyObject GetAdjacentElement(System.Windows.Documents.LogicalDirection direction);
member this.GetAdjacentElement : System.Windows.Documents.LogicalDirection -> System.Windows.DependencyObject
Public Function GetAdjacentElement (direction As LogicalDirection) As DependencyObject

매개 변수

direction
LogicalDirection

LogicalDirection 인접 요소를 검색할 논리적 방향을 지정하는 값 중 하나입니다.

반품

지정된 direction요소의 인접 요소이거나 null 인접 요소가 없는 경우

설명

반환된 요소는 일반적으로 .입니다 TextElement. 요소 또는 요소 내의 TextPointer 위치를 나타내는 경우 A UIElementBlockUIContainer 반환할 InlineUIContainer 수 있습니다.

적용 대상

추가 정보