protected void UpdateStringOrientationAttributes(bool refresh = false) { Dictionary <string, bool> propertyStates = new Dictionary <string, bool>(1) { { "StringOrientation", TargetPositioning.Equals(TargetPositioningType.Strings) } }; SetBrowsable(propertyStates); if (refresh) { TypeDescriptor.Refresh(this); } }