Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / ConstructorNeedsTagAttribute.cs / 1 / ConstructorNeedsTagAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ConstructorNeedsTagAttribute: Attribute { bool needsTag = false; ///Allows a control to specify that it needs a /// tag name in its constructor. ////// public ConstructorNeedsTagAttribute() { } ///Initializes a new instance of the ///class. /// public ConstructorNeedsTagAttribute(bool needsTag) { this.needsTag = needsTag; } ///Initializes a new instance of the ///class. /// public bool NeedsTag { get { return needsTag; } } } }Indicates whether a control needs a tag in its contstructor. This property is read-only. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Model3DCollection.cs
- SQLBytesStorage.cs
- LockRecoveryTask.cs
- DataGridViewRowsRemovedEventArgs.cs
- WebPageTraceListener.cs
- DefaultPropertyAttribute.cs
- _KerberosClient.cs
- TemplateXamlTreeBuilder.cs
- AnimationException.cs
- XmlCharCheckingWriter.cs
- Debugger.cs
- DbSetClause.cs
- LinqDataSourceEditData.cs
- mactripleDES.cs
- EventRoute.cs
- ModelItemImpl.cs
- Geometry3D.cs
- RtfToken.cs
- ImportedNamespaceContextItem.cs
- UnsafeNetInfoNativeMethods.cs
- ControlType.cs
- ConfigurationStrings.cs
- Vector3dCollection.cs
- NotifyParentPropertyAttribute.cs
- EdmProperty.cs
- Executor.cs
- UpdatableGenericsFeature.cs
- VisualTransition.cs
- RenderCapability.cs
- RepeatBehaviorConverter.cs
- FrameworkElement.cs
- ForEachAction.cs
- ComponentConverter.cs
- DatatypeImplementation.cs
- XmlStreamStore.cs
- StorageMappingFragment.cs
- BooleanToVisibilityConverter.cs
- Expressions.cs
- HijriCalendar.cs
- LoadRetryConstantStrategy.cs
- SerializationInfo.cs
- MemoryFailPoint.cs
- TextClipboardData.cs
- SqlProviderManifest.cs
- PrintControllerWithStatusDialog.cs
- HtmlEmptyTagControlBuilder.cs
- XPathParser.cs
- FolderBrowserDialog.cs
- MemberHolder.cs
- FolderNameEditor.cs
- Interlocked.cs
- NamespaceCollection.cs
- WhitespaceRule.cs
- DependencyPropertyValueSerializer.cs
- ZipIOCentralDirectoryBlock.cs
- CachedTypeface.cs
- SQLBytesStorage.cs
- XmlValueConverter.cs
- SR.Designer.cs
- PropertyRef.cs
- DesignerView.Commands.cs
- ContainerActivationHelper.cs
- UpdatePanelControlTrigger.cs
- FlowDocumentPaginator.cs
- ConnectionStringsExpressionBuilder.cs
- MaskedTextProvider.cs
- SkipStoryboardToFill.cs
- ToolStripAdornerWindowService.cs
- ParseNumbers.cs
- XsdValidatingReader.cs
- SoapInteropTypes.cs
- EventListener.cs
- SimpleBitVector32.cs
- UIAgentAsyncBeginRequest.cs
- TraceXPathNavigator.cs
- DecoderFallbackWithFailureFlag.cs
- GetPageCompletedEventArgs.cs
- PerformanceCounterPermission.cs
- Cursors.cs
- AnchoredBlock.cs
- TitleStyle.cs
- XmlSchemaImport.cs
- XmlArrayItemAttribute.cs
- SiteMapHierarchicalDataSourceView.cs
- ResourceDictionary.cs
- LOSFormatter.cs
- SyndicationFeedFormatter.cs
- ComboBoxAutomationPeer.cs
- ActivityInfo.cs
- ArrangedElement.cs
- NumberAction.cs
- ClassicBorderDecorator.cs
- PeerDuplexChannel.cs
- SharedConnectionInfo.cs
- DrawingGroupDrawingContext.cs
- TextCollapsingProperties.cs
- ContextMenuAutomationPeer.cs
- ScalarOps.cs
- EntityConnection.cs
- PluralizationServiceUtil.cs