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
- MultilineStringConverter.cs
- LocalIdKeyIdentifierClause.cs
- OrderedParallelQuery.cs
- DrawListViewItemEventArgs.cs
- HttpServerUtilityBase.cs
- PartialTrustHelpers.cs
- GridViewPageEventArgs.cs
- SQLSingle.cs
- UrlPropertyAttribute.cs
- BaseCodePageEncoding.cs
- ScaleTransform.cs
- ListViewItemCollectionEditor.cs
- DataObjectAttribute.cs
- PackageFilter.cs
- ProviderSettings.cs
- TextRangeEdit.cs
- ChangeDirector.cs
- XmlC14NWriter.cs
- CaretElement.cs
- X509IssuerSerialKeyIdentifierClause.cs
- WindowsRebar.cs
- ProfileSettings.cs
- RegexMatch.cs
- ReflectTypeDescriptionProvider.cs
- ErrorHandler.cs
- ServiceBuildProvider.cs
- UnauthorizedAccessException.cs
- SafeSecurityHelper.cs
- SettingsPropertyIsReadOnlyException.cs
- NoneExcludedImageIndexConverter.cs
- DispatcherProcessingDisabled.cs
- ListViewSelectEventArgs.cs
- AsyncCompletedEventArgs.cs
- DataGridViewComboBoxCell.cs
- ItemsPanelTemplate.cs
- XmlMtomReader.cs
- DataSourceProvider.cs
- filewebresponse.cs
- FigureHelper.cs
- ReflectionHelper.cs
- brushes.cs
- WorkflowPrinting.cs
- DataControlReferenceCollection.cs
- EntityDataSourceEntityTypeFilterItem.cs
- XamlVector3DCollectionSerializer.cs
- ColorTransformHelper.cs
- KeyFrames.cs
- CookieProtection.cs
- WebServiceEnumData.cs
- PointLight.cs
- DropDownList.cs
- DynamicEntity.cs
- ServiceDesigner.xaml.cs
- ContainerUtilities.cs
- CodeVariableDeclarationStatement.cs
- XhtmlTextWriter.cs
- DbDataSourceEnumerator.cs
- WebBrowserNavigatedEventHandler.cs
- ICollection.cs
- XmlStreamStore.cs
- QueryConverter.cs
- TypedReference.cs
- UnsafeNativeMethods.cs
- ResourceAttributes.cs
- EventHandlersStore.cs
- AssemblyUtil.cs
- GlyphsSerializer.cs
- FontSourceCollection.cs
- ColumnClickEvent.cs
- TreeNodeMouseHoverEvent.cs
- DataSetSchema.cs
- ScriptDescriptor.cs
- TextEffectResolver.cs
- PathFigureCollection.cs
- Int64Animation.cs
- DataSourceView.cs
- FileLogRecordHeader.cs
- invalidudtexception.cs
- WebPartConnectionsCloseVerb.cs
- ZoneMembershipCondition.cs
- PromptStyle.cs
- IpcServerChannel.cs
- RenderData.cs
- ArraySet.cs
- QueryRewriter.cs
- MsmqIntegrationReceiveParameters.cs
- SetterBaseCollection.cs
- XmlIlTypeHelper.cs
- SchemaCollectionCompiler.cs
- BlockCollection.cs
- AuthenticationService.cs
- OledbConnectionStringbuilder.cs
- HitTestFilterBehavior.cs
- FileUtil.cs
- Substitution.cs
- ContentFileHelper.cs
- XPathAncestorQuery.cs
- HttpApplication.cs
- ProcessHostServerConfig.cs
- ToolStripGripRenderEventArgs.cs