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
- ConfigurationPropertyCollection.cs
- ImageInfo.cs
- Vector3D.cs
- ItemCheckedEvent.cs
- ActivationServices.cs
- FixedSOMImage.cs
- ToolStripContentPanelRenderEventArgs.cs
- XmlHierarchicalEnumerable.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- BordersPage.cs
- SiteMapSection.cs
- ContextQuery.cs
- RecognizedAudio.cs
- ThemeableAttribute.cs
- TreeViewHitTestInfo.cs
- PartialCachingControl.cs
- XamlParser.cs
- WebPartPersonalization.cs
- SQLDateTime.cs
- MsmqUri.cs
- ImmutableObjectAttribute.cs
- GuidelineSet.cs
- Vector3DKeyFrameCollection.cs
- EnumConverter.cs
- PackWebRequestFactory.cs
- LayoutDump.cs
- ContextMenuStripActionList.cs
- DropShadowBitmapEffect.cs
- XmlSchemaObject.cs
- TableLayoutStyleCollection.cs
- TraceLevelStore.cs
- MoveSizeWinEventHandler.cs
- GenericAuthenticationEventArgs.cs
- XPathAncestorIterator.cs
- DoubleConverter.cs
- AuthenticationModulesSection.cs
- DTCTransactionManager.cs
- configsystem.cs
- Hex.cs
- ContourSegment.cs
- SafeIUnknown.cs
- LayoutExceptionEventArgs.cs
- GlobalizationAssembly.cs
- CodeTypeConstructor.cs
- TreeNodeBinding.cs
- KeyEventArgs.cs
- NegatedCellConstant.cs
- ColumnClickEvent.cs
- CodeAttachEventStatement.cs
- SecurityChannelFactory.cs
- TypeConverterAttribute.cs
- WpfKnownType.cs
- ImageInfo.cs
- CreationContext.cs
- HyperLink.cs
- CardSpaceShim.cs
- CompilerWrapper.cs
- DataExpression.cs
- MdiWindowListItemConverter.cs
- CryptoConfig.cs
- CqlLexer.cs
- StrongTypingException.cs
- ScriptResourceHandler.cs
- EdmConstants.cs
- CodeObjectCreateExpression.cs
- ColumnPropertiesGroup.cs
- Drawing.cs
- VariantWrapper.cs
- PrePostDescendentsWalker.cs
- shaperfactoryquerycachekey.cs
- CacheManager.cs
- StatusBarPanel.cs
- EncodingDataItem.cs
- HttpResponseHeader.cs
- QilPatternFactory.cs
- ReadOnlyDataSourceView.cs
- ContainerParagraph.cs
- RectAnimationUsingKeyFrames.cs
- NameValueCollection.cs
- BitmapCodecInfoInternal.cs
- QuaternionRotation3D.cs
- MessageQueueCriteria.cs
- DbConnectionPool.cs
- NetworkInterface.cs
- RowToParametersTransformer.cs
- DataControlFieldCollection.cs
- DataGridViewColumnCollection.cs
- SoapProcessingBehavior.cs
- ApplicationDirectoryMembershipCondition.cs
- ToolStripScrollButton.cs
- HtmlInputControl.cs
- processwaithandle.cs
- IndependentAnimationStorage.cs
- SettingsPropertyValueCollection.cs
- DivideByZeroException.cs
- SetIndexBinder.cs
- DrawingGroup.cs
- ProcessThreadCollection.cs
- WindowsListBox.cs
- hresults.cs