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
- ToolStrip.cs
- GeneralTransformGroup.cs
- SessionStateSection.cs
- ControlCollection.cs
- Vector3dCollection.cs
- RowToFieldTransformer.cs
- ImmutableClientRuntime.cs
- CodeAttributeDeclaration.cs
- DesignerExtenders.cs
- DrawingVisual.cs
- DbParameterHelper.cs
- ZoneButton.cs
- TimeSpanMinutesConverter.cs
- latinshape.cs
- StrokeNodeEnumerator.cs
- DetailsView.cs
- SQLBoolean.cs
- MethodResolver.cs
- DirectoryInfo.cs
- XmlValidatingReaderImpl.cs
- ResourceCategoryAttribute.cs
- XamlHostingSectionGroup.cs
- EntityDescriptor.cs
- OperationResponse.cs
- shaper.cs
- SoapAttributeAttribute.cs
- OrderedHashRepartitionStream.cs
- SizeAnimation.cs
- RectangleHotSpot.cs
- DecimalAnimation.cs
- ICspAsymmetricAlgorithm.cs
- RoutedEventHandlerInfo.cs
- ModelPerspective.cs
- WebPartEditVerb.cs
- BoundField.cs
- ReflectTypeDescriptionProvider.cs
- XmlSchemaAny.cs
- NativeObjectSecurity.cs
- MouseOverProperty.cs
- Unit.cs
- HashCodeCombiner.cs
- XmlReader.cs
- BitmapEffectGroup.cs
- DefaultValueTypeConverter.cs
- WebSysDefaultValueAttribute.cs
- SQLDecimalStorage.cs
- StylusPointPropertyInfo.cs
- AssemblyGen.cs
- ClickablePoint.cs
- TextServicesLoader.cs
- PassportIdentity.cs
- GlyphRunDrawing.cs
- Fx.cs
- TimeZone.cs
- DesignerAutoFormatCollection.cs
- filewebrequest.cs
- base64Transforms.cs
- ContextStaticAttribute.cs
- storagemappingitemcollection.viewdictionary.cs
- FontDriver.cs
- Line.cs
- FigureHelper.cs
- ToolboxItemFilterAttribute.cs
- Pkcs7Recipient.cs
- PingOptions.cs
- SafeNativeMethods.cs
- Matrix3DStack.cs
- RegexRunner.cs
- SmiRecordBuffer.cs
- ThrowHelper.cs
- Cursors.cs
- ExtendedPropertyDescriptor.cs
- FloaterBaseParagraph.cs
- PropertyMetadata.cs
- ClockGroup.cs
- SupportsPreviewControlAttribute.cs
- HttpApplicationFactory.cs
- ImageListUtils.cs
- ServiceModelActivationSectionGroup.cs
- ClientApiGenerator.cs
- XmlSchema.cs
- ErrorTableItemStyle.cs
- SystemThemeKey.cs
- XmlAnyElementAttribute.cs
- TickBar.cs
- UInt32Storage.cs
- DirectionalLight.cs
- Pens.cs
- StringPropertyBuilder.cs
- DependencyObject.cs
- JournalEntryListConverter.cs
- RoleBoolean.cs
- TableDesigner.cs
- nulltextcontainer.cs
- WebContext.cs
- RotateTransform.cs
- DecoderFallbackWithFailureFlag.cs
- BinaryNode.cs
- _HeaderInfoTable.cs
- ProtocolsConfiguration.cs