TextPointer.GetAdjacentElement(LogicalDirection) Yöntem

Tanım

Varsa, geçerli TextPointer belirtilen mantıksal yönde sınırlayan öğesini döndürür.

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

Parametreler

direction
LogicalDirection

LogicalDirection Bitişik bir öğenin arandığı mantıksal yönü belirten değerlerden biri.

Döndürülenler

Belirtilen directioniçindeki bitişik öğe veya null bitişik öğe yoksa.

Açıklamalar

Döndürülen öğe genellikle bir TextElementöğesidir. bir UIElement öğenin veya TextPointer öğenin içindeki BlockUIContainer konumu gösterdiğinde InlineUIContainer döndürülebilir.

Şunlara uygulanır

Ayrıca bkz.