protected override object GetProviderPropertyValue (int propertyId)
{
// NOTDOTNET: Using DataGrid instead of Table
if (propertyId == AutomationElementIdentifiers.ControlTypeProperty.Id)
return ControlType.DataGrid.Id;
else if (propertyId == AutomationElementIdentifiers.IsKeyboardFocusableProperty.Id)
return true;
else
return base.GetProviderPropertyValue (propertyId);
}