16 instantiations of DesignOnlyAttribute
System (2)
compmod\system\componentmodel\DesignOnlyAttribute.cs (2)
49public static readonly DesignOnlyAttribute Yes = new DesignOnlyAttribute(true); 59public static readonly DesignOnlyAttribute No = new DesignOnlyAttribute(false);
System.Data (6)
fx\src\data\System\Data\Common\DBCommand.cs (1)
97DesignOnly(true),
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
106[DesignOnly(true)]
fx\src\data\System\Data\Common\DBParameter.cs (1)
50DesignOnly(true),
fx\src\data\System\Data\Odbc\OdbcCommand.cs (1)
285DesignOnly(true),
fx\src\data\System\Data\OleDb\OleDbCommand.cs (1)
262DesignOnly(true),
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
730DesignOnly(true),
System.Web.DataVisualization (2)
Common\DataManager\DataPoint.cs (1)
4643 DesignOnlyAttribute(true),
Common\General\Label.cs (1)
823 DesignOnlyAttribute(true),
System.Windows.Forms.DataVisualization (2)
Common\DataManager\DataPoint.cs (1)
4643 DesignOnlyAttribute(true),
Common\General\Label.cs (1)
823 DesignOnlyAttribute(true),
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
2333[DesignOnly(true)]
System.Workflow.ComponentModel (3)
AuthoringOM\Design\CustomActivityDesigner.cs (1)
223[DesignOnly(true)]
AuthoringOM\Design\FreeFormDesigner.cs (2)
1305[DesignOnly(true)] 1334[DesignOnly(true)]
33 references to DesignOnlyAttribute
System (12)
compmod\system\componentmodel\DesignOnlyAttribute.cs (8)
24/// Initializes a new instance of the <see cref='System.ComponentModel.DesignOnlyAttribute'/> class. 49public static readonly DesignOnlyAttribute Yes = new DesignOnlyAttribute(true); 59public static readonly DesignOnlyAttribute No = new DesignOnlyAttribute(false); 63/// Specifies the default value for the <see cref='System.ComponentModel.DesignOnlyAttribute'/>, which is <see cref='System.ComponentModel.DesignOnlyAttribute.No'/>. This <see langword='static'/> field is 67public static readonly DesignOnlyAttribute Default = No; 81DesignOnlyAttribute other = obj as DesignOnlyAttribute;
compmod\system\componentmodel\MemberDescriptor.cs (3)
247/// design time as specified in the <see cref='System.ComponentModel.DesignOnlyAttribute'/>. 252return(DesignOnlyAttribute.Yes.Equals(Attributes[typeof(DesignOnlyAttribute)]));
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
1184attrs = new Attribute[] {DesignOnlyAttribute.Yes};
System.Web.Mobile (3)
UI\MobileControls\Design\MobileControlPersister.cs (3)
529DesignOnlyAttribute doAttr = (DesignOnlyAttribute)properties[i].Attributes[typeof(DesignOnlyAttribute)];
System.Workflow.Activities (11)
Designers\InvokeWebServiceDesigner.cs (1)
76properties["URL"] = new WebServiceUrlPropertyDescriptor(Activity.Site, TypeDescriptor.CreateProperty(this.GetType(), "URL", typeof(string), DesignOnlyAttribute.Yes, MergablePropertyAttribute.No));
EventSinkActivity.cs (1)
477PropertyDescriptor prop = new ParameterInfoBasedPropertyDescriptor(typeof(HandleExternalEventActivity), param, true, DesignOnlyAttribute.Yes);
InvokeMethodActivity.cs (1)
276PropertyDescriptor prop = new ParameterInfoBasedPropertyDescriptor(typeof(CallExternalMethodActivity), param, true, DesignOnlyAttribute.Yes);
InvokeWebService.cs (2)
405prop = new ParameterInfoBasedPropertyDescriptor(typeof(InvokeWebServiceActivity), paramInfo, false, DesignOnlyAttribute.Yes); 407prop = new ParameterInfoBasedPropertyDescriptor(typeof(InvokeWebServiceActivity), paramInfo, InvokeWebServiceActivity.ReservedParameterNames.Contains(paramInfo.Name), DesignOnlyAttribute.Yes);
Rules\Design\LogicalExpressionTypeConverter.cs (3)
52newProps.Add(new RuleConditionReferenceNamePropertyDescriptor(context, TypeDescriptor.CreateProperty(typeof(RuleConditionReference), "ConditionName", typeof(string), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content), DesignOnlyAttribute.Yes))); 53newProps.Add(new RuleConditionReferencePropertyDescriptor(context, TypeDescriptor.CreateProperty(typeof(RuleConditionReference), "Expression", typeof(CodeExpression), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content), DesignOnlyAttribute.Yes))); 176newProps.Add(new RuleSetPropertyDescriptor(site, TypeDescriptor.CreateProperty(typeof(RuleSet), "RuleSet Definition", typeof(RuleSet), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content), DesignOnlyAttribute.Yes)));
WebServiceReceive.cs (1)
464PropertyDescriptor prop = new ParameterInfoBasedPropertyDescriptor(typeof(WebServiceInputActivity), paramInfo, true, DesignOnlyAttribute.Yes);
WebServiceResponse.cs (2)
278prop = new ParameterInfoBasedPropertyDescriptor(typeof(WebServiceOutputActivity), paramInfo, false, DesignOnlyAttribute.Yes); 280prop = new ParameterInfoBasedPropertyDescriptor(typeof(WebServiceOutputActivity), paramInfo, true, DesignOnlyAttribute.Yes);
System.Workflow.ComponentModel (5)
AuthoringOM\Design\WorkflowInlining.cs (1)
404PropertyDescriptor prop = new ParameterInfoBasedPropertyDescriptor(Type.GetType(InvokeWorkflowRef), parameterProperty.Name, parameterProperty.PropertyType, ReservedParameterNames.Contains(parameterProperty.Name), DesignOnlyAttribute.Yes);
AuthoringOM\Serializer\CompositeActivityTypeDescriptor.cs (2)
34if (attributes != null && attributes.Length == 1 && attributes[0] is DesignOnlyAttribute && !(attributes[0] as DesignOnlyAttribute).IsDesignOnly)
AuthoringOM\Serializer\SerializableTypeCodeDomSerializer.cs (2)
90SerializeProperties(manager, statements, value, new Attribute[] { DesignOnlyAttribute.No }); 91SerializeEvents(manager, statements, value, new Attribute[] { DesignOnlyAttribute.No });
System.WorkflowServices (2)
System\Workflow\Activities\ReceiveActivity.cs (1)
802param, true, DesignOnlyAttribute.Yes);
System\Workflow\Activities\SendActivity.cs (1)
481param, true, DesignOnlyAttribute.Yes);