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
- RightsController.cs
- ScrollItemPattern.cs
- ReaderWriterLockSlim.cs
- OdbcDataAdapter.cs
- VirtualPathProvider.cs
- IItemContainerGenerator.cs
- SiteMapProvider.cs
- SecurityDocument.cs
- XLinq.cs
- StickyNoteAnnotations.cs
- GridViewPageEventArgs.cs
- NativeMethods.cs
- SR.cs
- Pkcs7Recipient.cs
- DictionaryTraceRecord.cs
- graph.cs
- XamlGridLengthSerializer.cs
- BackStopAuthenticationModule.cs
- DecoderExceptionFallback.cs
- FileInfo.cs
- InstanceContext.cs
- GradientSpreadMethodValidation.cs
- Guid.cs
- ProgressBar.cs
- Style.cs
- DataServiceEntityAttribute.cs
- AssociatedControlConverter.cs
- Line.cs
- _NtlmClient.cs
- Literal.cs
- RegexWorker.cs
- CreateParams.cs
- BackoffTimeoutHelper.cs
- TextSpanModifier.cs
- StorageScalarPropertyMapping.cs
- ListViewHitTestInfo.cs
- NetworkInformationPermission.cs
- EntityModelBuildProvider.cs
- DefaultBindingPropertyAttribute.cs
- RequiredAttributeAttribute.cs
- DataGridViewCellStyleConverter.cs
- InvokeMethod.cs
- ListBox.cs
- PackagePart.cs
- WebPartConnectionsCloseVerb.cs
- Panel.cs
- AsymmetricKeyExchangeDeformatter.cs
- SessionSwitchEventArgs.cs
- WebPartTransformerCollection.cs
- TagPrefixInfo.cs
- ToolTip.cs
- DbConnectionPoolGroup.cs
- ItemsPresenter.cs
- UIElement.cs
- CaretElement.cs
- SecurityKeyIdentifierClause.cs
- ISAPIApplicationHost.cs
- MultilineStringConverter.cs
- ToolStripSeparatorRenderEventArgs.cs
- SmtpSection.cs
- ProjectionPath.cs
- Font.cs
- AttributeEmitter.cs
- ToolStripMenuItem.cs
- PrivateFontCollection.cs
- EntitySqlException.cs
- DiscriminatorMap.cs
- TraceHandlerErrorFormatter.cs
- HttpListenerPrefixCollection.cs
- ChameleonKey.cs
- SymDocumentType.cs
- GACMembershipCondition.cs
- TypeConverter.cs
- EndSelectCardRequest.cs
- Propagator.Evaluator.cs
- ListSourceHelper.cs
- TableLayoutPanel.cs
- PriorityQueue.cs
- MouseActionConverter.cs
- HttpProtocolReflector.cs
- WebSysDisplayNameAttribute.cs
- GZipStream.cs
- TextEndOfParagraph.cs
- SqlDataSourceCommandParser.cs
- MouseGesture.cs
- WebBrowserUriTypeConverter.cs
- PrintControllerWithStatusDialog.cs
- HandledMouseEvent.cs
- ProfileSettingsCollection.cs
- Converter.cs
- TimeoutValidationAttribute.cs
- InstanceKeyCompleteException.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Transform3DGroup.cs
- PageAction.cs
- WindowProviderWrapper.cs
- WpfPayload.cs
- AudioDeviceOut.cs
- Win32.cs
- AsymmetricKeyExchangeFormatter.cs