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
- DocumentXmlWriter.cs
- HttpApplicationFactory.cs
- ContainerAction.cs
- ReadOnlyAttribute.cs
- loginstatus.cs
- HealthMonitoringSectionHelper.cs
- BridgeDataRecord.cs
- CollaborationHelperFunctions.cs
- Point4D.cs
- ProjectionRewriter.cs
- SQLUtility.cs
- NotifyIcon.cs
- DataPointer.cs
- EventMappingSettingsCollection.cs
- XPathNodeIterator.cs
- ObjectViewListener.cs
- OrderedEnumerableRowCollection.cs
- DoubleCollectionValueSerializer.cs
- DataSvcMapFile.cs
- SpeakInfo.cs
- ContentHostHelper.cs
- PartialClassGenerationTask.cs
- GPRECT.cs
- PresentationTraceSources.cs
- RSACryptoServiceProvider.cs
- RuleInfoComparer.cs
- UnsafeMethods.cs
- TreeNodeSelectionProcessor.cs
- IntegrationExceptionEventArgs.cs
- ButtonBaseAdapter.cs
- XsdDuration.cs
- AdornedElementPlaceholder.cs
- KeyInstance.cs
- Soap.cs
- MembershipSection.cs
- TimeoutException.cs
- ManagementPath.cs
- sqlstateclientmanager.cs
- SerialReceived.cs
- BackgroundFormatInfo.cs
- MemberInfoSerializationHolder.cs
- ConnectivityStatus.cs
- ClientScriptManager.cs
- ServiceDebugElement.cs
- ScrollChangedEventArgs.cs
- CustomAttributeFormatException.cs
- SecurityStateEncoder.cs
- CollectionViewGroupInternal.cs
- Animatable.cs
- CharStorage.cs
- DataSysAttribute.cs
- WebDescriptionAttribute.cs
- DnsPermission.cs
- PrintingPermissionAttribute.cs
- ChannelSinkStacks.cs
- SessionStateContainer.cs
- HtmlFormWrapper.cs
- SQLDoubleStorage.cs
- WindowsProgressbar.cs
- SocketInformation.cs
- RegexWriter.cs
- TransformationRules.cs
- OdbcPermission.cs
- TableDetailsRow.cs
- CharacterMetrics.cs
- BCryptHashAlgorithm.cs
- RegisteredHiddenField.cs
- RegexCode.cs
- ParameterCollection.cs
- WorkflowApplicationAbortedEventArgs.cs
- CompositeKey.cs
- ApplicationActivator.cs
- ArrayList.cs
- FilterableAttribute.cs
- DecoderExceptionFallback.cs
- SessionStateModule.cs
- SizeKeyFrameCollection.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- XmlSchema.cs
- TextFormatterHost.cs
- WebFormDesignerActionService.cs
- XmlWrappingWriter.cs
- PrimaryKeyTypeConverter.cs
- XmlSchemaAppInfo.cs
- DebuggerAttributes.cs
- EndOfStreamException.cs
- RootNamespaceAttribute.cs
- MultiView.cs
- JournalNavigationScope.cs
- SAPIEngineTypes.cs
- DoneReceivingAsyncResult.cs
- UrlAuthorizationModule.cs
- TypedElement.cs
- XMLSyntaxException.cs
- SqlTypeSystemProvider.cs
- OracleColumn.cs
- XmlSchemaException.cs
- QuaternionKeyFrameCollection.cs
- ContextMenuService.cs
- SQLDateTimeStorage.cs