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
- ItemDragEvent.cs
- StyleCollection.cs
- CompilationUnit.cs
- HostingEnvironmentWrapper.cs
- DragCompletedEventArgs.cs
- ADMembershipUser.cs
- NamespaceList.cs
- SignatureDescription.cs
- HotSpot.cs
- DetailsViewRowCollection.cs
- ConsoleTraceListener.cs
- PersonalizationStateInfoCollection.cs
- ManagedWndProcTracker.cs
- TaskExtensions.cs
- SerializableAttribute.cs
- ListViewInsertEventArgs.cs
- LoginView.cs
- DbConnectionStringBuilder.cs
- TextSpan.cs
- __ComObject.cs
- TextTreeTextElementNode.cs
- DataServiceHost.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- DeclarationUpdate.cs
- LinqExpressionNormalizer.cs
- AutomationAttributeInfo.cs
- BindingElement.cs
- WinEventQueueItem.cs
- Ray3DHitTestResult.cs
- ImageSource.cs
- ChainedAsyncResult.cs
- Tokenizer.cs
- WaveHeader.cs
- StringReader.cs
- PerfCounters.cs
- OleDbTransaction.cs
- PageSettings.cs
- NamespaceImport.cs
- LinkButton.cs
- UIHelper.cs
- DeploymentSection.cs
- ContextMenuStripGroupCollection.cs
- ListenerAdaptersInstallComponent.cs
- DataGridView.cs
- RuntimeIdentifierPropertyAttribute.cs
- PolicyException.cs
- ImportDesigner.xaml.cs
- ContextMenu.cs
- DirectoryObjectSecurity.cs
- OpenTypeCommon.cs
- TableCell.cs
- SrgsElement.cs
- ExtensionsSection.cs
- IMembershipProvider.cs
- AnonymousIdentificationSection.cs
- KeyedCollection.cs
- HttpRuntime.cs
- SerializationException.cs
- HtmlForm.cs
- DataConnectionHelper.cs
- XmlSchemaAnyAttribute.cs
- WindowsListViewItem.cs
- LineInfo.cs
- Utils.cs
- ListViewDataItem.cs
- WarningException.cs
- DataGridRow.cs
- TextTreeRootNode.cs
- KeyValuePairs.cs
- ErrorRuntimeConfig.cs
- Funcletizer.cs
- StreamHelper.cs
- SQLDecimal.cs
- CachedTypeface.cs
- XmlUtil.cs
- SubclassTypeValidator.cs
- NativeMethods.cs
- TreeNodeStyleCollection.cs
- XslCompiledTransform.cs
- PageAsyncTask.cs
- FreezableDefaultValueFactory.cs
- RoleService.cs
- SchemaEntity.cs
- StretchValidation.cs
- XmlIlGenerator.cs
- KeyPullup.cs
- TextTreeFixupNode.cs
- FixUpCollection.cs
- SchemaImporterExtension.cs
- MenuScrollingVisibilityConverter.cs
- ColumnMapTranslator.cs
- _Events.cs
- SymLanguageVendor.cs
- UIElement.cs
- DesignerView.xaml.cs
- TypeSystem.cs
- DefaultMemberAttribute.cs
- SHA512.cs
- XmlSignatureProperties.cs
- ValueExpressions.cs