DataGridView.DataGridViewAccessibleObject.GetFocused 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.
Returns the accessible object of the DataGridViewCell that has the keyboard focus.
public:
override System::Windows::Forms::AccessibleObject ^ GetFocused();
public override System.Windows.Forms.AccessibleObject GetFocused ();
public override System.Windows.Forms.AccessibleObject? GetFocused ();
override this.GetFocused : unit -> System.Windows.Forms.AccessibleObject
Public Overrides Function GetFocused () As AccessibleObject
Returns
An AccessibleObject that specifies the DataGridViewCell that has the current focus, or null
if the DataGridView does not have focus.
Applies to
See also
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.