Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlGenericControl.cs / 1305376 / 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; /* * A control representing an unknown Html tag. */ ////// [ConstructorNeedsTag(true)] 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; /* * A control representing an unknown Html tag. */ ////// [ConstructorNeedsTag(true)] 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
- DispatcherExceptionFilterEventArgs.cs
- LinqDataSourceUpdateEventArgs.cs
- Annotation.cs
- ActivityStatusChangeEventArgs.cs
- TextBounds.cs
- GridViewRowPresenter.cs
- ToolStripSplitButton.cs
- updateconfighost.cs
- JavaScriptString.cs
- DiscoveryDocumentReference.cs
- MsmqProcessProtocolHandler.cs
- HelloMessageCD1.cs
- FileDialogCustomPlacesCollection.cs
- X509ImageLogo.cs
- PointLight.cs
- SqlWorkflowPersistenceService.cs
- CodeExporter.cs
- TextHintingModeValidation.cs
- DataGridRowHeader.cs
- ButtonBase.cs
- VisualStateChangedEventArgs.cs
- X500Name.cs
- ColorContextHelper.cs
- DispatcherExceptionFilterEventArgs.cs
- ButtonField.cs
- DataBindingCollection.cs
- ServiceMemoryGates.cs
- UdpDiscoveryEndpointProvider.cs
- OpacityConverter.cs
- DataGridPagerStyle.cs
- ProfileManager.cs
- TCPClient.cs
- Point3DKeyFrameCollection.cs
- StatusBarItem.cs
- RotateTransform.cs
- RepeatBehavior.cs
- BoolExpr.cs
- FixedSOMPage.cs
- TypeResolvingOptionsAttribute.cs
- SqlCacheDependencyDatabaseCollection.cs
- XmlSchemaProviderAttribute.cs
- MetadataAssemblyHelper.cs
- Range.cs
- ReadWriteObjectLock.cs
- ServerIdentity.cs
- SequentialWorkflowRootDesigner.cs
- DataServiceQueryProvider.cs
- TypeDescriptionProviderAttribute.cs
- DataProtection.cs
- ConfigurationLocationCollection.cs
- DoubleConverter.cs
- SqlDataSourceCache.cs
- WebPartActionVerb.cs
- DataColumnCollection.cs
- ObjectStateManager.cs
- DockPanel.cs
- ListenerAdapterBase.cs
- _Win32.cs
- Viewport3DVisual.cs
- _ProxyRegBlob.cs
- SafeReversePInvokeHandle.cs
- ObjectContextServiceProvider.cs
- RunWorkerCompletedEventArgs.cs
- DoubleConverter.cs
- BamlTreeNode.cs
- IndentTextWriter.cs
- RangeValuePattern.cs
- Image.cs
- SqlProviderServices.cs
- MailMessageEventArgs.cs
- Preprocessor.cs
- QilFactory.cs
- XPathDocument.cs
- WindowsTooltip.cs
- FilterableAttribute.cs
- RootProjectionNode.cs
- WebSysDisplayNameAttribute.cs
- XmlDocument.cs
- TraceSwitch.cs
- Html32TextWriter.cs
- ApplicationServiceManager.cs
- LinkConverter.cs
- ClientRoleProvider.cs
- GeneralTransform.cs
- ClientSession.cs
- XappLauncher.cs
- ImageMapEventArgs.cs
- OrderedDictionary.cs
- XmlSchemaIdentityConstraint.cs
- StaticSiteMapProvider.cs
- CfgArc.cs
- RayMeshGeometry3DHitTestResult.cs
- ToolStripDropDownItem.cs
- smtppermission.cs
- DescendantOverDescendantQuery.cs
- Compress.cs
- UserControlBuildProvider.cs
- ProfileSettings.cs
- SqlCommandBuilder.cs
- ValidatingPropertiesEventArgs.cs