Property attribute depending on Windows version
See the question and my original answer on StackOverflowYou could try something like this, before showing the property grid object:
if (IsWindows8()
{
TypeDescriptor.AddAttributes(typeof(Encoding), new BrowsableAttribute(false));
}
propertyGrid1.SelectedObject = myObject;