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
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.