DataGridView.DataGridViewAccessibleObject.GetFocused 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回具有键盘焦点的 DataGridViewCell 可访问对象。
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
返回
一个 AccessibleObject 指定 DataGridViewCell 具有当前焦点的 null 或没有焦点的 DataGridView 。