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