Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlGenericControl.cs / 1 / HtmlGenericControl.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HtmlGenericControl.cs * * Copyright (c) 2000 Microsoft Corporation */ namespace System.Web.UI.HtmlControls { using System; using System.Collections; using System.ComponentModel; using System.IO; using System.Web.UI; using System.Security.Permissions; /* * A control representing an unknown Html tag. */ ////// [ConstructorNeedsTag(true)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlGenericControl : HtmlContainerControl { /* * Creates a new WebControl */ ////// The ///class defines the methods, /// properties, and events for all HTML Server control tags not represented by a /// specific class. /// /// public HtmlGenericControl() : this("span") { } /* * Creates a new HtmlGenericControl */ ///Initializes a new instance of the ///class with default /// values. /// public HtmlGenericControl(string tag) { if (tag == null) tag = String.Empty; _tagName = tag; } /* * Property to get name of tag. */ ///Initializes a new instance of the ///class using the specified /// string. /// [ WebCategory("Appearance"), DefaultValue(""), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden) ] new public string TagName { get { return _tagName;} set {_tagName = value;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the element name of a tag that contains a /// runat="server" attribute/value pair. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HtmlGenericControl.cs * * Copyright (c) 2000 Microsoft Corporation */ namespace System.Web.UI.HtmlControls { using System; using System.Collections; using System.ComponentModel; using System.IO; using System.Web.UI; using System.Security.Permissions; /* * A control representing an unknown Html tag. */ ////// [ConstructorNeedsTag(true)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlGenericControl : HtmlContainerControl { /* * Creates a new WebControl */ ////// The ///class defines the methods, /// properties, and events for all HTML Server control tags not represented by a /// specific class. /// /// public HtmlGenericControl() : this("span") { } /* * Creates a new HtmlGenericControl */ ///Initializes a new instance of the ///class with default /// values. /// public HtmlGenericControl(string tag) { if (tag == null) tag = String.Empty; _tagName = tag; } /* * Property to get name of tag. */ ///Initializes a new instance of the ///class using the specified /// string. /// [ WebCategory("Appearance"), DefaultValue(""), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden) ] new public string TagName { get { return _tagName;} set {_tagName = value;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the element name of a tag that contains a /// runat="server" attribute/value pair. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextEffect.cs
- Delegate.cs
- AutomationEventArgs.cs
- LinearGradientBrush.cs
- ActivityMarkupSerializationProvider.cs
- BamlLocalizableResourceKey.cs
- NavigationPropertySingletonExpression.cs
- SubpageParagraph.cs
- GeneralTransformGroup.cs
- AssemblyBuilderData.cs
- SpecularMaterial.cs
- OdbcRowUpdatingEvent.cs
- NamespaceEmitter.cs
- InlineUIContainer.cs
- DataAdapter.cs
- XamlParser.cs
- TrackingProfileSerializer.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- Base64Decoder.cs
- ComboBox.cs
- DataControlLinkButton.cs
- WebPartCatalogCloseVerb.cs
- CornerRadius.cs
- ParseNumbers.cs
- CapabilitiesSection.cs
- HttpsHostedTransportConfiguration.cs
- XmlAttributeCollection.cs
- SoapEnumAttribute.cs
- TransportDefaults.cs
- FileDialog.cs
- ViewSimplifier.cs
- JoinElimination.cs
- SafeBitVector32.cs
- InvalidDataException.cs
- PageBreakRecord.cs
- ProxyWebPart.cs
- CoTaskMemHandle.cs
- Encoder.cs
- SqlConnectionHelper.cs
- TextRange.cs
- SHA1CryptoServiceProvider.cs
- ButtonChrome.cs
- TableRow.cs
- ReadOnlyDictionary.cs
- Link.cs
- WindowsFormsSynchronizationContext.cs
- FontWeightConverter.cs
- VoiceSynthesis.cs
- LocalizableAttribute.cs
- SoundPlayerAction.cs
- NetworkCredential.cs
- TextBoxView.cs
- EventWaitHandleSecurity.cs
- NumberFormatInfo.cs
- MessageSecurityException.cs
- ServiceMetadataExtension.cs
- OdbcException.cs
- ComponentDispatcherThread.cs
- HttpCapabilitiesBase.cs
- ImportRequest.cs
- AssemblyAssociatedContentFileAttribute.cs
- PersistChildrenAttribute.cs
- ApplicationCommands.cs
- Source.cs
- ApplyImportsAction.cs
- Point4DValueSerializer.cs
- DecoderFallbackWithFailureFlag.cs
- XsltException.cs
- CodeExpressionStatement.cs
- DataAdapter.cs
- ConfigurationManagerHelperFactory.cs
- BaseTemplateBuildProvider.cs
- SystemTcpStatistics.cs
- CommandField.cs
- SqlNodeAnnotation.cs
- SBCSCodePageEncoding.cs
- SqlBulkCopy.cs
- BindingMAnagerBase.cs
- RightsManagementEncryptedStream.cs
- InstanceData.cs
- IsolatedStorageFileStream.cs
- FacetDescriptionElement.cs
- OutputCacheSection.cs
- ScriptManagerProxy.cs
- IdlingCommunicationPool.cs
- Stylesheet.cs
- XmlNamespaceManager.cs
- MouseGestureConverter.cs
- RewritingProcessor.cs
- PackUriHelper.cs
- PolyLineSegment.cs
- ItemChangedEventArgs.cs
- ITreeGenerator.cs
- SoapSchemaImporter.cs
- Instrumentation.cs
- ViewEvent.cs
- CustomAssemblyResolver.cs
- GroupAggregateExpr.cs
- ConnectionsZoneDesigner.cs
- ThemeDirectoryCompiler.cs