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
- RangeValuePatternIdentifiers.cs
- XmlMessageFormatter.cs
- StylusButtonCollection.cs
- ExpressionWriter.cs
- PageContentAsyncResult.cs
- DataStorage.cs
- StackBuilderSink.cs
- UnsafeNativeMethods.cs
- figurelengthconverter.cs
- Lease.cs
- Expander.cs
- GridToolTip.cs
- KeyBinding.cs
- HitTestParameters.cs
- Region.cs
- ParamArrayAttribute.cs
- OracleParameterBinding.cs
- DiagnosticTraceSource.cs
- SectionInformation.cs
- UserControlDesigner.cs
- DataGridViewRowEventArgs.cs
- IndependentAnimationStorage.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- Floater.cs
- HyperlinkAutomationPeer.cs
- UnaryNode.cs
- OdbcEnvironment.cs
- ParameterSubsegment.cs
- OracleRowUpdatedEventArgs.cs
- EncodingTable.cs
- MostlySingletonList.cs
- ComplexLine.cs
- Brush.cs
- ConfigurationLocation.cs
- ConfigXmlDocument.cs
- XmlNode.cs
- FilterableAttribute.cs
- CompleteWizardStep.cs
- XmlSchemaAnyAttribute.cs
- XmlNamespaceMappingCollection.cs
- unsafeIndexingFilterStream.cs
- _DynamicWinsockMethods.cs
- TypeBuilderInstantiation.cs
- ChtmlLinkAdapter.cs
- OletxTransactionHeader.cs
- HttpContextServiceHost.cs
- WebResourceAttribute.cs
- IxmlLineInfo.cs
- StackSpiller.cs
- GetReadStreamResult.cs
- XmlElementAttributes.cs
- XamlDesignerSerializationManager.cs
- ConfigurationValues.cs
- Pair.cs
- _Win32.cs
- DelegatingHeader.cs
- HttpWebResponse.cs
- MaskInputRejectedEventArgs.cs
- TraceSection.cs
- DataMemberConverter.cs
- PersonalizationProviderHelper.cs
- RIPEMD160Managed.cs
- ZoneButton.cs
- SiteMapProvider.cs
- ModelToObjectValueConverter.cs
- FileLevelControlBuilderAttribute.cs
- X509UI.cs
- DictionaryItemsCollection.cs
- ParentControlDesigner.cs
- ConfigViewGenerator.cs
- LoginUtil.cs
- FlowLayoutPanel.cs
- RegexCaptureCollection.cs
- WizardSideBarListControlItem.cs
- messageonlyhwndwrapper.cs
- XmlSerializerFactory.cs
- Pointer.cs
- MergeExecutor.cs
- AvTrace.cs
- DecimalConstantAttribute.cs
- WindowsToolbarItemAsMenuItem.cs
- JoinGraph.cs
- codemethodreferenceexpression.cs
- DataGridViewRowHeaderCell.cs
- AppDomainGrammarProxy.cs
- ProfileGroupSettings.cs
- URIFormatException.cs
- Graphics.cs
- DoubleAnimationUsingKeyFrames.cs
- CqlIdentifiers.cs
- HtmlTableRowCollection.cs
- ProcessModelInfo.cs
- SamlSubject.cs
- ADMembershipProvider.cs
- TextEditorThreadLocalStore.cs
- TextUtf8RawTextWriter.cs
- _ServiceNameStore.cs
- PEFileReader.cs
- CodeNamespaceImport.cs
- AsyncOperationContext.cs