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
- NameNode.cs
- Timer.cs
- PropertyGridCommands.cs
- ManagedWndProcTracker.cs
- PropertyReference.cs
- EntityObject.cs
- ComEventsInfo.cs
- PerformanceCounter.cs
- EventMappingSettings.cs
- AppDomainFactory.cs
- SplitterPanel.cs
- Geometry3D.cs
- VScrollBar.cs
- SoapMessage.cs
- SessionPageStatePersister.cs
- RTLAwareMessageBox.cs
- ErrorWrapper.cs
- AnnotationAuthorChangedEventArgs.cs
- DataSourceHelper.cs
- ReflectionServiceProvider.cs
- Separator.cs
- RequestSecurityToken.cs
- BinaryUtilClasses.cs
- Camera.cs
- QuotedPrintableStream.cs
- DataGridHelper.cs
- CodeIdentifiers.cs
- ContextConfiguration.cs
- ExcCanonicalXml.cs
- Boolean.cs
- XmlAttribute.cs
- MDIControlStrip.cs
- MultipartContentParser.cs
- AutomationPeer.cs
- BitmapCache.cs
- WindowsTreeView.cs
- PropertyConverter.cs
- DebugView.cs
- TimelineGroup.cs
- ConfigurationException.cs
- TraceContext.cs
- Event.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- XmlCodeExporter.cs
- TextShapeableCharacters.cs
- XamlReader.cs
- PersonalizationStateQuery.cs
- HiddenFieldDesigner.cs
- ConfigXmlSignificantWhitespace.cs
- ArgumentException.cs
- InertiaExpansionBehavior.cs
- NullReferenceException.cs
- AssertFilter.cs
- WebPartZoneBase.cs
- ContentPlaceHolder.cs
- CodeEntryPointMethod.cs
- UnknownBitmapDecoder.cs
- SHA256.cs
- OleDbPermission.cs
- MenuItemBindingCollection.cs
- smtppermission.cs
- EpmCustomContentDeSerializer.cs
- ImageAutomationPeer.cs
- StorageConditionPropertyMapping.cs
- XmlWrappingReader.cs
- ReadOnlyObservableCollection.cs
- HideDisabledControlAdapter.cs
- IPHostEntry.cs
- ActivityBuilderHelper.cs
- DataObject.cs
- TableLayoutPanel.cs
- RowParagraph.cs
- UnmanagedMemoryStream.cs
- ListParaClient.cs
- SelectorAutomationPeer.cs
- SafeArrayTypeMismatchException.cs
- HighlightComponent.cs
- PathSegment.cs
- SetterTriggerConditionValueConverter.cs
- NullPackagingPolicy.cs
- StickyNoteHelper.cs
- ClockController.cs
- SelectorItemAutomationPeer.cs
- GridViewRowCollection.cs
- ZoneMembershipCondition.cs
- _AuthenticationState.cs
- EnumCodeDomSerializer.cs
- SessionStateItemCollection.cs
- NetworkAddressChange.cs
- CompModSwitches.cs
- MessageHeaderT.cs
- PropertyChangingEventArgs.cs
- ObjectPersistData.cs
- AsmxEndpointPickerExtension.cs
- SamlSubjectStatement.cs
- Terminate.cs
- SBCSCodePageEncoding.cs
- RoutingExtensionElement.cs
- Convert.cs
- EncryptionUtility.cs