Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / DynamicData / DynamicData / DataControlReference.cs / 1305376 / DataControlReference.cs
namespace System.Web.DynamicData {
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Drawing.Design;
using System.Security.Permissions;
using System.Web.UI;
///
/// Registers a DataControl for use with Dynamic Data
///
public class DataControlReference {
///
/// Dynamic data manager registering the data control
///
[Browsable(false)]
public DynamicDataManager Owner {
get;
internal set;
}
///
/// ControlID of the DataControl
///
[
Category("Behavior"),
DefaultValue(""),
IDReferenceProperty(),
ResourceDescription("DataControlReference_ControlID"),
#if !ORYX_VNEXT
TypeConverter("System.Web.DynamicData.Design.DataControlReferenceIDConverter, " + AssemblyRef.SystemWebDynamicDataDesign),
#endif
SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ID")
]
public string ControlID {
get;
set;
}
[SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
public override string ToString() {
if (String.IsNullOrEmpty(ControlID)) {
return "DataControl";
}
else {
return "DataControl: " + ControlID;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
namespace System.Web.DynamicData {
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Drawing.Design;
using System.Security.Permissions;
using System.Web.UI;
///
/// Registers a DataControl for use with Dynamic Data
///
public class DataControlReference {
///
/// Dynamic data manager registering the data control
///
[Browsable(false)]
public DynamicDataManager Owner {
get;
internal set;
}
///
/// ControlID of the DataControl
///
[
Category("Behavior"),
DefaultValue(""),
IDReferenceProperty(),
ResourceDescription("DataControlReference_ControlID"),
#if !ORYX_VNEXT
TypeConverter("System.Web.DynamicData.Design.DataControlReferenceIDConverter, " + AssemblyRef.SystemWebDynamicDataDesign),
#endif
SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ID")
]
public string ControlID {
get;
set;
}
[SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
public override string ToString() {
if (String.IsNullOrEmpty(ControlID)) {
return "DataControl";
}
else {
return "DataControl: " + ControlID;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RuleProcessor.cs
- SqlMethodTransformer.cs
- UnsafeNativeMethods.cs
- StaticFileHandler.cs
- NewArray.cs
- UrlMappingsModule.cs
- XmlNamespaceManager.cs
- TextTreeRootTextBlock.cs
- StringArrayConverter.cs
- WindowsStatic.cs
- X509AsymmetricSecurityKey.cs
- CodeDirectionExpression.cs
- SessionConnectionReader.cs
- HitTestFilterBehavior.cs
- WebBrowser.cs
- GenericNameHandler.cs
- DirectoryObjectSecurity.cs
- ConstraintCollection.cs
- VisualBasicExpressionConverter.cs
- CommandField.cs
- SystemGatewayIPAddressInformation.cs
- DoWhile.cs
- GuidTagList.cs
- XmlCountingReader.cs
- StringUtil.cs
- WebOperationContext.cs
- DependencyPropertyKind.cs
- SqlDependencyListener.cs
- ScrollProperties.cs
- Substitution.cs
- RubberbandSelector.cs
- ControlAdapter.cs
- TrustManagerPromptUI.cs
- ErrorsHelper.cs
- FieldBuilder.cs
- Choices.cs
- CacheAxisQuery.cs
- ImpersonationContext.cs
- CompilerScopeManager.cs
- _HelperAsyncResults.cs
- ConnectionPoint.cs
- MDIWindowDialog.cs
- ScrollItemPattern.cs
- DataGridViewSelectedRowCollection.cs
- SchemaElement.cs
- SafeBitVector32.cs
- LineBreak.cs
- MasterPage.cs
- RangeValuePattern.cs
- X509ChainPolicy.cs
- TargetParameterCountException.cs
- CodeDOMUtility.cs
- CompositeCollection.cs
- MonitorWrapper.cs
- UInt32Converter.cs
- CodeComment.cs
- AdornerPresentationContext.cs
- ServiceSecurityAuditElement.cs
- ExceptionRoutedEventArgs.cs
- SamlAuthorityBinding.cs
- SizeChangedEventArgs.cs
- NativeMethods.cs
- AdornerDecorator.cs
- ZoneButton.cs
- RelationshipConverter.cs
- PolyLineSegment.cs
- TransformationRules.cs
- ToolStripPanelRow.cs
- X509Chain.cs
- Validator.cs
- SchemaCollectionCompiler.cs
- RotateTransform3D.cs
- SliderAutomationPeer.cs
- SpecularMaterial.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DataSourceHelper.cs
- ObjectQuery.cs
- TreeChangeInfo.cs
- EntityDataSourceQueryBuilder.cs
- SqlReorderer.cs
- FontWeightConverter.cs
- _DynamicWinsockMethods.cs
- DefaultClaimSet.cs
- newinstructionaction.cs
- HttpHandlerActionCollection.cs
- EdmItemCollection.cs
- EnvelopedPkcs7.cs
- PageEventArgs.cs
- DbQueryCommandTree.cs
- ComponentCommands.cs
- ElementAction.cs
- ClientUtils.cs
- WmpBitmapEncoder.cs
- XmlAttributeAttribute.cs
- TrustLevel.cs
- EventData.cs
- IProducerConsumerCollection.cs
- AffineTransform3D.cs
- TypeBinaryExpression.cs
- LineBreakRecord.cs