DataGridViewRow.DataGridViewRowAccessibleObject.GetFocused Metoda

Definice

Vrátí přístupný objekt s fokusem klávesnice.

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

Návraty

A DataGridViewCell.DataGridViewCellAccessibleObject , pokud buňka označená CurrentCell vlastností obsahuje fokus klávesnice a je v aktuální DataGridViewRow; jinak , null.

Výjimky

Hodnota Owner vlastnosti je null.

Platí pro

Viz také