KeyboardNavigation.GetAcceptsReturn(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.