Edit

Share via


KeyboardNavigation.GetAcceptsReturn(DependencyObject) Method

Definition

Gets the value of the AcceptsReturn attached property for the specified element.

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

Parameters

element
DependencyObject

The element from which to read the attached property.

Returns

The value of the AcceptsReturn property.

Attributes

Exceptions

element is null.

Applies to

See also