KeyboardNavigation.SetAcceptsReturn(DependencyObject, Boolean) 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.
Sets the value of the AcceptsReturn attached property for the specified element.
public:
static void SetAcceptsReturn(System::Windows::DependencyObject ^ element, bool enabled);
public static void SetAcceptsReturn (System.Windows.DependencyObject element, bool enabled);
static member SetAcceptsReturn : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetAcceptsReturn (element As DependencyObject, enabled As Boolean)
Parameters
- element
- DependencyObject
The element to write the attached property to.
- enabled
- Boolean
The property value to set.
Exceptions
element
is null
.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.