語言

KeyboardNavigation.GetAcceptsReturn(DependencyObject) 方法

定義

取得指定元素附加屬性 AcceptsReturn 的值。

public:
 static bool GetAcceptsReturn(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static bool GetAcceptsReturn(System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetAcceptsReturn : System.Windows.DependencyObject -> bool
Public Shared Function GetAcceptsReturn (element As DependencyObject) As Boolean

參數

element
DependencyObject

讀取附加屬性的元素。

傳回

房產的 AcceptsReturn 價值。

屬性

例外狀況

element 是 null。

適用於

另請參閱